Skip to content

Commit d76ab48

Browse files
committed
Setup pytest
1 parent c81da28 commit d76ab48

File tree

11 files changed

+483
-0
lines changed

11 files changed

+483
-0
lines changed

.coveragerc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# .coveragerc to control coverage.py
2+
# Refer to: https://coverage.readthedocs.io/en/latest/config.html#syntax
3+
4+
[run]
5+
source =
6+
monai
7+
omit =
8+
# omit versioneer file
9+
*/monai/deploy/_version.py
10+
11+
[paths]
12+
source =
13+
monai
14+
*/site-packages
15+
16+
17+
[report]
18+
show_missing = true
19+
precision = 2

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ Sphinx==3.5.3
1919
recommonmark==0.6.0
2020
sphinx-autodoc-typehints==1.11.1
2121
sphinx-rtd-theme==0.5.2
22+
pytest==6.2.4
23+
pytest-cov==2.12.1
2224
cucim~=21.06; platform_system == "Linux"

0 commit comments

Comments
 (0)