1MethodName_StateUnderTest_ExpectedBehavior
2 Example: add_twoPositiveIntegers_returnsTheirSum()
3 Variant: Add_TwoPositiveIntegers_ReturnsTheirSum()
4 Note: This is not camel case, so the question of whether to start each new chunk with a capital is up to you.
5
6MethodName_ExpectedBehavior_StateUnderTest
7 Example: add_returnsTheSum_ofTwoPositiveIntegers()
8 Variant: Add_ReturnsTheSum_OfTwoPositiveIntegers()
9
10itShouldExpectedBehaviorConnectingWordStateUnderTest
11 Example: itShouldCalculateTheSumOfTwoPositiveIntegers()
12 Variant: testItCalcultesTheSumof..
13
14givenStateUnderTest_whenMethodAction_thenExpectedBehavior
15 Example: givenTwoPostiveIntegers_whenAdded_thenTheyShouldBeSummed
16 Variant: givenTwoPositiveIntegerWhenAddedThenTheyShouldBeSummed()