Class Notes (1,000,000)
CA (610,000)
UTSG (50,000)
CSC (1,000)
Lecture 12

CSC302H1 Lecture Notes - Lecture 12: Unit Testing


Department
Computer Science
Course Code
CSC302H1
Professor
Matt Medland
Lecture
12

This preview shows half of the first page. to view the full 2 pages of the document.
! INTRODUCTION TO TESTING

oDefects
oFailure
o
Snytax Faults

Algorithmic Faults



!"!# $

Precision Faults!%&
%
Documentation Faults

Stress Faults!&#'%
#
Timing Faults! %

Throughput Faults!
(
Recovery faults) 

!#
Hardware faults*
!
o+'
), 
) -.$/'
 -0$1$/'
  -2$
3$/'
495% e*ective
5
 -6$1$/'
74 -6$2$/'
 8 -6$1$/'
490% e*ective
9#(
'(:'
2$3$/'
;./7
)%<% %8 

o= 
#>7.$/'
8+
? 
<@)=
 ( # 
 #  

o?
A%:!
6B( 
0C
1
.C
24# 
D
3B:
;4 
A$+# 

AA< 7
A6<#
oEF
9#%#  #
G#
H#
#H
47%#:#

o4!F
(
!( %#G

7# ' 
(
(  #
B%## G:#
'#:
B#E
oPower#!%:
oValidity##
oValue
oCredibility 
oNon-redundnacy
oRepetability !7
oMaintainability#

oCoverage+!  

oEase of Evaluation 
oDiagnostic Power#
oAccountabilityI!%J  

oLow Cost,'>!H
oLow Opportunity Cost# 
 #
Types of Testing
oB8%

oUnit Testing 
:K 
oIntegration Testing
 "
Bottom-UpL

K M
+!F
A 
6 
0 (
1 
Top-DownL K
 M
9#%
 G

+!F
A L##% %M
6 >#>>L# N
M
0  
)CF
You're Reading a Preview

Unlock to view full version