Testing and Code Quality in Java
Writing reliable Java: unit tests with JUnit 5, test doubles with Mockito, test-driven development, coverage, logging, refactoring and code review.
JAVA-220 Year 2 3 credits 12 lessons planned ▶ Video lessons coming soon
Offered by HSM University · Java Programming
Course content
- 1Why testing mattersComing
- 2Unit tests with JUnit 5Coming
- 3Assertions and parameterized testsComing
- 4Test fixtures and life cycleComing
- 5Mocking with MockitoComing
- 6Test-driven developmentComing
- 7Integration testsComing
- 8Code coverage with JaCoCoComing
- 9Logging with SLF4JComing
- 10Refactoring safelyComing
- 11Code review and continuous integrationComing
- 12Capstone: testing and refactoring a legacy moduleComing
Requirements
Recommended background. You can start any course at any time.
Description
Writing reliable Java: unit tests with JUnit 5, test doubles with Mockito, test-driven development, coverage, logging, refactoring and code review.
Part of the Information Technology stream, typically taken in year 2.