Merge branch 'feature-NEWDWH2021-630' into feature-NEWDWH2021-644-controller
This commit is contained in:
commit
dba0060130
@ -5,8 +5,8 @@ name = "pypi"
|
||||
|
||||
[scripts]
|
||||
test = "pytest tests/"
|
||||
"test:cov" = "pytest --cov=src tests/"
|
||||
"test:report" = "pytest --cov=src --html=.report/test_result.html tests/"
|
||||
"test:cov" = "pytest --cov=src --cov-branch --cov-report=term-missing tests/"
|
||||
"test:report" = "pytest --cov=src --cov-branch --cov-report=term-missing --html=.report/test_result.html tests/"
|
||||
|
||||
[packages]
|
||||
boto3 = "*"
|
||||
|
||||
@ -145,6 +145,12 @@ pipenv install --dev
|
||||
pipenv run test:cov
|
||||
```
|
||||
|
||||
#### 拡張機能:Python Test Explorer UIを導入する場合
|
||||
|
||||
- VSCodeの拡張機能メニューから、「Python Test Explorer for Visual Studio Code」をインストール
|
||||
- コマンドパレットから「Python Configure Tests」を選択、「Pytest」を選択
|
||||
- テストメニュー(フラスコのマーク)から、テストを実行することができるようになる
|
||||
|
||||
#### 各コマンドの説明
|
||||
|
||||
- `pipenv run test`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user