Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
swdev:dotnet:unit_testing_with_nunit [2016/06/30 15:37]
smayr [Pattern AAA]
swdev:dotnet:unit_testing_with_nunit [2016/06/30 15:38] (current)
smayr [Pattern AAA]
Line 81: Line 81:
 </code> </code>
    
 +This can be summed up as a pattern:
   * Arrange: setup everything needed for the running the tested code. This includes any initialization of dependencies, mocks and data needed for the test to run.   * Arrange: setup everything needed for the running the tested code. This includes any initialization of dependencies, mocks and data needed for the test to run.
   * Act: Invoke the code under test.   * Act: Invoke the code under test.