-
Notifications
You must be signed in to change notification settings - Fork 112
Add missing features to renderForTest Api #1427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c6a5c4a to
0150852
Compare
steve-the-edwards
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could improve the snapshot testing part of WorkflowTurbineTest as we could check the values inside the snapshot. Also i'm confused by one of the tests, but otherwise LGTM!
workflow-testing/src/test/java/com/squareup/workflow1/testing/WorkflowTurbineTest.kt
Outdated
Show resolved
Hide resolved
Sure! PR is now updated with your comments address @steve-the-edwards |
f38cf9a to
a9ffe88
Compare
a9ffe88 to
cb733ce
Compare
Description
Addresses issue #1152 : The
launchForTestingapis are deprecated and there's some extra work to bring all the missing features fromlaunchForTestingto therenderForTestapi. This PR addresses addresses the first two of four left over work streams to fully deprecate the old api namely:It also adds the functionality for
which were important parts of the usage of the old api.
I still plan to do some work use the Adapter/Facade pattern to make
launchForTestinguserenderForTestunder the hood in order to achieve goal 3, but that would be a separate PR.