#/bin/bash # the directory where the code lies in. It will be added to sys.path so # tests can import from where normally CODE_DIRECTORY=code # the directory where the tests lie, relative to CODE_DIRECTORY. This # value this is relative because i have no idea how to do file-based- # string-manipulation in bash and i don't want to find out. TEST_DIRECTORY_RELATIVE=../test cd $CODE_DIRECTORY python3 -m unittest discover -s $TEST_DIRECTORY_RELATIVE