Unit tests for PO project.
- Makefile - You probably already have it
If you want to run this on MacOS you will need to install GNU's diff command for this to work properly. I recommend using a package manager like brew:
brew install diffutilsClone the repo
git clone https://github.com/SrGesus/PO-2023-TESTSProvide the file config with the necessary paths to the folder po-uilib is in and your project folder.
Followed by
makeYou can run a single or a group of tests. But you should run make clean first. E.g: Running only the professor's tests
make clean tests/professor/*.inRunning one test:
make clean tests/Gesus/0-ADDRESS.inRunning a few tests:
make clean tests/Branquinho/test47.in tests/Gesus/0-ADDRESS.inYou can then check out the respective output, on the same folder with the extension .outhyp and the diff .diff.