Make `strict` behaviour consistent and document it
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- testing
調査の方向性
まず、提案されている厳格な動作の表を確認し、さまざまな Cucumber 実装と比較します。望ましいデフォルト値と結果について合意し、その後、差異について実装固有の問題を特定します。実装間の整合が取れ、合意した動作がドキュメントサイトに記載されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Various cucumber implementations have inconsistent behaviour for strict:
- Default value true or false?
- Does strict cause undefined steps to fail?
- Does strict cause pending steps to fail?
I propose we make strict default to true. By defaulting to true we're actively discouraging users from making a lot of WIP, and I think an opinionated tool like Cucumber should do stuff like that.
I also propose the following behaviour:
| strict=true | strict=false | |
|---|---|---|
| undefined step | error | no error |
| pending step | error | no error |
| failed step | error | error |
| passed step | no error | no error |
| ambiguous step | error | error |
I haven't looked into whether the various implementations behave like this. Let's agree on the desired behaviour - then create issues for the implementations that deviate so we can fix this.
When all implementations are fixed we should put this up on the docs site.
- 主要言語
- 言語のデータがありません
- スター
- 3.4k
- フォーク
- 676
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cucumber/common のほかの issue
-
Upgrade to TypeScript 7再び着手できるかも @davidjgoss が 124 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンlanguage: javascript
-
Allowing both DocString and DataTable on a single step再び着手できるかも @mpkorstanje が 129 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
-
Enable static analysis再び着手できるかも @mpkorstanje が 220 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
cucumber/common の issue をすべて見る
似ている issue
-
frontend testing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
vendrabuck/HERD#1588 ·
メンテナーはふだん 1 日以内に返信
-
`explain <unknown topic>` prints a JSON object and exits 0 instead of an error that lists the topicsオープンenhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
good first issue priority: low testing
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
mobile
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
bug help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信