Express JUnit Training

Answers to Popular Questions:

 
Yes, this class can be tailored to meet your specific training needs.
Yes, we provide Java Programming consulting services.
Yes, group discounts are provided.

Course Description

 
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.
Course Length: 1 Days
Course Tuition: $890 (US)

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

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.