Is it possible to run testcontainers using TestNG?
Hey @micheal-swiggs,
Yes it is!
Just instantiate the container objects and use start()/stop() methods and the appropriate points in your test lifecycle.
It would be cool, if we could provide an example directly in the docs I think :slightly_smiling_face:.
I can give it a try.
@vpondala Awesome. Right now the best solution would probably adding an example project in the examples directory and extending the docs accordingly :slightly_smiling_face:
Raised PR #893. 1/6 codacy checks are failing but this change is consistent with existing code base.
Most helpful comment
@vpondala Awesome. Right now the best solution would probably adding an example project in the
examplesdirectory and extending the docs accordingly :slightly_smiling_face: