I organize my specs using a category class with inner classes for each context
class ConsumeSpecs
{
[Subject("Consuming")]
class when_consuming
{
// ...
}
}
This allows multiple contexts to be grouped logically and also ensures that file names don't end up reflecting the spec name (e.g. when_consuming.cs) which is undesirable for several reasons.
I'd also like to have Resharper display my tests by Category, but it isn't recognizing [Tags] on the outer class and adding it to each spec is noise. Is there a way to report to Resharper the [Tags] from containing classes?
I organize my specs using a category class with inner classes for each context
This allows multiple contexts to be grouped logically and also ensures that file names don't end up reflecting the spec name (e.g. when_consuming.cs) which is undesirable for several reasons.
I'd also like to have Resharper display my tests by Category, but it isn't recognizing [Tags] on the outer class and adding it to each spec is noise. Is there a way to report to Resharper the [Tags] from containing classes?