You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,22 @@ public void ThirdTestToRunB() { }
35
35
publicvoidTestsWithNoPriorityRunLast() { }
36
36
```
37
37
38
-
### Notes
38
+
Priorities are evaluated in numeric order (including 0 and negative numbers). If there are multiple tests with the same priority, those tests will be run in alphabetical order.
39
39
40
-
- Priorities are evaluated in numeric order (including 0 and negative numbers)
41
-
- Multiple tests with the same priority will be run in alphabetical order
42
-
- Tests with no explicit `Priority` attribute are assigned priority `int.MaxValue` and will be run last
40
+
By default, tests with no explicit `Priority` attribute are assigned priority `int.MaxValue` and will be run last. You can change this by setting a `DefaultPriority` attribute on your test class.
0 commit comments