Skip to content
Snippets Groups Projects
Commit ae959cfa authored by Joe Schneider's avatar Joe Schneider
Browse files

Testing infra updates

parent 3d84ddf4
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
(
cd `git rev-parse --show-toplevel`
cd "$( dirname "${BASH_SOURCE[0]}" )/.."
pip install -r requirements.txt
)
......@@ -3,15 +3,15 @@
unit_test_path=test/unit_tests/
code_path=api/
cd "$( dirname "${BASH_SOURCE[0]}" )/.."
(
case "$1-$2" in
unit-|unit---ci)
cd `git rev-parse --show-toplevel`
PYTHONPATH=. py.test --cov=api --cov-report=term-missing $unit_test_path
;;
unit---watch)
cd `git rev-parse --show-toplevel`
PYTHONPATH=. ptw $unit_test_path $code_path -- $unit_test_path
PYTHONPATH=. ptw $unit_test_path $code_path --poll -- $unit_test_path
;;
integration-|integration---ci|integration---watch)
echo "Not implemented yet"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment