Declare and check the external tools that scenarios need
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start from the Behat feature files config-edit.feature and post.feature and the requirement handling described in #392. Read the test runner that filters on @require-* tags and the linter for feature files. Done means required executables are declared as tags, checked before run, and missing tools report as undeclared with the tag to add.
索引モデルが issue の本文から書いたものです。
説明
Some scenarios depend on external tools without declaring it. For example, config-edit.feature in config-command and post.feature in entity-command use ex as the editor. Where ex is missing, these scenarios fail halfway through, after the setup has already run. In post.feature that happens at the 17th step of the scenario, after a WordPress install and 6 wp calls.
Some declared requirements are not checked at all: @require-composer, @require-download and @require-opcache-save-comments appear in feature files but never filter anything.
Steps:
- Support declaring required executables as tags, checked before the run like the other requirements and reported as described in #392.
- Check the existing
@require-*tags that are currently ignored, and warn about unknown ones so that typos do not go unnoticed. - When a command fails because an executable is missing, report it as an undeclared requirement, naming the tag to add, instead of as a regular test failure. This also catches tools used inside
wpcommands, such asmysqldump,svnorzip. - Flag steps that call known external tools without the matching tag when the feature files are linted.
- Add the missing tags to the existing feature files in the command packages.
- 主要言語
- PHP
- スター
- 42
- フォーク
- 28
- 平均マージ
- 15時間 17分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wp-cli/wp-cli-tests のほかの issue
-
scope:testing status:unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
wp-cli/wp-cli-tests#389 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
scope:testing
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
wp-cli/wp-cli-tests#395 ·
メンテナーはふだん 1 日以内に返信
-
scope:testing
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
wp-cli/wp-cli-tests#394 ·
メンテナーはふだん 1 日以内に返信
-
scope:testing
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
wp-cli/wp-cli-tests#392 ·
メンテナーはふだん 1 日以内に返信
-
scope:testing status:unconfirmed
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
wp-cli/wp-cli-tests#391 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
wp-cli/wp-cli-tests の issue をすべて見る
似ている issue
-
bug webbackend
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
DOMjudge/domjudge#3886 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
opensourcepos/opensourcepos#4794 ·
メンテナーはふだん 1 日以内に返信
-
repo:cms
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
craftcms/cms#20235 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
REST API: decimal ids like 1.5 give 500 on folder and report endpoints対応中かも @console-log-life が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 3 日以内に返信