Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Documentation request: pytest-bdd execution explanation

オープン
#348 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
38/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

feature ファイル、step 定義、scenario デコレーター、pytest の実行に関する既存の pytest-bdd ドキュメントを確認してください。この issue では特定のファイルやテストは指定されていません。pytest の実行から scenario と step 定義のマッチングまでの高レベルな実行フローを文書化し、各コンポーネントがどのように連携するかを簡潔に説明してください。

索引モデルが issue の本文から書いたものです。

説明

I found the docs helpful for describing the different components within the framework - like feature files, step definitions, scenario decorators, etc. - but not for explaining how they work together.

What exactly happens when you run pytest with pytest-bdd?

At a high level, I imagine it goes something like this:

  1. Scan for feature files
  2. Create list of scenarios and step definitions from feature files
  3. Scan for scenario and step definitions
  4. Create list of scenario/step definitions
  5. For each step in each scenario, try to find a step definition and execute if found

I wonder if adding a brief section describing how it the framework executes might help clarify how it is meant to be used.

主要言語
Python
スター
1.5k
フォーク
251
平均マージ
3時間 41分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pytest-dev/pytest-bdd のほかの issue

pytest-dev/pytest-bdd の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。