From the course: Software Testing Foundations: Continuous Testing and DevOps

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

How to run tests in containers

How to run tests in containers - Jenkins Tutorial

From the course: Software Testing Foundations: Continuous Testing and DevOps

Start my 1-month free trial

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…

Contents