Академический Документы
Профессиональный Документы
Культура Документы
|
complete
v Testing is not a creative Task
Bug free
delivered on time
within budget
meets requirements
maintainable
°
|
|
$%|$|&
· A risk is a condition that can result in a loss.
· The development and installation of a computer
system introduces risks into the organization.
· We cannot eliminate risks, but we can mitigate them.
· ne of the most effective methods to reduce computer
system strategic risk is testing.
Continued . . .
Computer file integrity will be lost.
Processing cannot be reconstructed.
Continuity of processing will be lost.
Service provided to the user will degrade to an
unacceptable level.
Security of the system will be compromised.
Processing will not comply with organizational
policy or governmental regulation.
$%|$|&
Continued . . .
?
· All errors are costly, but the later in the life cycle
that the error discovery is made, the more costly
the error.
!"
##$%#
!&"
m
#'
equirements Upon validation to determine that the defined Determine verification approach
requirements meet the needs of the Determine adequacy of
requirements
organization.
enerate functional test data
Determine consistency of design
with requirements
Test phase:
The phase of the systems development life cycle
in which testing will occur.
ot all test factors will be applicable to all
software systems.
The development team will need to select and
rank the test factors for the specific software
system being developed. nce selected and
ranked, the strategy for testing will be partially
defined.
The test phase will vary based on the testing
methodology used.
Ex: The test phases in a traditional waterfall
lifecycle methodology will be much different from
the phases in a apid Application Development
methodology.
Test Factors
Correctness
File Integrity
Authorization
Audit Trail
Continuity of processing
Service levels
Access control
Compliance
eliability
Ease of use
Test Factors
Continued . . .
Maintainability
Portability
Coupling
Performance
Ease of peration
Developing a Test Strategy
A generic test strategy is illustrated in the figure
which is a test_factor/test_phase matrix. However,
this strategy will need to be customized for any
specific software system.
Four steps must be followed to develop a customized
test strategy.
Select and rank test factors
Identify the system development phases
Identify the business risks associated with the
system under development
Place risks in the matrix
|'
TEST
PHASE
TEST
FACTS
(high to low)
(
,
Testing Methodology
The testing methodolgy we propose
incorporates both testing strategy and testing
tactics. The tactics add the test plans, test
criteria, testing techniques, and testing tools
used in validating and verifying the software
system under development.
|
|
ot Looking.
Looking, but not seeing.
The four testing tactics of validation,
verification, functional test, and structural
test, which are the bread and butter of
testing can be separated into two groups:
erification :
Did we build the right system?
alidation :
Did we build the system right?³
$%|$w'$%
+(# )( % -)$## $+#$
-#)$
equirements reviews Developers, Users The study & discussion eviewed statement of
of the computer requirements, ready to
system reqs to ensure be translated into
they meet stated user system design.
needs & are feasible
Design eviews Developers The study & discussion System design, ready
of the computer to be translated into
system design to computer programs,
ensure it will support hardware configs,
the system docs, and training.
requirements
Code Walkthroughs Developers An informal analysis of Computer software
the program source ready for testing or
code to find defects more detailed
and verify coding inspections by the
techniques. developer.
System Testing Developers, Testers The testing of an entire A tested computer system,
computer system. This based on what was
kind of testing can include specified to be developed
functional and structural or purchased.
testing, such as stress
testing. alidates the
system reqs.
User Acceptance Testers, Users The testing of a computer A tested computer system,
Testing system or parts of a based on user needs.
computer system to make
sure it will work in the
system regardless of what
the system requirements
indicate.
|
Disadvantages :
· Potential of missing logical errors in software.
· Possibility of redundant testing.
|
Advantages :
· Software¶s structure logic can be tested.
· Areas not covered in functional testing can be
tested.
Disadvantages :
· Doesn¶t ensure that software meets user
requirements.
· Its tests may not mimic real·world situations.
!"
%
Following are considerations to convert the
developed test strategy, into test tactics or test
plan that will be followed in executing the day·to·
day testing.
Functional Testing
Properties of TEST SET derived from a
description of the program's function.
|
w
Structural Testing
Structural analysis based test sets tend to
uncover errors that occur during coding of the
program.
Functional Testing
Functional analysis·based test sets tend to
uncover errors that occur in implementing
requirements or design specifications.
|
w
Structural Testing
Structural testing ensures sufficient testing of the
implementation of a function.
Dynamic Testing
Dynamic analysis requires that the program be
executed and hence involves the traditional
notion of program testing.
i.e. The program is run on some test cases and
the results of the program's performance are
examined to check whether the program
operated as expected.
!$w|
Static Testing
Static analysis does not usually involve actual
program execution. Common static analysis
techniques include such tasks as syntax
checking.
!$w|
Dynamic Testing
Exhaustive Testing:
It is a Dynamic analysis technique.
It is infinite and infeasible.
?
$)*#
(%#
$#.#$ $#.#$ $#.#$ $#.#$ $#.#$ $#.#$
#.# #.# #.# #.# #.# #.#
|
|$
)
· Structural system testing is designed to verify
that the developed system and programs work.