testcontainers-scala icon indicating copy to clipboard operation
testcontainers-scala copied to clipboard

when to use `ForAllTestContainer` over `TestContainersForAll`

Open dzanot opened this issue 1 year ago • 0 comments

I see in the docs it's recommended to use the scalatest namespaced TestContainersForAll. I didn't realize this existed and my team universally uses ForAllTestContainer.

Is ForAllTestContainer even meant to be used? I looked at the source differences and besides the multiple containers part the code is very similar.

I had some nondeterministic timing issues with containers failing on startup that was fixed by a move to munit.TestContainersForAll but now I'm wondering if I could have gotten away with just using scalatest.TestContainersForAll

dzanot avatar Feb 06 '24 16:02 dzanot