Skip to content

Make TestContainersSuite public #243

Open
@thomasl8

Description

@thomasl8

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions