mirror of
https://github.com/mislavcimpersak/xkcd-excuse-generator.git
synced 2025-12-08 17:36:20 +00:00
pytest init
This commit is contained in:
parent
2ba00f7e53
commit
605763e38b
9
.coveragerc
Normal file
9
.coveragerc
Normal file
@ -0,0 +1,9 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = .
|
||||
|
||||
[report]
|
||||
show_missing = True
|
||||
omit =
|
||||
*/tests/*
|
||||
*/test_*.py
|
||||
3
pytest.ini
Normal file
3
pytest.ini
Normal file
@ -0,0 +1,3 @@
|
||||
[pytest]
|
||||
addopts = --cov
|
||||
python_files = tests* test_*.py
|
||||
5
requirements_testing.txt
Normal file
5
requirements_testing.txt
Normal file
@ -0,0 +1,5 @@
|
||||
-r requirements.txt
|
||||
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-sugar
|
||||
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
2
tests/test_function.py
Normal file
2
tests/test_function.py
Normal file
@ -0,0 +1,2 @@
|
||||
def test_dummy():
|
||||
assert 1 + 1 == 2
|
||||
Loading…
x
Reference in New Issue
Block a user