JUnit 5 is one of the most popular frameworks for testing Java applications. In this crash course, you will learn about Junit 5 and how to use it to write unit tests for your Java programs.
✏️ Course created by Programming Techie. Check out their channel: https://www.youtube.com/channel/UCD20RZV_WHQImisCW2QZwDw
💻 Source Code for Starter Project: https://github.com/SaiUpadhyayula/contact-manager-starter
💻 Source Code for Completed Project: https://github.com/SaiUpadhyayula/contact-manager
🔗 Written Tutorial: https://programmingtechie.com/2020/12/26/junit-5-complete-tutorial/
🔗 Maven Tutorial:
https://www.youtube.com/watch?v=JhSBS2OpGdU
⭐️ Course Contents ⭐️
⌨️ (
00:00) Introduction
⌨️ (
00:28) What is JUnit?
⌨️ (
01:09) JUnit Architecture
⌨️ (
02:19) First JUnit Test
⌨️ (
08:26) Testing Exceptions using assertThrows()
⌨️ (
10:10) Understanding JUnit Test Lifecycle
⌨️ (
13:42) Conditional Executions
⌨️ (
15:11) Assumptions
⌨️ (
16:58) Repeated Tests
⌨️ (
18:48) Parameterized Tests
⌨️ (
23:47) Nested Tests
⌨️ (
25:22) Disabled Tests
--
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp