However, when testing small systems where there is only one specification per context, the testcase-class-per-fixture syntax becomes overwhelming and cumbersome to user.
For this reason I’m sometimes using a more compact format for the specifications:
|$MethodName$||The system under test (SUT), will often be a method name|
|$ExpectedBehaviour$||The expected outcome of the given context|
The disadvantages of using this style is that the method names in the test class may get very long, and the test results output isn’t formatted as good as it would have been when using one test case class per fixture:
The following ReSharper live template can be used to quickly add new specifications/tests: