Skip to content

Commit cd60c07

Browse files
committed
Added pytest.ini
1 parent 16cd290 commit cd60c07

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ export GECKODRIVER_LOG = $(shell pwd)/results/geckodriver.log
33

44
BLACK_CHECK = black -l 90 --check --diff .
55
BLACK_FIX = black -l 90 .
6-
MINIMUM_COVERAGE = 95
7-
FOXPUPPET_TESTS = pytest -vvv --driver Firefox --cov --cov-fail-under=$(MINIMUM_COVERAGE) --html results/report.html
86

97
check: install_poetry lint test
108

@@ -18,7 +16,7 @@ install_poetry:
1816
curl -sSL https://install.python-poetry.org | python3 -
1917

2018
test: install_dependencies
21-
poetry run $(FOXPUPPET_TESTS)
19+
poetry run pytest
2220

2321
lint: install_dependencies
2422
poetry run $(BLACK_CHECK)

pytest.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[pytest]
2+
addopts = -vvv --driver Firefox --cov --cov-fail-under=95 --html=results/report.html --self-contained-html
3+
testpaths = tests

0 commit comments

Comments
 (0)