Naming standards for unit tests - 0 views
-
The basic naming of a test comprises of three main parts: [MethodName_StateUnderTest_ExpectedBehavior] Examples: Public void Sum_NegativeNumberAs1stParam_ExceptionThrown() Public void Sum_NegativeNumberAs2ndParam_ExceptionThrown () Public void Sum_simpleValues_Calculated ()
-
anonymous on 01 Aug 10This is the essence of the article.
-