Run tests last - Order attribute case
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- csharp
- 領域
- testing-qa
調査の方向性
この issue では既存の Order 属性が示され、C# の例が提供されていますが、リポジトリのファイルやテストはありません。まず Order 属性のドキュメントと実装を特定し、次に関連するテストカバレッジを確認してください。最後の順序の動作と、順序付けされていないテストとの相互作用が文書化され、検証されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
While having the order attribute is great for tests that need to run first / or in a given order, it would be great to also have an attribute for running specific tests last.
Our solution looks like this:
[Test, Order(1)]
public void TestA() { ... }
[Test, Order(2)]
public void TestB() { ... }
[Test]
public void TestC() { ... }
[Test, {shouldRunLast in order(1)}]
public void TestD()
We have some quick integration tests which should run first. We have "normal" tests which don't have the order attribute and we have some very long running tests that should run last.
You can see that it would be a problem to give all "normal" tests an arbitrary order number just so the long running tests are ran last. A "LastOrder(n)" attribute would be appreciated.
- 主要言語
- 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時間 初心者へのやさしさ 75/100
mike-north/AgentMonitors#715 ·
メンテナーはふだん 1 日以内に返信
-
milestone-3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Harsha0912/recall#71 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
callstackincubator/simlock#1986 ·
メンテナーはふだん 1 日以内に返信
-
bug difficulty:1
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
MakazhanAlpamys/Soup#3532 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100