Join Peggy Fisher for an in-depth discussion in this video Using the exercise files, part of Using JUnit for Testing in Java.
- [Instructor] If you're a member of lynda.com, you have access to the exercise files that I use in this course. I have them here in a folder on my desktop called Exercise Files. You can download them to your desktop. Inside the Exercise Files folder, there's a folder for each movie that uses an exercise file so you can follow along as we explore the various features and tools of using JUnit. For example, in chapter one, there are two exercise files, one in 01_03 for SampleAssertions and 01_04 for TestSuite.
Inside the exercise files, I actually have the entire project so you can open it up directly in an IDE. These files are all just for convenience. They're not required. They just might make things a little easier when you're trying to follow along. If you don't have access to the exercise files, you can still follow along from scratch, although you might need to pause the movie once or twice to copy something across.
- What is JUnit?
- Comparing values with assertions
- Using JUnit with different Java IDEs
- Creating basic unit tests
- Testing for exception handling
- Creating parameterized tests