CSC 216 Lecture Notes - Lecture 2: Cyclomatic Complexity, Equivalence Class, Boundary-Value Analysis

29 views6 pages
23 Aug 2016
School
Course
Professor

Document Summary

Testing is the result of finding software faults. Fault: an incorrect step, process, or data definition in a program. Testing: the dynamic verification of the behavior of a program on a finite set of test cases, suitably selected from the usually infinite executions domain, against the expected behavior. Test cases uncover failure by finding where the actual behavior of a program deviates from the expected behavior; investigation of failures uncovering faults. Testing increases confidence that your program works correctly = meets the customer requirements: better scores on assignments, save companies millions, if not billions, of dollars. It costs more to fix a problem in a program than it does to fix it before it"s sold or released. Black box testing: ignores the internals of the program program treated as a black box: finds . Errors in data structures or external data base access. White box testing: code under test is known; use code to guide test: your tests should exercise.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents