in reply to TDD in perl
First it helps to agree on definitions.
An "Acceptance Test" is typically written by a customer, or on behalf of a customer. Its purpose is to verify that the customer is getting what they asked for.
A "System Test" is typically written by the team (or sometimes by QA). Its purpose is to verify that the assembled system "behaves" (for some definition of "behaves" :) There's often a lot of overlap between a System Test and and Acceptance Test.
A "Unit Test" is written by an individual programmer (or a Pair, if you're doing Pair programming). It's purpose is to verify that some component of the overall system behaves according to specifications. Or, if you're doing Test Driven Development, the test can serve the additional purpose of exploring the API before actually coding. The higher-level tests might not care one iota about Unit Tests, which is fine.
Extreme Programming and Test-Driven Development have paid the most attention to Unit Tests, though the "Industrial Extreme Programming" offshoot (http://industrialxp.org/) adds Acceptance Tests to the mix via attention to testing user stories early in the process.
In Perl, Unit Tests are often built with Test::More or one of its predecessors. Acceptance Tests and System Tests, from my experience, are all over the map. There are some options on the horizon. FIT (the Framework for Integrated Testing) has two Perl ports; one on the web site, the other on CPAN (Test::FIT). FIT is aimed at providing a framework that allows stakeholders to express Acceptance Tests via HTML tables (which can be generated either by hand, by a Wiki, or from Excel or Word).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: TDD in perl
by thens (Scribe) on Sep 22, 2003 at 11:55 UTC | |
|
Re: Re: TDD in perl
by michaeld (Monk) on Sep 21, 2003 at 20:47 UTC | |
|
Re^2: TDD in perl
by adrianh (Chancellor) on Sep 22, 2003 at 10:44 UTC | |
by dws (Chancellor) on Sep 23, 2003 at 01:05 UTC | |
by adrianh (Chancellor) on Oct 29, 2003 at 17:02 UTC | |
by dws (Chancellor) on Oct 30, 2003 at 03:52 UTC | |
by adrianh (Chancellor) on Oct 30, 2003 at 16:23 UTC |