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

Consider adding a very small working example to the repo and readme

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

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

評価

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

調査の方向性

まず README と、提案されている例の構成(book.py、book.feature、test_book.py)を確認します。background、複数のシナリオ、step parser、feature の読み込みを含む、小さく実行可能な例を追加します。ユーザーがファイルをコピーして正常に実行できれば完了です。

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

説明

enhancement

Hi there,

(again a repeated thanks for this killer project. It has been fun to work with and really adds a lot to my project.)

When I was getting started out I would have appreciated a running example. I had to sort out some issues with file placement and naming, and just simple organization. The readme and various blogs show how to use it, but having something running to hack at is so much nicer.

My idea is that users could just copy a working set of files into their project or an empty dir, run it, and start from there. Something as simple as:

/ example
book.py -- a very simple class
book.feature
test_book.py

The feature would contain the basics: a background, a few scenarios (possibly with one failing so that users could tweak it), some steps with a parser, some without, and the test_book.py would just pull in all of the features.

If you'd like I can kick off an initial draft and PR a draft back to this repo. Cheers, jz

主要言語
Python
スター
1.5k
フォーク
251
平均マージ
43分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

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

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

似ている issue

Python の issue をもっと見る

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

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