Pragmatic Unit Testing in Java 8 with JUnit

Pragmatic Unit Testing in Java 8 with JUnit

Intermediate

102 Lessons

13h

Certificate of Completion

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

91 Playgrounds
26 Quizzes

This course includes

91 Playgrounds
26 Quizzes

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

What You'll Learn

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

What You'll Learn

Learn how to effectively test Java applications using JUnit

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

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Souvik Kundu

Front-end Developer

Eric Downs

Musician/Entrepeneur

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

FOR TEAMS

Interested in this course for your business or team?

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