Homework: Testing I
- Due Oct 8, 2021 by 11am
- Points 5
- Submitting a file upload
- File Types txt
- Available after Oct 6, 2021 at 11am
Watch the following videos:
- Java Testing – JUnit 5 Crash Course Links to an external site. (Sai Upadhyayula, 2021)
- Unit and Integration Testing with Mavin and JUnit Links to an external site. (Dan Schrimpsher, 2015)
Submit the following in a plain text file (so the formatting is reasonable):
- write a unit test for one of the constructors of the Book class (use the videos and the JUnit 5 documentation Links to an external site. as a reference)
- explain what a reasonable integration test might be for the Bookstore Inventory System in its current state of implementation (you don't have to write the test, but explain what it would test and how you'd go about doing it in pseudo code)
Be sure your name, date, and assignment are at the top of your file.