Skip to content

Introduction to JUnit

Testing Java programs manually is costly and time consuming. We will introduce JUnit to allow us to write Java classes to test our Java code.

Objectives

  • Understand the purpose of automated testing.
  • Be able to create JUnit test cases.
  • Be able to create test methods that describe what a class's method should do.
  • Understand and use JUnit assert methods to test class functionality.
  • Understand the purpose of Test Driven Development (TDD).

Topics


Up -- Next