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!
== As executable specifications == {{Unreferenced section|date=September 2019}} Using unit-tests as a design specification has one significant advantage over other design methods: The design document (the unit-tests themselves) can itself be used to verify the implementation. The tests will never pass unless the developer implements a solution according to the design. Unit testing lacks some of the accessibility of a diagrammatic specification such as a [[Unified Modeling Language|UML]] diagram, but they may be generated from the unit test using automated tools. Most modern languages have free tools (usually available as extensions to [[Integrated development environment|IDE]]s). Free tools, like those based on the [[xUnit]] framework, outsource to another system the graphical rendering of a view for human consumption.<ref>GeeksforGeeks. (2024). ''Unit Testing''. Retrieved May 2, 2025, from [https://www.geeksforgeeks.org/unit-testing-software-testing/](https://www.geeksforgeeks.org/unit-testing-software-testing/)</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)