☕Grading Java package projects
Step 1: Install JUnit 5
cg junit5 installStep 2: Compile the student code and place the instructor tests
#!/usr/bin/env bash
cg java compile $STUDENT/myapp/*.java
mv $UPLOADED_FILES/*.java $STUDENT/myappStep 3: Run the JUnit 5 tests
Conclusion
Last updated