gauge-python
#Gauge
https://pypi.org/project/getgauge/
https://github.com/getgauge/gauge-python
例:https://github.com/getgauge-examples/python-selenium
Install Gauge
https://docs.gauge.org/getting_started/installing-gauge.html?os=macos&language=python&ide=vscode
gauge install pythonで最新化(バージョン不整合による実行時エラーがなくなる)
例:https://github.com/getgauge/gauge/issues/1659#issuecomment-636604851
VSCode拡張も入れる
https://marketplace.visualstudio.com/items?itemName=getgauge.gauge
Create a Test Project
https://docs.gauge.org/getting_started/create-test-project.html?os=macos&language=python&ide=vscode
VSCode拡張を使ってプロジェクト(ファイルやディレクトリ一式)を作る
Gauge (VS Code拡張)
リポジトリのREADMEにgauge init python(scaffolding)
Running a Specification
https://docs.gauge.org/getting_started/running-a-specification.html?os=macos&language=python&ide=vscode
VSCode拡張によりspecファイルを開いて「Run Spec」「Run scenario」できる
gauge run specs
specsディレクトリ内のspecファイルのテストを実行
specs/file.specのようにファイルも指定できた
Viewing Reports(省略)
https://docs.gauge.org/faqs.html?os=macos&language=python&ide=vscode#id14
python.properties
STEP_IMPL_DIR (カンマ区切り)
GAUGE_PYTHON_COMMAND