Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Kotest #122

Closed
6 tasks done
nedtwigg opened this issue Jan 24, 2024 · 1 comment
Closed
6 tasks done

Add support for Kotest #122

nedtwigg opened this issue Jan 24, 2024 · 1 comment
Labels
enhancement New feature or request jvm

Comments

@nedtwigg
Copy link
Member

nedtwigg commented Jan 24, 2024

If you are only using Kotest with JUnit5, then Selfie will work perfect out of the box with selfie-runner-junit5.

If you want, you can instead use selfie-runner-kotest. This has the slight disadvantage that you will have to register selfie with Kotest, while selfie-runner-junit5 requires no registration. But it has the advantage that it works with Kotlin Multiplatform, so you can take your selfies anywhere that Kotlin and Selfie can run.

Other differences between selfie-runner-kotest and selfie-runner-junit5

  • system property selfie.settings -> env SELFIE_SETTINGS

This issue is tracking the completion of the JVM version of selfie-runner-kotest. For JS, see #186. Other platforms are welcome as well.

@nedtwigg nedtwigg added the enhancement New feature or request label Jan 24, 2024
@nedtwigg nedtwigg mentioned this issue Jan 24, 2024
3 tasks
@nedtwigg nedtwigg added the jvm label Jan 28, 2024
@nedtwigg
Copy link
Member Author

nedtwigg commented Feb 10, 2024

There's two approaches:

Documenting this will be a bit tricky...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jvm
Projects
None yet
Development

No branches or pull requests

1 participant