mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
move pytest args in pytest.ini
This commit is contained in:
parent
e108720998
commit
def65fe5a9
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue