13 lines
398 B
Bash
Executable File
13 lines
398 B
Bash
Executable File
#!/bin/bash
|
|
# Run this command on project root
|
|
# ```
|
|
# dev/scripts/run_tests.sh
|
|
# ````
|
|
# If you add a new test file, make sure that the directory contains an empty
|
|
# __init__.py. Otherwise, unittest won't be able to find the directory and
|
|
# the tests in the directory will be skipped.
|
|
export PYTHONPATH=modules:$PYTHONPATH
|
|
echo $PYTHONPATH
|
|
python -m unittest discover -s tests -p "*_test.py" -t .
|
|
|