-
Notifications
You must be signed in to change notification settings - Fork 1
testing methods of
Christopher P. Brown edited this page Jan 25, 2022
·
2 revisions
"Arrange, Act, Assert" is a pattern that is considered a fundamental element of writing software tests.
-
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.
src: https://docs.microsoft.com/en-us/visualstudio/test/unit-test-basics?view=vs-2019#write-your-tests
- Unit Tests
- Integration Tests
- UI Tests
Unit tests are the smallest and fastest.
UI tests are the biggest and slowest.
This is a reprentation of Mike Cohn's Test Pyramid