jeudi 3 novembre 2016

Containerize integration tests

We use container technologies such as docker to make the application portable and immutable. When containerized, application will behave the same at any environment.

As we know, tests are crucial aspect to build reliable software, most importantly integration tests. These automated acceptance tests tends to be complicated also, having dependencies at certain libraries, browser, drivers and what not. It is often pain to configure jenkins server for robot framework testing and what not.

Now the question is, could these tests be also containerized, either with the application or as a separate container, so same set of tests could be run at any environment without configuration? It would be ideal to plug these kind of containerized test suites as jenkins task. How to implement this in practice and how to let jenkins know if the tests passed or failed?

Aucun commentaire:

Enregistrer un commentaire