ChangeLog
v2.0.1 - Released 3/9/2023
- Update junit4 rule to ensure teardown is called even when the test fails/throws
- All dependencies are now created when the mockspresso instance is ensured (not just those required by real objects)
v2.0.0 - Released 12/30/2022
- Update junit5 -> 5.9.1
- Update dagger2 -> 2.44.2
- Update mockito -> 4.11.0
- Update mockk -> 1.13.3
- Build configuration updates
v2.0.0-rc2 - Released 12/17/2022
- Added
fun MockspressoProperties.addDynamicObjectMaker
v2.0.0-rc1 - Released 10/24/2022
v2.0.0-alpha06 - Released 10/23/2022
- Build system updates (no code changes)
v2.0.0-alpha05 - Released 3/13/2022
- Renamed package from
com.episode6.mxo2
-> com.episode6.mockspresso2
for clarity
v2.0.0-alpha04 - Released 3/6/2022
- Transition from git-flow to trunk based development / releases
v2.0.0-alpha03 - Released 2/26/2022
- Tweak lambda syntax in
realInstance
/ realImpl
extension functions so receiver is used instead of parameter.
v2.0.0-alpha02 - Released 2/24/2022
- Remove mention of
Dependencies
and real object interceptors from the standard extension functions in the api. The
interceptors specifically are a bit too powerful and easy to mis-use / misunderstand. Replace the interceptors with
simple init blocks. Both the interceptors and dynamic Dependencies
are available in the interface methods.
- Renamed interface method
realImplementation
to interceptRealImplementation
to differentiate it from the extension
functions (which retain their old names), since the intentions of the two lambdas are totally different.
v2.0.0-alpha01 - Released 2/21/2022
- Complete kotlin-multiplatform rewrite of mockspresso