You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Selfie just released its `1.2.0` version which added support for Kotest.
- add
`testImplementation("com.diffplug.selfie:selfie-runner-junit5:1.2.0")`
- add `override fun extensions() = listOf(SelfieExtension(this))` to
your `AbstractProjectConfig`
- do snapshot testing! https://github.com/diffplug/selfie
It's written in KMP, but there are some stubs which have only been
implemented for JVM so far. If anyone is interested in helping with
other platforms:
- diffplug/selfie#186
Also perhaps of interest to Kotest folks:
- diffplug/selfie#214
JS seems like the easiest next step, but PRs for native platforms are welcome too!
selfie-lib
, move tests fromjvmTest
tocommonTest
one by one and implement the missing partcommonTest
, here is a suggested order for the 5 which are stuck injvmTest
LineReaderTest
,SnapshotValueReaderTest
,SnapshotReaderTest
,SnapshotFileTest
(sequentially in one PR)RecordCallTest
in its own PR, perhaps needs to stay platform-specificselfie-runner-kotest
search forTODO: https://github.com/diffplug/selfie/issues/186
HarnessVerifyTest
out ofjvmTest
and intocommonTest
The text was updated successfully, but these errors were encountered: