Skip to content

testing methods of

Christopher P. Brown edited this page Jan 25, 2022 · 2 revisions

testing

methods of testing

"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

types of tests

  1. Unit Tests
  2. Integration Tests
  3. 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

Clone this wiki locally