Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Unit Testing with JUnit

Course Summary

The Unit Testing with JUnit training course teaches students how to create unit tests using the JUnit testing framework. The course assumes the students are familiar with testing concepts and Java.

The course begins with students learning how to write a single test case. Next, students will define a test suite and validate proper and improper unit tests. The course concludes with performing automated testing using the JUnit test runner and your IDE.

Unit Testing with JUnit is taught using JUnit 4.

Learn how to create unit tests with JUnit.
Java developers wanting to adopt JUnit for their unit test framework.
Q/A - Software Developer
Skill Level
1 Day
Related Technologies
Java | Software Engineering Training | Testing


Productivity Objectives
  • Distinguish what should be tested.
  • Discover how to write and run tests using JUnit.
  • Identify how to write tests for code that should create an exception.
  • Demonstrate how to use assert.
  • Apply setup and cleanup code.
  • Employ Test Suites.

What You'll Learn:

In the Unit Testing with JUnit training course, you'll learn:
  • Introduction to JUnit
    • Fixtures
    • Categories
  • Using Assertion Languages
    • Assert-J
    • Hamcrest
  • Levels of Testing
  • Being Efficient and Successful with Testing
    • MoreUnit for Eclipse
    • Setting up Favorites in Eclipse
    • Tips and Tricks in IntelliJ
“I appreciated the instructor's technique of writing live code examples rather than using fixed slide decks to present the material.”


Dive in and learn more

When transforming your workforce, it's important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By filling out this form and clicking submit, you acknowledge our privacy policy.