Unit tests for artificial intelligence project
Clone the repository and install pytest
git clone https://github.com/SrGesus/iart-proj-tester
cd iart-proj-tester
pip install -r requirements.txt
Configure the variables to match your setup
# Test will abort after timeout seconds
timeout = 10
# Path to tests folder
tests_path = "./tests/"
# Path to python script
python_path = "../IArt-PipesMania/pipe.py"
Use pytests to run the tests, e.g:
python -m pytest --durations=0