Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 14

Software Quality

Engineering
By: Rashid Mehmood
Lecture 04
Agenda/Topics: Test planning and design, Monitoring and measuring test
execution, test tools and automation
Note: Most of the Content in this Lecture is taken from the Primary Text:
Software Testing and Quality Assurance, Theory and Practice, Kshirasagar
Naik and Priyadarshi Tripathy 1
TEST PLANNING AND DESIGN: Plan

Purpose: to get ready and organized for 2

test execution.
Planning Clarifies: framework, scope,
details of resource needed, effort required,
schedule of activities, and a budget.
What is a Framework.
a set of ideas, facts, or circumstances
within which the tests will be conducted
TEST PLANNING AND DESIGN: Design
During the test design phase, the system requirements are
critically studied,
system features to be tested are thoroughly identified, and 3

the objectives of test cases and the detailed behavior of test cases
are defined. Test objectives are identified from different sources, and

One or more test cases are designed for each test objective. Each
test case is designed as a combination of modular test components
called test steps.

These test steps can be combined together to create more complex,


multistep tests. A test case is clearly specified so that others can
easily borrow, understand, and reuse it.
The test centric approach
Test Driven Development: programmers design and
implement test cases before the production code is
written. 4

Has become an important part of XP and other Agile


Development concepts along with.
(i) incremental development,
(ii) coding of unit and acceptance tests conducted by
the programmers along with customers,
(iii) frequent regression testing, and
(iv) writing test code, one test case at a time, before
the production code.
MONITORING AND MEASURING TEST
EXECUTION
Why: 5

truly represent the progress of testing and reveal the quality


level of the system.
know whether they are on the right track.
Make executive decisions accordingly.
How:
Matrices.
Metrics for monitoring test execution: concerns the process
of executing test cases
Metrics for monitoring defects: concerns the defects found
as a result of test execution
MONITORING AND MEASURING TEST
EXECUTION
Matrices.
Metrics for monitoring test execution: concerns the 6

process of executing test cases


Metrics for monitoring defects: concerns the defects
found as a result of test execution
A management team must identify and monitor
metrics while testing is in progress so that important
decisions can be made.
It is important to analyze and understand the test
metrics, rather than just collect data and make
decisions based on those raw data.
MONITORING AND MEASURING TEST
EXECUTION
Quantitative evaluation is important in every scientific and 7

engineering field.

Quantitative evaluation is carried out through measurement. With


measurements we can verify parameters that are of interest to us.
Example:

Evaluate the effectiveness of a technique used in performing a task.


Evaluate the productivity of the development activities.

Evaluate the quality of the product


MONITORING AND MEASURING TEST
EXECUTION
Quantitative evaluation is important in every scientific and 8

engineering field.

Quantitative evaluation is carried out through measurement.


With measurements we can verify parameters that are of
interest to us.
Example:

Evaluate the product testing Process: Our Primary concern.


MONITORING AND MEASURING TEST
EXECUTION
Evaluate the product testing Process: How?. 9

Test case effectiveness metric:


(1) measure the defect revealing ability of the test
suite and
(2) use the metric to improve the test design process

Note: Escapes in Test cases do Occur.


MONITORING AND MEASURING TEST
EXECUTION
Evaluate the product testing Process: How?. 10

Test effort effectiveness metric: to know the


effectiveness of testing that was performed.
A common measure of test effectiveness is the number of
defects found by the customers that were not found by the
test engineers prior to the release of the product. These
defects had escaped our test effort.
TEST TOOLS AND AUTOMATION

A test engineer can use a variety of tools, such 11

as a static code analyzer, a test data generator,


and a network analyzer
Test automation is essential:
Increased productivity of the testers
Better coverage of regression testing
Reduced durations of the testing phases
Reduced cost of software maintenance
Increased effectiveness of test cases.
(one common baseline benefit: time saver)
TEST TOOLS AND AUTOMATION.:
Preparation.
The test cases to be automated are well defined. 12

Test tools and an infrastructure are in place.

The test automation professionals have prior


successful experience in automation.

Adequate budget should have been allocated for


the procurement of software tools.
13

TEST TEAM ORGANIZATION AND


MANAGEMENT
Question. ?????

Reading: Online Searches and explore what are the different 14


types of Test case Templates:

You might also like