Support for tag filtering
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- scala
- 領域
- cli, testing-qa
調査の方向性
testOnly CLIエントリーポイントから始め、既存の組み込みタグである ignore と only がどのように解析され、適用されるかを追跡します。例から、AND、OR、NOT、グループ化、ワイルドカードでサポートされる動作を定義し、そのうえで testOnly * -- -t foo のようなコマンドが期待されるタグ付きテストを選択することを確認します。
索引モデルが issue の本文から書いたものです。
説明
Currently looks like that there is only support for built-in tags (ignore and only) but despite you can tag any test with tagged that has not use.
I was wondering if there is appetite to support filtering based on the test tags, that will allow to write something like this using a syntax similar to Github search where the (space) is the AND, the , is the OR and ! for NOT:
testOnly * -- -t foo // Run all the tests tagged with foo
testOnly * -- -t !foo // Run all the tests not tagged with foo
testOnly * -- -t foo,bar // Run all the tests tagged with foo or bar
testOnly * -- -t foo,!bar // Run all the tests tagged with foo or not tagged with bar
testOnly * -- -t (foo,bar) baz // Run all the tests tagged with foo or bar and the tests tagged with baz
Additionally, it would be useful to support wildcards for pattern matching:
testOnly * -- -t bug-* // Run all tests tagged with bug-123, bug-critical, etc.
testOnly * -- -t *:prod // Run all tests tagged with env:prod, db:prod, etc.
testOnly * -- -t test-? // Run all tests tagged with test-1, test-a, etc. (single character)
This would be really useful to my use case and I am happy to contribute if possible.
- 主要言語
- Scala
- スター
- 87
- フォーク
- 17
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
typelevel/weaver-test のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
typelevel/weaver-test#372 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
typelevel/weaver-test#302 · コメント 3 件 · リアクション 1 件 ·
-
Remove or filter weaver log levels再び着手できるかも @Sukuna0007Abhi が 285 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
typelevel/weaver-test#262 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
typelevel/weaver-test#201 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
typelevel/weaver-test#180 ·
typelevel/weaver-test の issue をすべて見る
似ている issue
-
v4 LSU does not mask TLB exceptions on miss: PTW refill causes Load Access Fault on M-mode loadオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
riscv-boom/riscv-boom#835 ·
-
Add a base64url Stringable helper対応中かも @nafg が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nafg/simple-router#362 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
propensive/soundness#2351 ·
メンテナーはふだん 1 日以内に返信
-
Traffic event delivered/rejected counters appear swapped in TrafficStateController.updateWithReceiptオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
digital-asset/canton#705 ·
メンテナーはふだん 2 日以内に返信
-
easy first-contributor first-contributors good first issue help wanted scala up-for-grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
fork-commit-merge/fork-commit-merge#8457 ·
メンテナーはふだん 1 日以内に返信