Allow a wildcard index in WicketTester component paths
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start with wicket-tester/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java, especially assertLabel and getComponentFromLastRenderedPage, then inspect the tests under wicket-core-tests/src/test/java/org/apache/wicket/util/tester/. First clarify the scope, wildcard character, and behavior when multiple rows match in an issue comment. Done means the agreed path behavior has tests and the public API has Javadoc and an @since tag.
索引モデルが issue の本文から書いたものです。
説明
To check a cell of a table or a row of a list view, a test has to know the exact row index:
tester.assertLabel("table:rows:1:cells:2", "MyCell");
When the test only cares that some row contains the value, a wildcard index would make it independent of ordering:
tester.assertLabel("table:rows:?:cells:2", "MyCell");
Where
wicket-tester/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java, assertLabel and the methods that resolve a path to a component (getComponentFromLastRenderedPage). WicketTester is shipped to applications, so new behaviour is public API and needs Javadoc and an @since.
Done when
- Agree in a comment on the scope first: only
assertLabel, or every assertion that takes a path; which character (?or*, and whether either can occur in a real component id); and what "matches" means when several rows match. - Tests in
wicket-core-tests/src/test/java/org/apache/wicket/util/tester/.
Background
Originally requested as WICKET-6488.
Part of #1945. This issue is meant for a first contribution to Wicket. To work on it, leave a comment so others know; a claim without a pull request lapses after two weeks. Questions are welcome, here on the issue or on [email protected]. Start your branch from master, and see Send a pull request to Wicket for building and testing.
- 主要言語
- Java
- スター
- 800
- フォーク
- 437
- 平均マージ
- 21時間 36分
- マージ済み PR(30日)
- 167
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/wicket のほかの issue
-
PropertyResolver fails on JDK classes with a non-public field named like the property対応中かも @vaibhavgupta443 が今日担当しました。 オープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
apache/wicket#1991 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Stop the autocomplete from accumulating request parameters while typing対応中かも @aryankalantri が今日担当しました。 オープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
apache/wicket#1947 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Validate the report-uri value given to CSPHeaderConfiguration#reportBack対応中かも @AzizOuertani が 3 日前に担当しました。 オープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
apache/wicket#1946 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
メンテナーはふだん 6 日以内に返信
-
account assessment course feature lecture
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
bug db/dameng user-priority/P2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
app:learninggoalhub enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100