Skip to main content

Instructor-led training

Express JUnit Training in Tarboro, North Carolina

JUnit is the defacto standard framework for unit testing Java applications.

What you'll learn

JUnit is the defacto standard framework for unit testing Java applications. This Express JUnit class teaches programmers how to setup, design and build unit tests that greatly improve the quality of their software.

Prerequisites

A basic understand of Java is required. JUnit makes extensive use of annotations. Therefore, Java developers should be comfortable with Java annotations.

Course Outline

JUnit Intro

  •  Origins and foundation
  •  Rules of unit testing
  •  Obtaining, setup, configure JUnit
  •  Unit test execution 

JUnit API

  •  Test case/class
  •  Test methods
  •  Assert methods
  •  Test suite
  •  Test runner

Additional API and Best Practices

  •  Additional JUnit annotations
  •  Exception testing
  •  Test Timeouts
  •  Hamcrest Matchers
  •  What to test
  •  Unit test naming
  •  Test organization 

Software Testing

  •  Why unit testing
  •  Types of tests
  •  Types of unit tests
  •  Black vs. white box testing
  •  Code coverage
  •  Testable code
  •  Test-driven development

Stubs and Mock Objects

  •  Simulating missing objects
  •  Stubs
  •  Mock Objects and Mock Frameworks
  •  EasyMock
  •  JMock
  •  Stub vs. Mock

JUnit Extensions

  •  xUnit
  •  Unit testing and non-Java
  •  JUnit extensions and tools 

Appendicies

  •  DbUnit - to unit test the persistence layer
  •  JWebUnit - to unit test Java Web applications

Training locations

Express JUnit training across the U.S. and beyond.

We provide Express JUnit training onsite and live online for organizations throughout the United States and internationally.

View all Express JUnit training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • Training for groups of 3 or more
  • Flexible scheduling
  • Experienced instructors
Request a Training Proposal

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.