However, I found I cool workaround for this: you can make your test fixture class abstract and put the [TestFixture] attribute on each implementation.
I'm using this technique in Mono's WCF metadata unit tests: mcs/class/System.ServiceModel/Test/MetadataTests/ImportTests.cs is the main test fixture class and the tests inside it are run three times using a different TestContext:
- ImportTests_CreateMetadata.cs creates a new MetadataSet programmatically
- ImportTests_LoadMetadata.cs loads it from an XML file
- ImportTests_RoundTrip.cs creates a new MetadataSet programmatically, exports it into an XML string, then imports it back from that string
You can also make your [Test] methods virtual in the base class, then override it and add [Category] or other nunit attributes to it.