Explorar el Código

Some test plumbing

master
Dylan Baker hace 5 años
padre
commit
b9e102373d
Se han modificado 3 ficheros con 5 adiciones y 0 borrados
  1. 1
    0
      .coveragerc
  2. 1
    0
      .gitignore
  3. 3
    0
      Pipfile

+ 1
- 0
.coveragerc Ver fichero

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

+ 1
- 0
.gitignore Ver fichero

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

+ 3
- 0
Pipfile Ver fichero

@@ -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…
Cancelar
Guardar