From 3abef79cef000465af85e3e87c8c39dcb924d4e1 Mon Sep 17 00:00:00 2001 From: "shimoda.m@nds-tyo.co.jp" Date: Wed, 3 Aug 2022 15:17:14 +0900 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20Test=20Explorer=E3=81=AE=E5=B0=8E?= =?UTF-8?q?=E5=85=A5=E3=81=AB=E3=81=A4=E3=81=84=E3=81=A6=E8=BF=BD=E8=A8=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecs/crm-datafetch/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ecs/crm-datafetch/README.md b/ecs/crm-datafetch/README.md index 9d580fa5..034cf2d4 100644 --- a/ecs/crm-datafetch/README.md +++ b/ecs/crm-datafetch/README.md @@ -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` From 2fe59b15e7f7366fe8320a4133fdfe4ef71d7c40 Mon Sep 17 00:00:00 2001 From: "shimoda.m@nds-tyo.co.jp" Date: Wed, 3 Aug 2022 15:59:20 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E3=83=86=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E3=81=AE=E3=82=AB=E3=83=90?= =?UTF-8?q?=E3=83=AC=E3=83=83=E3=82=B8=E5=8F=8E=E9=9B=86=E3=83=AC=E3=83=99?= =?UTF-8?q?=E3=83=AB=E3=82=92=E5=A4=89=E6=9B=B4(C1=E3=81=BE=E3=81=A7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecs/crm-datafetch/Pipfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecs/crm-datafetch/Pipfile b/ecs/crm-datafetch/Pipfile index 990beb4b..82796598 100644 --- a/ecs/crm-datafetch/Pipfile +++ b/ecs/crm-datafetch/Pipfile @@ -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 = "*"