-
Couldn't load subscription status.
- Fork 1.4k
Mock improvements #2000
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
Mock improvements #2000
Conversation
edbadf6 to
c4ace7c
Compare
b139f32 to
1c108d1
Compare
|
Will provide updates to documentation as a seperate PR. |
… API, drop Service container for method tags
1c108d1 to
571a716
Compare
|
@adamgfraser Ready for review. |
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.
This looks great! It makes mocking easier to use, and I love the move to ZIO Test for the internal tests. A couple of questions / comments on the use of implicits and if we can make them a little less "magical". Other than that just a few minor typos.
dfce174 to
b57e92a
Compare
b57e92a to
b49e216
Compare
|
@adamgfraser I think it's ready to be merged. |
* Rename succeed to empty & add doc * Rename MockSpec to Expectation, improve type inference, expose better API, drop Service container for method tags * Refactor ExpectationSpec to ZIO Test * Variance typos * Code review * Add shapeless attribution
* Rename succeed to empty & add doc * Rename MockSpec to Expectation, improve type inference, expose better API, drop Service container for method tags * Refactor ExpectationSpec to ZIO Test * Variance typos * Code review * Add shapeless attribution
expectsNothingutility method.MockSpectoExpectationManaged[Nothing, Module]hintServicecontainer for tags