Browse Source

Some test plumbing

master
Dylan Baker 5 years ago
parent
commit
b9e102373d
3 changed files with 5 additions and 0 deletions
  1. 1
    0
      .coveragerc
  2. 1
    0
      .gitignore
  3. 3
    0
      Pipfile

+ 1
- 0
.coveragerc View File

1
 [run]
1
 [run]
2
 omit = yird/[a_][p_][pi]*.py
2
 omit = yird/[a_][p_][pi]*.py
3
+include = tests/

+ 1
- 0
.gitignore View File

2
 .pytest_cache
2
 .pytest_cache
3
 yird/static/*.css
3
 yird/static/*.css
4
 yird/static/*.js
4
 yird/static/*.js
5
+.coverage

+ 3
- 0
Pipfile View File

16
 
16
 
17
 [requires]
17
 [requires]
18
 python_version = "3.7"
18
 python_version = "3.7"
19
+
20
+[scripts]
21
+test = "pytest --cov-config .coveragerc --cov=yird tests"

Loading…
Cancel
Save