See development.md for development environment notes.
Build artifact (runnable .jar file) in Intellij by clicking Run -> Build. Artifact has been set to build on project build.
sh systemTests/test.sh
*.template
files eg. systemTests/expected/run_and_exit.template files are python string formats- systemTests/generate_expected_out.py inserts machine dependent variables (working directory, etc.) into templates,
generating
*.out
files. (Python 3) - Input tests exist in systemTests/commandLines
- Input files are looped and run as input for out/artifacts/CS4218_Shell_2019_jar/CS4218-Shell-2019.jar
- Actual output are in systemTests/actual and compared with expected output.
All output and actual file names corresponds to its respective test input file.