Showing the actual value of complex type parameter with NUnit in the reports
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- csharp
- 領域
- documentation, testing
調査の方向性
リンクされている Stack Overflow の質問と、パラメーター化テストおよびレポートの命名に関する NUnit のドキュメントから始めます。複雑なパラメーター値がレポートでサポートされているか確認し、この issue のテスト例を使って、サポートされている動作または制限をドキュメント化します。ドキュメントに明確な回答と例または回避策があれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi guys,
first forgive me if this is not the right place to ask questions, but to me it is most suitable.
I remember that I've seen somewhere in the web about showing actual value of complex type parameter. Bear with me while I explain what I mean.
With this test:
[Test]
public void Post_StakeToDifferetnSelectionsViaBetsBetIdEndpoint_ReturnsCorrectData(
[ValueSource(typeof(JsonContextCache), nameof(JsonContextCache.RandomThreeUniqueSelecionIds))] string[] selectionIds,
[ValueSource(typeof(TestData), nameof(TestData.OddStyles))] OddStyle oddStyle,
[Values(true, false)] bool logged)
My report is generated as following:
Post_StakeToDifferetnSelectionsViaBetsBetIdEndpoint_ReturnsCorrectData(System.String[],European,True)
This also applies for user defined custom types as well.
What I want to achieve however is showing the actual values of this complex type parameters:
Post_StakeToDifferetnSelectionsViaBetsBetIdEndpoint_ReturnsCorrectData(["1","2","3"],European,True)
Is it possible using nUnit or I am mistaken that I've seeing this in the web?
I've also asked that question on SO - https://stackoverflow.com/questions/47649312/showing-the-actual-value-of-complex-type-parameter-with-nunit-in-the-reports
Thanks,
kuskmen
- 主要言語
- 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時間 初心者へのやさしさ 68/100
audacity/audacity.github.io#118 ·
-
bug improve content
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
opensafely/documentation#2102 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
agentregistry-dev/website#69 ·
-
15.0
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
docs: add SECURITY.md vulnerability reporting policy対応中かも @AK-Lmn が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
flisk-sh/linux2wasm#12 ·
メンテナーはふだん 1 日以内に返信