Pragmatic Unit Testing in Java 8 with JUnit
INTERACTIVE COURSE

Pragmatic Unit Testing in Java 8 with JUnit

Intermediate

102 Lessons

13h

Certificate of Completion

Pragmatic Unit Testing in Java 8 with JUnit
91 Playgrounds
26 Quizzes
96 Illustrations

Takeaway Skills

Learn how to effectively test Java applications using JUnit

Get to know the core quality principles of unit testing

Master writing cleaner and refactored JUnit tests

Course Overview

In this course, you will learn how to write a unit test for Java applications using JUnit. You'll start by covering unit-testing foundations, which provide you with a starter set of information about writing basic tests in JUnit. You’ll learn about JUnit organization and assertions, and you’ll pick up a few core quality practices for unit testing such as the Right BICEP and the CORRECT way. Towards the end, the bigger design picture focuses on the relevance of design to unit testing and vice versa. You’ll...Show More

Course Content

1

Before We Begin

2

JUnit Test Foundations

3

Digging Deeper into JUnit Assertions

4

Organizing Your Tests

5

Mastering Manic Mnemonics!

6

What to Test: The Right-BICEP

8 Lessons

7

Boundary Conditions: The CORRECT Way

8 Lessons

8

The Bigger Design Picture

5 Lessons

9

Bigger Design Issues

6 Lessons

10

Using Mock Objects

7 Lessons

11

Refactoring Tests

10 Lessons

12

The Bigger Unit-Testing Picture

10 Lessons

13

Testing Some Tough Stuff

6 Lessons

14

Testing on a Project

4 Lessons

15

Wrapping Up

1 Lesson

16

Appendix - Setting up JUnit

2 Lessons

How You'll Learn

Hands-on Coding Environments

You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.

2x Faster Learning — With No Setup

Videos are holding you back. Educative‘s interactive, text-based lessons accelerate learning — no setup, downloads, or alt-tabbing required.

AI-Powered Learning

Learn faster and smarter with adaptive AI tools embedded in every Educative course.

Progress You Can Show

Built-in assessments let you test your skills. Completion certificates let you show them off.

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath