nunit / nunit/nunit

Quick fix for test instability around Test.IdPrefix

Open
#2,986 8 comments 0 reactions 1 assignee View on GitHub

@OmicronPersei is already working on this.

Since Aug 26, 2018.

is:build pri:high
Dominant language
C#
Stars
2.6k
Forks
766
Avg merge
1d 3h
Merged PRs (30d)
24

Description

As noted in #2963 , some tests in the solution are changing Test.IdPrefix to a value that's not expected by other tests, causing intermittent test failures, due to the fact that IdPrefix is a static field. As a quick fix, we should go through all tests that set IdPrefix to a invalid value and revert to its original value on test teardown.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.