Documentation needed about how to write a "where" statement for test cases resulting from TestCase attribute or TestFixture parameters
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- csharp
- 領域
- cli, documentation
調査の方向性
Test Selection Language のドキュメントと、そのコマンドラインのエントリポイントである --where から始めます。示されている TestFixture コンストラクターの値と TestBug345 の例を使用して、TestCase および TestFixture のパラメーターによって生成されるテストを選択する例を追加します。完了条件は、ドキュメントで特定のテストに適したフィルター構文と、より広い fixture の選択について説明されていることです。
索引モデルが issue の本文から書いたものです。
説明
Please, can you write a couple of more examples in the documentation about the Test Selection Language about how to select tests resulting from TestCase attribute or TestFixture various constructing values etc.
For example I have a test that I want to select Test.ClipboardTests("no").TestBug345. I see this full name by doing the following on the assembly:
using (ITestEngine engine = TestEngineActivator.CreateInstance(true))
{
engine.WorkDirectory = Environment.CurrentDirectory;
engine.InternalTraceLevel = InternalTraceLevel.Verbose;
TestPackage package = MakeTestPackage(assemblyName);
ITestRunner runner = engine.GetRunner(package);
return runner.Explore(TestFilter.Empty);
}
The ClipboardTests test fixture has these attributes:
[TestFixture("en-US")]
[TestFixture("no")]
public class ClipboardTests{
.
.
.
}
I have been trying to single out that test when running the command line by using:
--where="test=~/.*Test.ClipboardTests(\"no\").TestBug345.*/"
However, that does not work.
Of course, if I do --where="test=~/.*Test.ClipboardTests.*/", then I get all the tests in that fixture.
- 主要言語
- Dockerfile
- スター
- 601
- フォーク
- 159
- 平均マージ
- 22時間 18分
- マージ済み PR(30日)
- 6
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nunit/docs のほかの issue
-
area:adapter type:newpage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
Document why output from ASP.NET Core handlers (WebApplicationFactory) is not captured, and the workarounds対応中かも @SeanKilleen が 36 日前に担当しました。 オープンarea:framework type:update
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
-
type:newpage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
Dependency Dashboardオープン
難易度 3/5 1〜2日 初心者へのやさしさ 15/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
prime-radiant-inc/evener#8065 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
pbakaus/impeccable#1718 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
Mcrich23/Container-Compose#197 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
yvgude/lean-ctx#2280 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: cli
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
vitruv-tools/NeoJoin#430 ·
メンテナーはふだん 1 日以内に返信