intermediate 4 hr 8 lessons

Testing & TDD in Java

Ship reliable Java: unit and integration tests, mocking, and test-driven development workflows.

Taught by The StretchCode Faculty

What you'll learn

  • Write effective Java tests
  • Practice test-driven development
  • Mock and isolate dependencies
  • Measure and improve coverage

Curriculum

Testing Fundamentals
1Why and What to TestPreview
2Arrange-Act-Assert
Test-Driven Development
1Red, Green, Refactor
2TDD in Practice
Isolation
1Mocks and Stubs
2Testing Dependencies
Coverage and CI
1Coverage
2Tests in CI