Using Docker for Testing Legacy Code
summary
Claim: Docker plus Arquillian Cube automates full test lifecycles so legacy code gets repeatable integration and UI tests. The demo boots Postgres in containers, starts a Spring Boot app, runs DB population via clean-persistence/DBUnit, and produces green tests plus an MP4 video of the selenium run. Clean-Run configures browsers and simplifies webdriver setup; selenium runs inside a selenium standalone Firefox container. Tests remove boilerplate, handle docker-machine hosts, and stop containers when finished.
AI-written summary · about
chapters (19)
- 0:00Intro
- 0:56Questions
- 5:58Old Code Needs To Be Maintained
- 6:41Apply Test First Strategies
- 8:02How To Start?
- 9:43Characterization Tests
- 10:57Tests By Division
- 14:13Testing Containers
- 17:10Arquillian Cube DSL
- 18:54Arquillian Cube Example
- 25:18Persistence Tests
- 26:57APE SOL example
- 29:22Benefits of Arquillian APE
- 32:25Visual Testing
- 32:48Selenium
- 34:29Arquillian Drone example
- 36:25Arquillian Graphene Page Object example
- 37:30Arquillian Graphene example
- 45:20Let's Wind Down
related talks
59mIntegration and end-to-end testing with TestContainers and JUnit 5
28mPostmortem: TDD with TestContainers
40mIntegration tests & testContainers
46mBoost your testing: End-to-End with Docker and Geb
30mIntegration tests & testContainers
47mWeb and Mobile testing with Selenium, JUnit 5, and Docker
26mRemoving Complexity from Integration Tests Using Testcontainers
47mIntegration Tests: testcontainers to the Rescue
