• Online, Self-Paced
Course Description

There are a number of features in JUnit for enhancing and expanding tests. This course covers how to create test suites and categories, optimize JUnit tests using execution procedures, timeouts and rules, manage test data, use theories and mock objects, run tests with Maven, and implement testing in legacy code.

Learning Objectives

Grouping Tests

  • start the course
  • create JUnit Test suites
  • use categories in JUnit tests

Finetuning |w Tests

  • manage failures with @Ignore in JUnit tests
  • configure timeouts in JUnit tests
  • customize JUnit test runs

Managing Test Case Data

  • use parameters in JUnit tests
  • manage data across multiple JUnit tests
  • configure execution ordering in JUnit tests

Testing Rules

  • enhance JUnit tests with rules
  • use rules to manage JUnit tests

Theories and Mock Objects

  • work with JUnit theories
  • work with mock objects in JUnit tests

Maven and JUnit

  • run JUnit tests with Maven

Legacy Testing

  • configure JUnit tests for legacy code
  • configure JUnit test suites for legacy code

Practice: Modifying Java Code in Test Scenarios

  • practice modifying existing Java code to accomplish proper testing scenarios

Framework Connections

The materials within this course focus on the NICE Framework Task, Knowledge, and Skill statements identified within the indicated NICE Framework component(s):

Specialty Areas

  • Software Development