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
Unit testing
(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!
== Unit == A unit is defined as a single behaviour exhibited by the system under test (SUT), usually corresponding to a requirement{{Definition needed|date=January 2025}}. While a unit may correspond to a single function or module (in [[procedural programming]]) or a single method or class (in [[object-oriented programming]]), functions/methods and modules/classes do not necessarily correspond to units. From the system requirements perspective only the perimeter of the system is relevant, thus only entry points to externally visible system behaviours define units.{{Clarify|date=January 2025}}<ref>{{cite book |last=Beck |first=Kent |author-link=Kent Beck |date=2002 |title= Test-Driven Development by Example |publisher=Addison-Wesley |isbn=978-0321146533}}</ref>
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)