Live Chat
Monday - Friday 8am - 6pm EST Chat Now
Contact Us
Monday - Friday 8am - 8pm EST 1-800-268-7737 Other Contact Options

Cart () Loading...

    • Quantity:
    • Delivery:
    • Dates:
    • Location:


Mastering Unit Testing with JUnit with Best Practices (TT3520)

Learn how to work with JUnit using EasyMock.

GK# 1971 Vendor# TT3520

Course Overview


This course is geared for developers who need to learn essential unit testing skills using JUnit, EasyMock, and other tools. You will learn the best practices for writing great programs in Java, using unit testing techniques. This comprehensive course also covers essential test-driven development (TDD) topics and skills.


  • Delivery Format:
  • Date:
  • Location:
  • Access Period:


What You'll Learn

  • What unit testing is and what it is not intended to cover
  • JUnit
  • Use the JUnit Test Runner interface
  • Use JUnit to drive the implementation of Java code
  • Test applications using native IDE support
  • Best practices and patterns for unit testing
  • JUnit's strengths and weaknesses
  • The role of debugging when done in conjunction with tests
  • Fundamentals of the TDD using Java and its importance, uses, strengths and weaknesses
  • How JUnit affects your perspective on development and increases your focus on a task
  • Learn good JUnit coding style
  • Create well-structured JUnit programs
  • How JUnit testing can be used for either state-based or interaction-based testing
  • How to extend testing with mock objects using EasyMock
  • Look at refactoring techniques available to make code as reusable/robust as possible
  • Various testing techniques


Viewing outline for:

Virtual Classroom Live Outline

1. JUnit

  • JUnit Overview
  • Jumpstart: JUnit 4.x
  • @Test Annotation
  • Hamcrest
  • Parameterized Tests
  • Theories
  • JUnit Best Practices

2. Testing Tools and Techniques

  • Improving Code Quality Through Refactoring
  • Mocking of Components
  • Mock Objects and EasyMock
  • PowerMock

3. Appendix: Adding Testing to the Build Process


Viewing labs for:

Virtual Classroom Live Labs

As a programming class, this course provides multiple challenges labs for students to work through during the class. This workshop is about 50% hands-on lab and 50% lecture. Throughout the course students will be led through a series of progressively advanced topics, where each topic consists of lecture, group discussion, comprehensive hands-on lab exercises, and lab review. Multiple detailed lab exercises are laced throughout the course, designed to reinforce fundamental skills and concepts learned in the lessons. At the end of each lesson, developers will be tested with a set of review questions to ensure that he/she has fully understands that topic.



Who Should Attend


Experienced Java programmers who wish to get up and running on test-driven development immediately

Course Delivery

This course is available in the following formats:

Virtual Classroom Live

Experience expert-led online training from the convenience of your home, office or anywhere with an internet connection.

Duration: 3 day

Request this course in a different delivery format.