소스 검색

Some test plumbing

master
Dylan Baker 5 년 전
부모
커밋
b9e102373d
3개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      .coveragerc
  2. 1
    0
      .gitignore
  3. 3
    0
      Pipfile

+ 1
- 0
.coveragerc 파일 보기

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

+ 1
- 0
.gitignore 파일 보기

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

+ 3
- 0
Pipfile 파일 보기

@@ -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…
취소
저장