课程: Software Testing Foundations: Continuous Testing and DevOps
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
How to run tests in containers - Jenkins教程
课程: Software Testing Foundations: Continuous Testing and DevOps
How to run tests in containers
- [Instructor] If you run a lot of tests, or if you have your test suite running several times a day, you might want to consider running your tests inside of containers. What is a container? A container is kind of like a virtual machine. The main difference is that where a virtual machine provides a whole virtual computer, a container provides only a virtual operating system. What are some of the benefits of running tests inside of containers? Your tests will generally run faster inside a container that's dedicated to running just your test code. Your tests will also be more stable and reliable. Because the configuration that your tests run with will be identical across different test runs and across different environments, that also means you'll have fewer errors from using different versions of any software that your tests rely on. In order to run your tests inside of a container, you first need to enable container support…