Using Docker & Compose to Simplify Integration Testing

Опубликовано: 13 Август 2020
на канале: Docker
16,067
215

Testing can often be the bane of a developer's existence. How much is too much? Too little? At what point do you start facing diminishing returns? Although specifics may be hotly contested, we can all agree that testing is hugely important to deliver quality code the first time.

In a world of monumental amounts open source projects, tech and modules, we are introducing so many more external dependencies into our apps. So while unit testing can be relatively straightforward, end to end and integration testing pose interesting challenges and also offer arguably much more value than a heavily mocked unit test.The key downsides to integration testing are the time it takes to setup and the need for a clean environment for each test run. Not one developer feels good about writing scripts to clean up their test residue.

Docker and containerization clean this mess up for us and also spin it up in record time. The consistency, convenience, and certainty provided makes integration testing a doddle, proving Docker to be invaluable, not just as an infrastructure solution, but as part of the developers toolkit.

Speaker: Andrew Crumpler, Global Freight Solutions
Twitter: @crumpler_andrew


На этой странице сайта вы можете посмотреть видео онлайн Using Docker & Compose to Simplify Integration Testing длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Docker 13 Август 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 16,067 раз и оно понравилось 215 зрителям. Приятного просмотра!