Skip to main content

Section 18 · Stage 5: Work Like a Developer

Testing, Debugging & Code Quality

Unit tests with JUnit, mocks with Mockito, testing Spring applications, using the debugger and keeping code clean.

What you will be able to do

  • Write clear unit tests with JUnit 5 and AssertJ for real classes
  • Isolate code under test with Mockito mocks and stubs
  • Test Spring controllers, repositories and whole application flows
  • Find bugs quickly with the IDE debugger and useful logs
  • Measure test coverage and keep code clean with refactoring and static analysis
  • Add a dependable test suite to ShopLite

What you will learn

  1. 18.1Why Testing Matters7 lessons
  2. 18.2JUnit 5 in Depth9 lessons
  3. 18.3Test-Driven Development7 lessons
  4. 18.4Mocking with Mockito8 lessons
  5. 18.5Testing Spring Applications9 lessons
  6. 18.6Debugging8 lessons
  7. 18.7Logging for Troubleshooting7 lessons
  8. 18.8Code Quality & Clean Code8 lessons
  9. 18.9Testing Mini Project: Test ShopLite5 lessons