LEARNING UNIT 5: CHAPTER 14
DEPLOYING THE NEW SYSTEM LEARNING OBJECTIVES
LO10: discuss various types of software tests
LO11: discuss the advantages of various approaches to data conversion and system deployment
LO12: explain the role of configuration and change management, and source code control for the
implementation, testing, and deployment of a system
IMPLEMENTING AND DEPLOYMENT ACTIVITIES
WHAT IS TESTING?
Testing: the process of examining a component, subsystem, or system to determine its
operational characteristics and whether it contains any defects
Test care: a formal description of a starting state, one or more events to which the software
must respond, and the expected response or ending state
o Defined based on well understood
o functional and non-functional requirements
o Must test all normal and exception situations
Test data: a set of starting states and events used to test a module, group of modules, or
entire system
o The data that will be used for a test case
, MOST COMMON TYPES OF TESTS
Unit testing tests of an individual method, class, or component before it is integrated with other
software
Driver: a method or class developed for unit testing that simulates the behaviour of a
method that sends a message to the method being tested
Stub: a method or class developed for unit testing that simulates the behaviour of a method
invoked that hasn’t yet been written
UNIT TESTING
Driver and stub components
Integration testing: tests of the behaviour of a group of methods, classes, or components
Interface incompatibility: for example, one method passes a parameter of the wrong data type to
another method
Parameter values: a method is passed or returns a value that was unexpected, such as a negative
number for a price
DEPLOYING THE NEW SYSTEM LEARNING OBJECTIVES
LO10: discuss various types of software tests
LO11: discuss the advantages of various approaches to data conversion and system deployment
LO12: explain the role of configuration and change management, and source code control for the
implementation, testing, and deployment of a system
IMPLEMENTING AND DEPLOYMENT ACTIVITIES
WHAT IS TESTING?
Testing: the process of examining a component, subsystem, or system to determine its
operational characteristics and whether it contains any defects
Test care: a formal description of a starting state, one or more events to which the software
must respond, and the expected response or ending state
o Defined based on well understood
o functional and non-functional requirements
o Must test all normal and exception situations
Test data: a set of starting states and events used to test a module, group of modules, or
entire system
o The data that will be used for a test case
, MOST COMMON TYPES OF TESTS
Unit testing tests of an individual method, class, or component before it is integrated with other
software
Driver: a method or class developed for unit testing that simulates the behaviour of a
method that sends a message to the method being tested
Stub: a method or class developed for unit testing that simulates the behaviour of a method
invoked that hasn’t yet been written
UNIT TESTING
Driver and stub components
Integration testing: tests of the behaviour of a group of methods, classes, or components
Interface incompatibility: for example, one method passes a parameter of the wrong data type to
another method
Parameter values: a method is passed or returns a value that was unexpected, such as a negative
number for a price