Skip to content

Commit a6626d4

Browse files
nanae772tarepanHiroshiba
authored
docs: CONTRIBUTING.mdにカバレッジの取り方を追記 (#1582)
Co-authored-by: tarepan <[email protected]> Co-authored-by: Hiroshiba <[email protected]>
1 parent 1db5ca6 commit a6626d4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,14 @@ python -m pytest
325325
python -m pytest --snapshot-update
326326
```
327327

328+
### カバレッジを取る
329+
330+
以下のコマンドを実行することでカバレッジを取ることができます。
331+
332+
```bash
333+
coverage run --omit=test/* -m pytest && coverage report -m
334+
```
335+
328336
### 脆弱性を診断する
329337

330338
`pip-audit` を用いた脆弱性診断により依存パッケージの安全性を確保しています。

0 commit comments

Comments
 (0)