2 ms·
What is testcontainer? Reading the first page I don't understand what benefits it buys me: > Testcontainers for .NET is a library to support tests with throwaw
by jve 4y ago
What is testcontainer? Reading the first page I don't understand what benefits it buys me:
> Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. The library is built on top of the .NET Docker remote API and provides a lightweight implementation to support your test environment in all circumstances.
Edit: Ok, example helps. https://dotnet.testcontainers.org/examples/aspnet/ https://dotnet.testcontainers.org/examples/aspnet/
I can declare docker infrastructure from my code, right?
- therealdrag0 4y agoYep instead of starting the container in the build script it’s nice to start it in the test code file itself.