Releases: mockk/mockk
Releases · mockk/mockk
MockK v1.5.2
- #5 fixing spyk for base classes
- two spyk methods
- null-ability at answer
- callOriginal answer
MockK v1.5.1
- auto-hinting
- minor changes in API
MockK v1.5
- byte code inlining
- static mocks
- refactoring
- few breaking API changes
MockK v1.4.2
- hiding MockKDsl functions
- warn on final methods that they are not intercepted
MockK v1.4.1
- quickfix for dependency issue #3
MockK v1.4
- splitting DSL to separate module
- DSL module is both compilable by JS and Java Kotlin compiler
- converted TestSuite to Javascript
- JS development is blocked by inconvenient toolset (basically don't know how to run test suite)
- @yannickvg fixed "verify(exactly = 0)" case. Thanks! #2
- added withInstanceFactory to specify how to instantiate objects
MockK v1.3
- run verification matcher
- TestNG support
- names for mocks
- moreInterfaces for mocks
- separation of nullable from non-nullable matchers
- better co-routines support
- better lambdas support
- better exception messages
MockK v1.2
- any, invoke and assert matchers
- exception handling in every/verify blocks
- MockJUnit4Runner now supports filtering
- other minor changes
MockK v1.1
- better web-site design
- better installation
MockK v1.0
First MockK release.
Features:
- removing finals (via Java Agent)
- pure kotlin mocking DSL
- partial arguments matchers
- chained calls / deep stubs
- matcher expressions
- mocking coroutines
- capturing lambdas
- bunch of matchers
- few verification modes