It's all about the answers!

Ask a question

[closed] How should we test our application in Docker container?


sarah john (11) | asked Oct 31 '18, 3:30 a.m.
closed Oct 31 '18, 3:40 a.m. by Ralph Schoon (63.1k33646)

 We have a Java Application in a Docker Container with a Docker Db2 database 'side-car'. In DevOps pipeline (Jenkins) we run unit tests, and integration test between components. Run SonarQube and if all good, we move over to the Staging environment. In the Automated Testing step we build application container using latest code base, we then proceed to run automated Acceptance Testing using Cucumber framework.


Question is about the use of database for testing: should we spin up a db2 in a new/isolated container, or use a 'common' DB2 container that the test team uses in that env for manual testing? Best practices, proven approaches and recommendations are needed.


Comments
Ralph Schoon commented Oct 31 '18, 3:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Sorry, this question has nothing to do with the product context discussed here

The question has been closed for the following reason: "Question is off-topic or not relevant" by rschoon Oct 31 '18, 3:40 a.m.