Add pytest configuration + print some empty line at start of a test run
This commit is contained in:
parent
0c0d8992b1
commit
2d5eae04ea
2 changed files with 6 additions and 1 deletions
|
|
@ -5,7 +5,8 @@
|
||||||
while true; do
|
while true; do
|
||||||
NOTIFY=$(inotifywait -rq -e modify . | grep '\.py')
|
NOTIFY=$(inotifywait -rq -e modify . | grep '\.py')
|
||||||
if [ _$? == _0 ]; then
|
if [ _$? == _0 ]; then
|
||||||
pytest --capture=no test
|
echo -e "\n\n\n"
|
||||||
|
pytest --capture=no #test
|
||||||
echo ">>>>>>>> Test finished at: $(date)"
|
echo ">>>>>>>> Test finished at: $(date)"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
||||||
4
pytest.ini
Normal file
4
pytest.ini
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
[pytest]
|
||||||
|
testpaths =
|
||||||
|
test
|
||||||
|
log_cli = True
|
||||||
Loading…
Add table
Reference in a new issue