-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce static singleton object spying with real-method-call and st…
…rict-stub default behaviour (#392) * The reworking of discovering the version supports resolving the `version.properties` file, when referencing this project i.e. `mockito-scala`, from another project in the developer's workspace * Found the right places for tests: 1. Includes auto-verification within a session for unnecessary stubs; strictness is applied by default via implicits 2. Proof that real methods are called when not stubbed * Refactored/de-duped the implementation * New SBT/Scala version and/or additional checks cause CircleCI to fail; `sbt test` runs green locally. * Added convenience implicits and documentation explaining the intended use
- Loading branch information
1 parent
afc0822
commit 398e0f2
Showing
5 changed files
with
170 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters