DEV Community

Rex
Rex

Posted on

Testing from outside with docket containers with zero mocks is a game changer

Being able to test the whole web application as a black box from outside with Playwright is a project saver. Its like having tons of QAs checking everything all the time. Docker is one the best thing happened to the software industry!

Testing the .net webapi backend(ef and postgres) from the outside using Testcontainers library and .net’s WebApplicationFactory also give us very high degree of confidence. Game changer.

Zero mocks means less code to maintain. Tests ignorant of implementation details are also remarkable easy to write and maintain, and they bring freedom to refactoring which lead to easy to read maintainable code.

Win-win-winπŸŽ‰πŸŽ‰πŸŽ‰

Top comments (0)