Course Overview
A 3-day comprehensive hands-on class on Automated Testing in Java, including process, best practices and techniques.
Course Prerequisites
Students should have a good understanding of the Java Platform SE and EE.
Outline
- Recognising the value of Automated tests
- identifying different ways of achieving results
- Test/Behaviour-Driven Development (TDD/BDD)
- The theory and practice behind "test-green-refactor"
- What not to use TDD (when not to test-first)
- Writing unit tests (TDD)
- Contrast with writing specifications (BDD)
- JUnit 5.x (all aspects)
- The Hamcrest API (bundled with JUnit plus more)
- Value of Code coverage
- Test in isolation using Mocking (using Mockito)
- Protect yourself from mock and stub-to-death
- Using Testcontainers for integration tests
- Best practices, pitfalls etc
- Continuous integration (CI)
Frequently asked questions
How long is the Test-driven Development in Java course?
3 days, on-site or online. Sessions can run on consecutive days or be spread out to fit your team's schedule.
What are the prerequisites?
Students should have a good understanding of the Java Platform SE and EE.
How large are the groups?
Deliberately small so the trainer can adapt to every participant: at most 10 on-site and 7 online.
In which languages can the course be delivered?
English or French.