Using Docker in Testing

This section will discuss the benefits of using Docker for integration tests.

Brief Introduction to Docker

Docker lets us package an application along with its dependencies in a single deployable unit. While this is great for deploying apps in production, it is also useful during testing.

Why Use Docker During Testing?

Docker offers a pre-configured, predictable and repeatable environment for applications to run in. The same features that make Docker invaluable during deployment also come in handy during testing.

It is common for developers in a single team to use disparate operating systems. Even if their operating systems are the same, it's possible for their development setup to differ. Using Docker in testing eliminates an entire class of errors that could arise due to this situation.

results matching ""

    No results matching ""