Software Unit Testing

The paper requires a free Member account
Please log in to download the file. Don't have a log in? Register now, it's fast and free!
Log in to download this file

Username:  
Password:  



Abstract
Unit testing is cost-effective, reliable, and often reveals insidious bugs that may not turn up when a system is tested against requirements. But what exactly is it, and how do you do it? What level of formality and documentation is required? This paper provides an overview of these practical, ground-level concerns for use in developing your own unit testing procedures.


What this is

This paper is an overview of software unit testing. It defines unit testing, and discusses many of the issues which must be addressed when planning for unit testing. It also makes suggestions for appropriate levels of formality and thoroughness of unit testing on typical development projects.


Why it's useful

For any system of more than trivial complexity, it is highly inefficient and ineffective to test the system solely as a "big black box." Any attempt to do so quickly gets lost in a mire of assumptions and potential interactions. The only viable approach is to perform a hierarchy of tests, with higher level tests assuming "reasonable and consistent behaviour" by the lower level components, and separate lower level tests to demonstrate these assumptions.



The paper requires a free Member account
Please log in to download the file. Don't have a log in? Register now, it's fast and free!
Log in to download this file

Username:  
Password:  






©Copyright 2000-2017 Emprend, Inc. All Rights Reserved.
About us   Site Map   View current sponsorship opportunities (PDF)
Contact us for more information or e-mail info@projectconnections.com
Terms of Service and Privacy Policy

Get Our Newsletter
Get our latest content delivered to your inbox, every other week. New case studies, articles, templates, online courses, and more. Check out our Newsletter Archive for past issues.

Follow Us!
Linked In Facebook Twitter RSS Feeds

Got a Question?
Drop us an email or call us toll free:
888-722-5235
Learn more about ProjectConnections, our contributors, and our membership levels and product options.