Created
June 15, 2018 09:13
-
-
Save ArveSystad/a9cd486f130bc45e64f67e25a62f5f3d to your computer and use it in GitHub Desktop.
Too long parameters in TestFixtures on classes make the R# Test runner window behave weirdly...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
namespace Reproduce_resharper_error | |
{ | |
[TestFixture("Some param")] | |
[TestFixture("Some longer param")] | |
[TestFixture("Some slightly longer param")] | |
[TestFixture("1234567890123456789012345678901234567890")] // Add one more char here, and it disappears from the test runner window | |
[TestFixture("Some really, really, really, really, really, really, really, really long param")] | |
[TestFixture("Some really, really, really, really, really, really, really, really, really, really, really, really long param")] | |
public class Tests | |
{ | |
private readonly string _param; | |
public Tests(string param) | |
{ | |
_param = param; | |
} | |
[Test] | |
public void MyTestMethod() | |
{ | |
Assert.IsNotNull(_param); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment