Log in from a computer to take this course

You'll need to log in from a computer to start Learn Intermediate Java. But you can practice or keep up your coding streak with the Codecademy Go app. Download the app to get started.

apple storegoogle store
Learn

Congratulations! You completed the lesson on JUnit testing! 🙌

Key concepts covered in this lesson:

  • JUnit testing makes sure we have good test coverage across a program’s code and verifies everything is working as expected.
  • How to write @Test methods and their incorporations of the Assert class library.
  • How to write @Before methods and why they’re useful.
  • How to write @After methods and why they’re useful.
  • What test suites are and what they’re used for.
  • “Red — Green — Refactor!”

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?