-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DefaultPriority bug #7
Comments
Thanks for the detailed report! I'll take a look at this later today. |
I'm not able to reproduce this. Here's the class I'm using: [TestCaseOrderer(PriorityOrderer.Name, PriorityOrderer.Assembly)]
[DefaultPriority(0)]
public class TestClass
{
[Fact, PriorityAttribute(10)]
public void Foo()
{
Console.WriteLine("third");
}
[Fact, PriorityAttribute(-10)]
public void Bar()
{
Console.WriteLine("first");
}
[Fact]
public void Baz()
{
Console.WriteLine("second");
}
} All three tests run for me, in the correct order. Is it possible you have some filter on your test runner that is preventing your |
Oh sorry mate thats error about my spaggetti code. |
Hello i have problem about your library. when i use defaultpriority attribute some method who have bigger priority than defaultpriority value its doesnt work/trigger.
xunit version: 2.42
.net version: 7.0.4
The text was updated successfully, but these errors were encountered: