JUnit 5 Quick Start for Beginners : Java Unit Testing

Learn the fundamentals of JUnit quickly and easily through examples and practice.
Rating: 4.5 out of 5 (219 ratings)
2,508 students
JUnit 5 Quick Start for Beginners : Java Unit Testing
Rating: 4.5 out of 5 (219 ratings)
2,508 students
How to write and run Java Unit tests using JUnit 5
JUnit asserts and annotations
Test-driven development
How to use JUnit for bug fixes
How to use JUnit for feature requests
The import statements needed to run JUnit
Best practices and coding conventions
How to understand test output

Requirements

  • Basic experience with Java (creating classes, understanding methods, etc.)
  • Beginner to JUnit

Description

Let's make things easy! In this quick-start course for beginners, students will learn how to write and run JUnit Java unit tests. Imports, annotations, and test output will illustrated and explained.  Best practices are discussed and demonstrated through examples and applications. By the end of the course, students will be able to conduct their own JUnit tests, successfully interpret test output, and incorporate best practices in their software development. The course is taught by a straight-A Ivy League graduate with industry experience in the subject matter.

Who this course is for:

  • Java developers (beginner or advanced) who want to learn JUnit

Course content

3 sections • 11 lectures • 34m total length
  • Introduction: what JUnit is, how it works, and why it is important.
    04:01
  • Course requirements
    00:26

Instructor

Computer systems developer, educator
Craig Hawkins
  • 4.5 Instructor Rating
  • 269 Reviews
  • 6,048 Students
  • 4 Courses

Craig Hawkins is a native English speaker and professional systems developer. He holds a master's degree in Computer Science from Brown University, where he earned a straight-A average and worked as a teaching assistant.  Additionally, Craig has many years of full-time, licensed classroom teaching experience, where he has a track record of significantly raising measured student achievement.  When taking one of his courses, you can be assured of his strength in the subject, the effectiveness of his communication, and his ability to structure and deliver a quality learning experience.