Taimos GmbH

Testing with JUnit

  • 1 day
  • 8 - 20

Basics

  • Clean Code
  • Unit test vs. Integration test
  • White-Box-Test / Black-Box-Test
  • Functional Test

JUnit in the wild

  • Test-driven development using JUnit
  • JUnit as QA-Tooling

Quality assurance

  • Design By Contract
  • Pre- and Postconditions

Design

  • Design for Testability
  • Using mocks with Mockito and Powermock
  • Dependency Injection vs. testability
  • Do not mock what you do not own

Persistency / Databases

  • Testing with persistent data
  • Mock vs. InMemoryDB

Testing the web

  • Black-Box-test of APIs
  • UI-Tests with Selenium Web Driver API

CI/CD Integration

  • Integration with Maven
  • CI with Jenkins
  • Reporting with SonarQube