All notable changes to this project will be documented in this file.
- Bump kotlin to 1.9.22
- Bump Gradle to 8.5
- Fix issue when fetch src directory from jvm projects
- Fix missed calls recorded by InvocationRecorder switching to ConcurrentMutableMap to record methods calls
- Fix ksp code generation for non-jvm target
- Refactoring publication and configuration logic
- Bumping dependencies and migration to Kotlin 1.9.10
- Cleaning up in favor of new Kotlin/Native memory model
TestMode
is deprecated now since we don't need to run on Local or Multithreaded modes anymore- Removing stately isolate and replacing with
stately-concurrent-collections
- Fixed publication
- Fixed publication
- Catching up with latest dependencies
- Deprecated old memory model support
- Workaround issue where mock and spy cache was not invalidated properly
- Adding doc for
delegate
and removed return type where not needed
- Adding support for suspend functions on spy code generation
- Support Spies code generation ( suspend functions are not supported )
- Adding test to cover code generation regression using Ksp
- Fixing double mock generation crash
- Bumping dependencies and migration to Kotlin 1.7.10
- Support mock generation for interfaces with generics
- MockingBird plugin support ksp codegen out of the box of google ksp plugin is applied
- Introduced Ksp code generation using the @Mock annotation
- Fix for mock generation to set the right visibility
- breaking Fix issue #116, if you are generate Mocks manually you need to
override
public val uuid: String
likeoverride val uuid: String by uuid()
if you are using the plugin no changes are required on your side -
- Fix issue: #109, Stale mocks are not always removed.
- Reduce dependencies of
generateMocks
task and make sure mocks are always generated prior to building tests
- Kotlin to 1.6.21
- Jacoco to 0.8.8
- AtomicFu to 0.17.2
- kotlinPoet to 1.11.0
- kotlinxMetadata to 0.4.2
- mockk to 1.12.3
- Fix issues #86 and #113
- Kotlin 1.5+ required to use the code generation plugin
- XCode 12.5.+ now required
- yarn.lock has been added to VCS
- Gradle to 7.3.3
- Kotlin to 1.6.10
- AtomicFu to 0.17.0
- KotlinPoet to 1.10.2 and addressed breaking changes
- Kotlin metadata to 0.2.0
- Fixed issue that was preventing the plugin from been applied in the
plugins
block - Converted
build.gradle
s tobuild.gradle.kts
- Upgrade kotlin to 1.5.31 in JsPlugin
- MockingBird plugin
- Support for iosSimulatorArm64
- HMPP support
- Added support to capture objects and lists while running a test with LOCAL_THREAD mode
- [DEPRECATED]
Slot()
useslot()
instead - [DEPRECATED]
CapturedList()
usecapturedList()
instead
- breaking If there are multiple mocked responses matching a mock invocation, the one that was added last will be used
- Introduced testing mode, before the behavior was always MULTI_THREAD now it is possible to set LOCAL_THREAD mode to avoid argument freeze on mock invocation
- Migrating to Gradle Version Catalog and removed Deps
- Bump gradle to 7.2
- Upgrade kotlin to 1.5.31
- Upgrade AtomicFu to 0.16.3
- Upgrade Stately to 1.1.10-a1
- Enabled warnings as errors
- Enabled
explictApi()
mode - Upgrade kotlin to 1.5.21
- Upgrade AtomicFu 0.16.2
- Upgrade Kotlin 1.5.10
- Upgrade Kotlin 1.5.0
- Support for IR compiler
- Upgrade Stately 1.1.7-a1
- Upgrade AtomicFu 0.16.1
- Add typed argument getter to Invocation
- Upgrade Kotlin 1.4.32
- Upgrade Stately 1.1.6-a1
- Upgrade AtomicFu 0.15.2
- Upgrade Kotlin 1.4.21
- Included fix done in version (1.4.1)
- Upgrade Kotlin 1.4.20
- Upgrade Kotlin 1.4.0
- Fixed issue where mocking a dependency was freezing the mock as well
- Added support for timeout during
verify
- Added more info when not mocked response
- Added
CapturedList
class to support capture mutable arguments inverify
function
- Supporting Javascript for nodeJs without browser
- Added
spy
function to support spy operation - Enforced type safety for all function, now you will get type error before runtime if you try to
verify
a non Mock
- Renaming
threadedTest
torunOnWorker
- Adding support for multithreaded tests (experimental, only mock calls are supported from different thread)
- Fixed Expected , actual reversed
- Fixed issue where
threadedTest
was running the body twice
mockUnit
functionmock
functionevery
functioneveryAnswer
functionslot
featureany
matcher