PDA

View Full Version : What are acceptance tests?


Branko Starasinic
12-18-2003, 01:44 AM
Are they also written in code like unit tests? How do they differ from unit
tests?

Where can I find some examples?

Thanks.

Branko

Ilja Preuß
12-18-2003, 03:27 AM
Branko Starasinic wrote: Are they also written in code like unit tests? How do they differ from unit tests?

Unlike unit tests, they are directly defined by the Customer. Therefore it's
best when they are written in a language the Customer can understand.

See http://www.google.de/search?q=acceptance+tests
Where can I find some examples?

http://fitnesse.org/

Take care, Ilja

Uncle Bob (Robert C. Martin)
12-18-2003, 07:23 AM
"Branko Starasinic" <someone@somewere.com> might (or might not) have
written this on (or about) Thu, 18 Dec 2003 10:44:52 +0100, :
Are they also written in code like unit tests? How do they differ from unittests?

Acceptance tests are black box tests written (or at least specified)
by the customer and business analysts. They are used to determine
when a story is done. You cannot say that a story is done until that
story's acceptance tests pass.

We want acceptance tests to be written by business analysts and
stakeholders. Towards that end there is an open source tool named
FitNesse. This tool uses Ward Cunninghams's FIT framework, and allows
business analysts and stakeholders to specify and enter their tests in
terms of tables of data. These tables supply input data, and expected
output data. At the click of a button, business analysts and
stakeholders can run these tests and see whether or not the system is
working, and which stories are complete.
Where can I find some examples?

Take a look at FitNesse. www.fitnesse.org. There are quite a few
sample (and real) acceptance tests at that site, and you can execute
them and see them run.


Robert C. Martin | "Uncle Bob"
Object Mentor Inc. | unclebob @ objectmentor . com
501 N. Riverside Dr.| Tel: (800) 338-6716
Suite 206 | Fax: (847) 775-8174 | www.objectmentor.com
| | www.XProgramming.com
Gurnee, IL, | Training and Mentoring | www.junit.org
60031 | OO, XP, Agile, C++, Java, C# | http://fitnesse.org


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service