I have several JUnit test classes. I need to raise database instance to run them, so I use Docker. Testcontainers provides two options for creating docker containers - for each method and for each class: @Rule/@ClassRule. Is there any way to create a general container for all tests in project instead of using multiple containers for each class?
Aucun commentaire:
Enregistrer un commentaire