run_tests.sh 454 B

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