Require: Java 8 (or higher), JUnit (you are recommended to use the latest version, JUnit 5). If you have not set up your testing environment, please refer to the Schedule page for details on JUnit 5.
Additional resources: You may find class discussions on test automation, and characteristics of good tests helpful when designing and automating your tests.
You may work alone or with another student in this course.
Consider ArrayOperations.java.
Note that there exists a fault,which is a static defect in the source code, in the method under test.
Reminder: You are writing tests to check against ArrayOperations.java. Thus, do not modify ArrayOperations.java; it is the program under test.
(-2.5 points) for 24 hours late (submitted after 19-May-2026 11:59pm EST, by 20-May-2026 11:59pm EST)
(-5 points) for 48 hours late (submitted after 20-May-2026 11:59pm EST, by 21-May-2026 11:59pm EST)
Making your submission available to instructor is your responsibility; if we cannot access or open your file, you will not get credit. Be sure to test access to your file before the due date.
CC-BY-NC-SA 4.0 license.