What is the best way to measure coverage for your Acceptance Tests??
How do you define how much your acceptance tests cover and when they are enough??
What is the best way to measure coverage for your Acceptance Tests??
How do you define how much your acceptance tests cover and when they are enough??
When doing acceptance testing, I'd rather look at the functional coverage i.e. how much features (or user stories or use cases) of a given application are tested. And to me, for each feature (or user story or use case), all scenari or possible paths should be tested. In other words, features should be the starting point to write a test plan and the goal should be to cover features, not code. This is a slight difference but an important one: measuring acceptance testing with code-coverage is developer oriented, measuring functional coverage is end-user oriented.
Regarding measurement, Ron Jeffries, one of the founding fathers of Agile, wrote an excellent summary of what he considers a truly valuable metric, RTF or Running Tested Features. You can view the article here. I'm just quoting a small part below:
To report progress, I especially like cumulative flow diagrams. They clearly show when something is going wrong, e.g. (here a burnup style):
(source: xprogramming.com)
For a real life example, have a look at this post or this one (burndown style chart).