mirror of
https://github.com/botlabsDev/npkpy.git
synced 2025-12-10 06:54:37 +01:00
11 lines
191 B
Bash
Executable file
11 lines
191 B
Bash
Executable file
!/bin/bash
|
|
|
|
if [ ! -z "$1" ]
|
|
then
|
|
clear; echo "test specific file: $1"
|
|
pytest --cov=./ $1 -v
|
|
else
|
|
clear; echo "test all project files"
|
|
pytest --cov=npkpy --cov=acceptance_test -v
|
|
|
|
fi
|