Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Intermediate Java: JUnit Testing

via Codecademy

Overview

Learn about JUnit testing, Java's open-source testing framework.
JUnit is a unit testing framework for Java that tests the functionality of an application to ensure it runs as expected. The “units” being tested are single entities, like classes and methods. Proper testing practices can not only keep code organized and maintain a solid direction, but it also ensures maintainability in the future and is friendly to a team-based setting.


* Implement the Assert class library

* Write @Test, @Before, and @After methods

* Run tests in your own environment

Syllabus

  • JUnit Testing: Learn about JUnit testing, Java's open source testing framework.
    • Lesson: JUnit Testing: Lesson
    • Article: JUnit 4 vs JUnit 5
    • Quiz: JUnit Testing: Quiz
    • Article: JUnit Testing in Your Environment
    • KanbanProject: Aliens vs Humans
    • Informational: Next Steps

Taught by

Kenny Lin

Reviews

4.7 rating at Codecademy based on 80 ratings

Start your review of Learn Intermediate Java: JUnit Testing

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.