Mastering Unit Testing with JUnit with Best Practices (TT3520)

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.

    Dec 8 2020

    December 8 - 10, 2020 | 10:00 AM - 6:00 PM (EST) | Virtual Classroom Live

    Date: 12/08/2020 - 12/10/2020 (Tuesday - Thursday) | 10:00 AM - 6:00 PM (EST)
    Location: ONLINE (Virtual Classroom Live)
    Delivery Format: VIRTUAL CLASSROOM LIVE Request Quote & Enroll

    Success! Your message has been sent to us.
    Error! There was an error sending your message.

    REQUEST MORE INFO:


    Mastering Unit Testing with JUnit with Best Practices (TT3520)

    December 8 - 10, 2020 | 10:00 AM - 6:00 PM (EST) | Virtual Classroom Live


    How Did You Hear of Global IT Training?

    Join Our Email List?

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

  • 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

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.

At least one of the following courses:

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

Ready to Advance Your Career?

CONTACT US NOW!