Maintain acceptance test suites

(written by lawrence krubner, however indented passages are often quotes). You can contact lawrence at: lawrence@krubner.com, or follow me on Twitter.

Very interesting notes from Jakub Holý

How to Create Maintainable Acc. T. Suites

Good acceptance criteria (“INVEST” – especially valuable to users, testable)
Layered implementation:
Acceptance criteria (Given/When/Then) – as xUnit tests or with Concordion/FitNesse/…
Test implementation – it’s crucial that they use a (business) domain-specific language (DSL), no direct relation to UI/API, which would make it brittle
Application driver layer – translates the DSL to interactions with the API/UI, extracts and returns results
Take care to keep test implementation efficient and well factored, especially wrt. managing state, handling timeouts, use of test doubles. Refactor.

Post external references

  1. 1
    http://theholyjava.wordpress.com/2015/01/08/notes-on-automated-acceptance-testing-from-the-continuous-delivery-book/
Source