Java SE 17 Unit Testing with JUnit
Offered By: Pluralsight
Course Description
Overview
Unit testing is a critical skill for software developers. This course will teach you how to write and run unit tests for Java with one of the most popular unit testing tools in existence: JUnit.
A Java developer is expected to be able to unit test their code, and this course will show you how to do that with JUnit. In this course, Java SE Unit Testing with JUnit, you’ll learn how to create JUnit tests and keep them organized. First, you'll discover the many assertions that JUnit provides to validate expected results. Next, you'll explore how to utilize the JUnit lifecycle annotations to manage test setup and teardown, and how to improve your test reports. Finally, you’ll learn how to run your tests from a variety of tools including IDEs, Maven, and continuous delivery products. By the end of this course, you’ll be ready to write great unit tests for your code!
A Java developer is expected to be able to unit test their code, and this course will show you how to do that with JUnit. In this course, Java SE Unit Testing with JUnit, you’ll learn how to create JUnit tests and keep them organized. First, you'll discover the many assertions that JUnit provides to validate expected results. Next, you'll explore how to utilize the JUnit lifecycle annotations to manage test setup and teardown, and how to improve your test reports. Finally, you’ll learn how to run your tests from a variety of tools including IDEs, Maven, and continuous delivery products. By the end of this course, you’ll be ready to write great unit tests for your code!
Syllabus
- Course Overview 1min
- Understanding JUnit 7mins
- Installing and Running JUnit 12mins
- Creating Tests 9mins
- Writing Test Methods and Using Assertions 37mins
- Leveraging Test Lifecycle 11mins
- Controlling Test Execution 18mins
- Managing Test Reporting 11mins
- Running Unit Tests as Part of a Build Pipeline 4mins
- Learning More 2mins
Taught by
Jim Weaver
Related Courses
Ruby on Rails: An IntroductionJohns Hopkins University via Coursera Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera Engineering Maintainable Android Apps
Vanderbilt University via Coursera Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera