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

Integration with Testcontainers #1353

Closed
JoonasC opened this issue Apr 5, 2020 · 4 comments
Closed

Integration with Testcontainers #1353

JoonasC opened this issue Apr 5, 2020 · 4 comments
Labels
enhancement ✨ Suggestions for adding new features or improving existing ones.
Milestone

Comments

@JoonasC
Copy link

JoonasC commented Apr 5, 2020

Testcontainers is a tool that can dynamically spin up docker containers to be used in tests.
This can be useful for spinning up database containers in integration tests for example.
Kotest integration with this tool would be nice.

Thanks.

@LeoColman LeoColman added the enhancement ✨ Suggestions for adding new features or improving existing ones. label Apr 5, 2020
@sksamuel
Copy link
Member

@ashishkujoy has opened a PR at testcontainers to add support there alongside spock / junit5.
You could vote on that issue., testcontainers/testcontainers-java#2533

@sksamuel sksamuel added this to the 4.1 milestone Jun 6, 2020
@sksamuel sksamuel mentioned this issue Jun 6, 2020
33 tasks
@sksamuel
Copy link
Member

sksamuel commented Jun 7, 2020

We've now merged this into kotest itself due to testcontainers having higher priorities.

@sksamuel sksamuel closed this as completed Jun 7, 2020
@sksamuel
Copy link
Member

sksamuel commented Jun 7, 2020

Will be included in 4.1

@dkowis
Copy link

dkowis commented Jul 26, 2020

Forgive me, is there documentation for how to actually use this? I found the classes in kotest-extension-testcontainers, but I'm not sure how to actually use it in one of my specs.

Thanks!

EDIT: just found it: https://github.com/kotest/kotest/blob/master/doc/extensions.md#testcontainers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ Suggestions for adding new features or improving existing ones.
Projects
None yet
Development

No branches or pull requests

4 participants