Kiếm thử phần mềm
https://anhtuanzinto.wordpress.com/category/unit-test/
Unit-Test Patterns for .NET
https://www.typemock.com/unit-test-patterns-for-net/
https://www.typemock.com/unit-test-patterns-part-ii/
https://www.typemock.com/unit-test-patterns-part-iii/
Arrange-Act-Assert (AAA) Pattern
- Arrange
- Act
- Assert
Writing Unit Tests for the .NET Framework with the Microsoft Unit Test Framework for Managed Code
https://msdn.microsoft.com/en-us/library/hh598960.aspx
The AAA (Arrange, Act, Assert) pattern is a common way of writing unit tests for a method under test.
-
The Arrange section of a unit test method initializes objects and sets the value of the data that is passed to the method under test.
-
The Act section invokes the method under test with the arranged parameters.
-
The Assert section verifies that the action of the method under test behaves as expected.