Replies: 2 comments 7 replies
-
With the latest release dotnet add package Testcontainers.MySql var mySqlContainer = new MySqlBuilder().Build();
await mySqlContainer.StartAsync() Beside the docs the tests might also help to understand the module API. |
Beta Was this translation helpful? Give feedback.
5 replies
-
As a follow-up:
Thank you for all your help @HofmeisterAn |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've managed to hack my way to getting a MySql container using functional by trial and error and looking at different examples from a number of places.
Though this allows tests to continue, I still don't see any logging in my tests, so I'm not entirely sure what I set up and where.
My general point is that most of the examples I'm finding are about a (deprecated)
TestContainersContainer
as opposed to theContainerBuilder
. I'd like to see at least some crude example of container startup waiting, for instance.Ps; I'm very happy to contribute to new examples if I can btw but might need some pointers on how to do submissions.
Beta Was this translation helpful? Give feedback.
All reactions