This is a mini template for NUS students who needs to run their test against some input files and check the difference against some output file
Simply clone the repository and start working on it :)
git clone https://github.com/jeremiah-ang/execute-java-test
The java file should have the first character Capitalised and in the same directory as test-task.sh
Addition.java
- Input files are stored in
input/folder - Files in it should have the same name as the project
- All lower case
- With extension
.in
input/addition1.in
- Expected output files are stored in
output/folder - Files in it should have the same name as the project
- All lower case
- With extension
.out
output/addition1.out
Simply execute
sh test-task.sh <Test Number(Optional)>
i.e. sh test-task.sh Addition 1