I have given these areas particular attention because they provide interesting challenges. Acceptance Criteria (AC) Gathering is one of the most important areas in Agile and yet is given one of the lowest priorities. There is a great proliferation of Test Automation tools and QAs are currently 'spoilt for choice'.
An assumption I have made is that ACs are separate from Tests because they possess unique features. ACs are created by the customers in their own language, stakeholders read them, they are short and succinct, and their purpose is to reflect a common understanding of requirements. Tests, on the other hand, are created by QAs using a structured 'language', the primary readership are QAs and Developers, they can be long and involved, and their purpose is to produce reports that demonstrate that the AUT has met the ACs. However it is true that the lines that distinguish ACs from Tests are, over time, becoming blurred.
Base Criteria
Key:
- Should be from a list of 'Best of breed' tools
- Good support/documentation
- Large community of users
- Support scripting/programming using well established languages
- Follows industry standards
- Pick the right tool for the specific requirement
- 'Buy' not build
- Good integration with other tools in a similar space
- Open source
- Follows your company's standards
Acceptance Criteria Gathering
Key:
- Traceability between ACs and Tests, maintained when ACs are modified and broken-down
- Supports a variety of approaches; BDD, Declarative, Persona based etc
- Encapsualted with a Story framework handling;Title, ACs, estimate (story points) by role, scope, priority, assumptions, epic etc
- Holds attachments to further info such as; wireframes, UML, screens, docs, links
- Application-wide ACs (performance, browser support, resolution etc) supported
- Provided modelling techniques to draw out ACs e.g. mind map, crud, flow chart
- Heuristic (e.g. library of gotchas, library of common requirements for your domain)
- Libraries of common re-ocurring data /scenarios etc
- Addresses reporting / card producing requirements
Additional:
- Distinguishes 'core business functionality' from edge cases and usability
- Lightweight and intuitive
- Can view the application at the same time as writing ACs
- Handles dependencies on other Stories
- Support EPIC stories
- Audit of ACs broken-down into more detailed stories
- Integrated into Backlog Management Tool
- Integrated into Sprint Management Tool
- Sign-off record
- Annotation by team members
- Audit (who, what, when, why) of changes
- Configurable Story Template
Test Automation
Key:
- Traceability between AC and Tests and Results and Bugs
- Supports Page Object pattern (separation of page from tests)
- Useful range of Web element selection strategy (eg Xpath, CSS)
- Easy to build Keyword Driven and Data Driven testing
- Test results reporting with support for; test pass/fail with screenshots, screenshots for evidence of pass states, and coverage reports for of AC versus tests
- Integrated into CI and Regression .. e.g. ANT compatible
- Technical scope supported : OS, browsers, non-JS, interface to other envs (e.g. b-e servers) , https
- Code re-use e.g. using OO for inheritance and polymorphism
- Code completion using OO encapsulation
- Ability to configure tests, in other words can pass parameters
- Grouping of tests to run and report by group (eg Smoke, Story)
- Handles Web behaviour such as Ajax, JS, dialoges
- Ensure the working processes match the tool's benefits, e.g. a tool supporting BDD works best where Product Owners are able to work with QAs to product the test scenarios.
Additional:
- Supports Acceptance TDD - Write and run test before app is developed
- Customer readable tests
- Usable by non-developer community
- Independent of AUT technology
- Test results reporting with support for; report on individual web interaction (clicks etc), summary and graphical representations and customisable to allow highlighting of key areas
- Performant (may have many tests to run in the regression suite)
- OS portable (can run on Windows, Unix, Mac etc)
- Exposes Browser properties and states (e.g. cookies)
- API to the underlying OS