I want to create a report of NUnit tests in a binary.
Currently they are sorted alphabetically as per NUnit defaults, so developers need to do things like
public void ALoginFailed() { ... }
public void BLoginPassed() { ... }
in order to get the desired display order in the report. All tests should run independently, so execution order is not important.
I have thought about adding custom attributes, like
[Test(DisplayIndex = 1)]
public void FirstTest() { ... }
... but to me this seems not very friendly to the developer, especially if you have 50 tests and you want to insert one somewhere in the middle, or if you forget to add a display index somewhere.
Is there another cleaner, more robust way of specifying or influencing the display order, or am I stuck with attributes?