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

Make TestContainersSuite public #243

Open
thomasl8 opened this issue Mar 3, 2023 · 0 comments
Open

Make TestContainersSuite public #243

thomasl8 opened this issue Mar 3, 2023 · 0 comments

Comments

@thomasl8
Copy link

thomasl8 commented Mar 3, 2023

It would be nice to be able to use this in our own mixins.

e.g. have some common set-up defined in a trait

trait PostgresSupport { self: Suite with TestContainersSuite =>
   val container = ???
}

And then we can decide if you want to use ForEachTestContainer or ForAllTestContainer depending on the actual tests.

class MyRepoSpec extends AnyFlatSpec with ForEachTestContainer with PostgresSupport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant