Issues with Implementing Values Attribute and Customizing Name Format

オープン
#305 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
領域
testing

調査の方向性

まず Values、TestCaseSource、生成されるテスト名のドキュメントを確認してください。この issue ではファイルもテストも指定されていません。要求されているパラメーター名の形式がドキュメントの変更なのか機能リクエストなのかを判断し、先に進む前に表示される形式を定義してください。

索引モデルが issue の本文から書いたものです。

説明

This may be an issue with documentation(or a feature request, i'll lean on the side that i'm missing something), however I am currently running into an issue that i'm having difficulty finding a workaround.

Currently I am able to use the Values attribute correctly, however i am not able to use the Values attribute in conjuncture with a custom name assigned to the collection of test cases.
I've attempted TestCaseSource, however I am unable to implement this change using the Values attribute (with it's current restrictions).

Simple Business Description:

  • I have a test with 3+ parameters (all using the value property, (all enums in this case))
  • I have Label that is generated, however it does not accurately convey what that test is doing.

Desired Result:

  • Have the parameters used displayed along with the name of the variable they're assigned to.

Ex:
The shared enum has 3 values, All, Some, and None.
Test will display as:
Test("Param1Name : All, Param2Name: Some, Param3Name: None")

Instead, I am getting:
Test(All,Some,None)

主要言語
Dockerfile
スター
601
フォーク
159
平均マージ
22時間 18分
マージ済み PR(30日)
6

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nunit/docs のほかの issue

nunit/docs の issue をすべて見る

似ている issue

Testing & QA の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。