Description
In this course, you will learn :
- JUnit 5 is used to write and run Java unit tests.
- Assertions and annotations in JUnit
- Development that is test-driven.
- How to use JUnit to fix bugs.
- How to use JUnit to validate feature requests.
- The import statements required for JUnit to run.
- Coding conventions and best practises
- How to Interpret Test Output
Syllabus :
1. JUnit fundamentals
- Your first JUnit tests: @Test, assertEquals(), assertNotEquals()
- The assertTrue() and assertFalse() methods.
- Practice: JUnit methods
- Fielding a bug report : best-practices demonstration
- Implementing a feature request : best-practices demonstration
- @BeforeAll, @AfterAll annotations
- The assertArrayEquals() method
- Development practice: performing a bugfix