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,2 +1,3 @@
1 1
 [run]
2 2
 omit = yird/[a_][p_][pi]*.py
3
+include = tests/

+ 1
- 0
.gitignore View File

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

+ 3
- 0
Pipfile View File

@@ -16,3 +16,6 @@ flask-webpack = "*"
16 16
 
17 17
 [requires]
18 18
 python_version = "3.7"
19
+
20
+[scripts]
21
+test = "pytest --cov-config .coveragerc --cov=yird tests"

Loading…
Cancel
Save