diff --git a/_gen/pytest.bat b/_gen/pytest.bat index 600f8c0..2dcb6a2 100644 --- a/_gen/pytest.bat +++ b/_gen/pytest.bat @@ -28,7 +28,7 @@ if "%test%" == "" ( :start echo. -python -m pytest -c "_gen/pytest.ini" -v --pep8 --cov --cov-report=term-missing +python -m pytest -c "_gen/pytest.ini" echo. echo --- Hit any key to repeat --- pause @@ -37,7 +37,7 @@ goto start :start_spec echo. -python -m pytest test/test_%test%.py -c "_gen/pytest.ini" -v --pep8 --cov --cov-report=term-missing +python -m pytest test/test_%test%.py -c "_gen/pytest.ini" echo. echo --- Hit any key to repeat --- pause diff --git a/_gen/pytest.ini b/_gen/pytest.ini index b355622..0e4a3f2 100644 --- a/_gen/pytest.ini +++ b/_gen/pytest.ini @@ -8,6 +8,11 @@ # by Bastian Schroll [pytest] +addopts = -v --pep8 --cov --cov-report=term-missing + +# classic or progress +console_output_style = progress + log_file=log/test.log log_file_level=debug log_file_format=%(asctime)s - %(module)-12s %(funcName)-15s [%(levelname)-8s] %(message)s