Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Test-driven development
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Keep the unit small=== For TDD, a unit is most commonly defined as a class, or a group of related functions often called a module. Keeping units relatively small is claimed to provide critical benefits, including: * Reduced debugging effort โ When test failures are detected, having smaller units aids in tracking down errors. * Self-documenting tests โ Small test cases are easier to read and to understand.<ref name="Pathfinder Solutions" /> Advanced practices of test-driven development can lead to [[acceptance testโdriven development]] (ATDD) and [[specification by example]] where the criteria specified by the customer are automated into acceptance tests, which then drive the traditional unit test-driven development (UTDD) process.<ref name="Koskela">Koskela, L. "Test Driven: TDD and Acceptance TDD for Java Developers", Manning Publications, 2007</ref> This process ensures the customer has an automated mechanism to decide whether the software meets their requirements. With ATDD, the development team now has a specific target to satisfy โ the acceptance tests โ which keeps them continuously focused on what the customer really wants from each user story.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)