与Docker-Compose的集成测试
我正在使用多个(10+)容器(Microservices .NET,前端React,第三方等)的应用程序开始使用Docker-Compose文件。 您将如何进行集成测试?是否有一个测试框架可以使beforeall()清除容器,重新启动它们或清洁量?您是否知道对Docker-Compose环境进行多个集成测试的表现良好?
谢谢!
I am working on an application with multiple (10+) containers (microservices .NET, front-end React, 3rd party etc.) being started using docker-compose files.
How would you go about integration testing? Is there a testing framework which would allow a beforeAll() to clear containers, restart them, or clean volumes? Do you know of a well-performing setup to run multiple integration tests against a docker-compose environment?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们使用 watchtower 以更新我们的容器,还更新 deweds_on 在我们的docker-compose.yml中。
希望它有帮助
We use WatchTower to update our containers and also the depends_on in our docker-compose.yml.
Hope it helps