5. Integration tests
1. First level of testing that validates layers / integration
between them
2. Perhaps the most valuable tests for dev
3. Runs in mins
4. Environment is smaller, controlled than a E2E
5. Runs on every developer laptop
12. Better integration tests
Faster setup, easier to develop ⇒ test cycle.
Everything runs on your laptop, but everything is disposable: when the tests
are over you just kill the containers. When you want them back, they come
fresh.
Same tests will run on Jenkins after a commit
14. Benefits
1. Decoupled test infrastructure from test suite
2. Core developers maintain the infra. Others just use it
3. Standard environment. Runs on CI!
4. Tests run faster. More tests run throughout the day
15. “At the end of the day, you become a better developer.
There is no magic. The container’s recipes are on your
laptop. They are code.”
Some dependencies are mocked.
Typically needs JBoss container with DPS + Model Service + YMER + Versant
Setup time is in minutes
Runs in seconds to minutes