• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
Testing Basics & Unit Test
PSU CS 300 Lecture 8-2
Bart MasseyAssoc Prof Computer SciencePortland State University<bart@cs.pdx.edu>
 
Unit test is a laboratory
“Unit” = procedure, function,method, etc
Most real units aren't wellspecified and designed
Most new unit testing drivenby new methodologies
Unit test informs system test
 
Testing basics
Input:
sequence of inputspresented to program afterstartup
Output:
sequence of behaviors of program afterstartup
Test case:
input
output
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...