1/51
Looks like no tags are added yet.
implementation activities (core process 5)
program the software
unit test the software
idenitfy and build test cases
integrate and test components
deployment activities (core process 6)
perform system and stress tests
perform user acceptance tests
convert existing data
build training materials and conduct training
configure and set up production environment
deploy the solution
core processes 5 and 6

testing
the process of examining a component, subsystem, or system to determine its operational characteristic and whether it contains any defects
test case
a formal description of a starting state, one or more events to which the sottware must respond, and the expected response or ending state
defined based on well understood functional and non=-functional requirements
must test all normal and exception situations
test data
a set of starting states and events used to test a module, group of models, or entire system
the data that will be used for a test case
more common types of tests, their type, need/purpose and core process

unit test
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 soimulates the behaviour of a method invoked that hasnt yet been written
unit testing - driver ad stub components diagram

integration test and its four parameters
tests of the behavior of a group of methods, classes, or components
interface incompatibility
parameter values
run time exceptions
unexpected state interactions
interface incompatibility
or 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.
run time exceptions
A method generates an error, such as “out of memory” or “file already in use,” due to conflicting resource needs
Unexpected state interactions
The states of two or more objects interact to cause complex failures, as when an OnlineCart class method operates correctly for all possible Customer object states except one
integration testing of 3 objects/part types
methods
classes
objects
Integration testing of object-oriented software is very complex because an object-oriented program consists of a set of interacting objects
Methods can be (and usually are) called by many other methods, and the calling methods may be distributed across many classes.
Classes may inherit methods and state variables from other classes.
The specific method to be called is dynamically determined at run time based on the number and type of message parameters.
Objects can retain internal variable values (i.e., the object state) between calls. The response to two identical calls may be different due to state changes that result from the first call or occur between calls.
required procedures of integration testing
Build and unit test the components to be integrated
Create test data – comprehensive test data, must be coordinated between developers
Conduct the integration test – Assign resources and responsibilities. Plan frequency and procedures
Evaluate the test results – Identify valid and invalid responses
Log the test results – Log valid test runs. Also log errors
Correct the code and retest
system test
build and smoke test
an integration test of an entire system or independent subsystem
Can be performed at the end of each iteration
Can be performed more frequently
Build and smoke test – a system test that is performed daily or several times a week
The system is completely compiled and linked (built), and a battery of tests is executed to see whether anything malfunctions in an obvious way (“smokes”)
Automated testing tools are used. Catches any problems that may have come up since the last system test
Performance test or stress test
response time
throughput
an integration and usability test that determines whether a system or subsystem can meet time-based performance criteria
Response time – the desired or maximum allowable time limit for software response to a query or update
Throughput – the desired or minimum number of queries and transactions that must be processed per minute or hour
system, performance and stress testing diagram

user acceptance testing (UAT)
User acceptance test
a system test performed to determine whether the system fulfills user requirements
May be performed near the end of the project (or at end of later project iterations)
A very formal activity in most development projects.
Payments tied to passing tests
Details of acceptance tests are sometimes included in the request for proposal (RFP) and procurement contract
planning the user acceptance testing
Should be done early in the project
Test cases for every use case and user stories
Identify conditions to verify that the system supports the use case accurately and completely
sample test case list:

preparation and pre-UAT activities
Develop test data – data entry and database records
Plan and schedule specific tests
Set up test environment
manage and execute the UAT
Much like a mini-project
Assign responsibilities
Document and track results (especially errors and fixes)
Rework the plan for re-testing as required
log and results tracking list UAT

Data needed at system startup can be obtained from these sources:
Files or databases of a system being replaced
Manual records
Files or databases from other systems in the organization
User feedback during normal system operation
ways of converting and initializing data
reuse existing databases
reload databases
Reuse existing databases
Modify or update existing data
Reload databases
Copy and convert the data
Export and import data from distinct DBMSs
Data entry from paper documents
converting and initializing data
complex data conversion example

Training users
Who needs training
End-user training
System operator training
Who needs training: Both end users and system operators.
End-user training: Focuses on hands-on practice for specific business tasks (like order entry, inventory, or accounting). Because skill levels vary, it should include practice exercises, Q&A, and one-on-one tutorials.
System operator training: Can be much less formal; experienced operators and admins usually learn what they need through self-study.

system documentation
Descriptions of system requirements and architecture to help maintenance and upgrade of the system

user documentation
How to interact with and use the system for end users and system operators

configuring the productive environment
infrastructure and clients on a .net application
DIAGRAM

development order:
input, process, output (IPO)
top-down development
bottom-up development
use-case driven
Input, process, output (IPO) – a development order that implements input modules first, process modules next, and output modules last
Top-down development – a development order that implements top-level modules first
Use stubs for testing
Bottom-up development – a development order that implements low-level detailed modules first
Use drivers for testing
Use-case driven – select specific use cases and order the development based on selected use cases
IPO development - package diagram showing dependencies, which constrains development order

source code control
An automated tool for tracking source code files and controlling changes to those files
A programmer checks out a file in read-only mode when he or she wants to examine the code without making changes (e.g., to examine a module’s interfaces to other modules)
When a programmer needs to make changes to a file, he or she checks out the file in read/write mode
The SCCS allows only one programmer at a time to check out a file in read/write mode
four migration approaches

issues to consider when planning - packaging, installing, and deploying components
Incurring costs of operating both systems in parallel
Detecting and correcting errors in the new system
Potentially disrupting the company and its IS operations
Training personnel and familiarizing customers with new procedures
Different approaches to packaging installing and deplopyment components
Direct deployment
Parallel deployment
Phased deployment
direct deployment
a deployment method that installs a new system, quickly makes it operational, and immediately turns off any overlapping systems
Higher risk, lower cost

parallel deployment
a deployment method that operates the old and the new systems for an extended time period
Lower risk, higher cost

parallel deployment problems
partial parallel option
Parallel deployment – Problems
Incompatible inputs (old and new)
Heavier load on equipment, may not have sufficient capacity for both
Heavier load on staff, may require overtime
Partial parallel may be an option
Process only a subset of the data
Use only part of the system – only some functions
phased deployment
a deployment method that installs a new sysem and makes it operational in a series of steps or phrases

change and version control
four versions
tools and processes handle the complexity associated with testing and supporting a system through multiple versions
alpha version
beta version
production version
maintenance release
Alpha version
a test version that is incomplete but ready for some level of rigorous integration or usability testing
beta version
a test version that is stable enough to be tested by end users over an extended period of time
Production version, release version, or production release
a system version that is formally distributed to users or made operational for long-term use
maintenance release
a system update that provides bug fixes and small changes to existing features
version control diagram

Submitting Error Reports and Change Requests
Standard reporting methods
Review of requests by a project manager or change control committee
For operational systems, extensive planning for design and implementation
Implementing a Change
Identify what parts of the system must be changed
Secure resources (such as personnel) to implement the change
Schedule design and implementation activities
Develop test criteria and a testing plan for the changed system
RMO example