Beginner's guide to setting up JUnit Tests in Eclipse | Unit Testing Java Time | Refactoring Code

Опубликовано: 19 October 2024
на канале: Pragmatic Ways
10,039
128

This video goes through the basics of setting up JUnit test cases in Eclipse to unit test some code.

Unit tests should test individual public methods of a class. A method will have an input and an output. Given a known input, a unit test will assert an expected output.

This video also shows some basic refactoring techniques and integrating with the Java Time API.