Rules

Secret ingredients to quality software

Edit
Info

Do you write acceptance tests to verify Acceptance Criteria?

Created on 08 Nov 2012 | Last updated by Tiago Araújo [SSW] on 16 Mar 2021 10:10 PM (about 1 month ago)

Acceptance Tests (built by the developers) verify that the Acceptance Criteria are met.

The goal is for teams to move beyond manual testing and implement automated testing. E.g. CodedUI tests, Telerik Tests etc

Test cases answer the question, "How do I test and what are the test steps?"

acceptance criteria test cases
Figure: Test Cases in a User Story (MSF For Agile Template)

Positive Test - When I enter ‘Adam’ in the Search box and click ‘Search’ I will see all entries starting with Adam in the Grid
Negative Test - When I enter ‘zzz’ in the Search box and click ‘Search’ I will see no entries in the Grid
Gold Plating - If no results are retuned show a message box ‘No results found’
Gold Plating – Validation: If no search text is entered, the ‘Search’ button should be disabled
Gold Plating – Validation: If the button is disable and search text is entered, the ‘Search’ button becomes enabled
Gold Plating – Right clicking on a column header and using the ‘Sort’ functionality, sorts the data by that column
Gold Plating – if a large set of results is returned, clicking the pagination page numbers shows the correct data
Gold Plating – if a large set of results is returned and we are on page > 1, clicking the ‘Prev’ button goes to the previous page
Gold Plating – if a large set of results is returned and we are on page 1, ‘Prev’ button does not error
Gold Plating – if a large set of results is returned and we are on page < MaxPage, clicking the ‘Next’ button goes to the next page
Gold Plating – if a large set of results is returned and we are on page = MaxPage, clicking the ‘Next’ button does not error

Figure: Good example - Acceptance Tests

test cases
Figure: The tester sees the Test Cases in Test Manager

test steps
Figure: The tester follows each instruction (aka the Test Steps), and gives it a tick or cross

Adam StephensenAdam Stephensen

We open source. This page is on GitHub