Where should Acceptance tests be written against?

Posted by Jonn on Programmers See other posts from Programmers or by Jonn
Published on 2011-06-27T01:03:08Z Indexed on 2011/06/27 8:30 UTC
Read the original article Hit count: 239

Filed under:

I'm starting to get into writing automated Acceptance tests and I'm quite confused where to write these tests against, specifically what layer in the app. Most examples I've seen are Acceptance tests written against the Domain but how about tests like:

Given Incorrect Data When the user submits the form Then Play an Error Beep

These seem to be fit for the UI and not for the Domain, or probably even the Service layer.

© Programmers or respective owner

Related posts about acceptance-testing