DotNet Unit Tests Naming Conventions and Static Methods
System Under Test (Sut)
Developping using TDD, I am using a naming convention for my Unit Tests, where the code I am testing is always refered as Sut for System Under Test.
That way when I look in my code it s way easier for me to see what is actually being tested.
Static methods
This naming convention is not working when using static methods.
…
Unless using aliases.
As I am using one test class per class I am developping, I am using a simple trick to keep this naming convention.
Namespace aliases :