Professional Documents
Culture Documents
Report Fin
Report Fin
testing
Test methodology
and capabilities
Executive summary
Software testing usually consists of test cases based upon adequacy of test scope coverage is questionable. This
requirements or user stories. To achieve a desired level of adds risk to the project and unanticipated expenses when
coverage, a certain number of tests will be executed, and defects are found in production.
they usually contain a lot of redundancy. This approach
What can help? Is there a practical solution to address
is inefficient, wastes time and extends deployment
these challenges?
timelines. Due to resource and time constraints, test case
creation and execution are usually truncated, and the
TABLE OF CONTENTS
Executive summary 3
Pairwise testing 4
Current state 4
Why pairwise? 5
Benefits of pairwise 6
When to apply pairwise testing 7
Data parameter-driven
test design tool 8
Constraints tab 8
Requirements tab 9
Test Cases tab 9
Analysis tab 10
Model-based test design tool 11
EY pairwise testing 3
Pairwise testing Why pairwise?
Pairwise is an industry technique that has been around of scenarios with all discrete value pairs to be tested at Without certain tools, it can be extremely challenging for to perform risk-based testing. Pairwise tools provide
for more than a decade. The demand to get to the market least once. When testing a complex application, there testers and managers to determine how much testing is modeling capabilities that are easily understood and easy
faster has driven a growth in the use of tools to do testing can be an enormous number of possible tests that enough. A pairwise test tool helps derive an optimal mix to use. Furthermore, it is easy to maintain test cases by
faster while not compromising quality and risk. In the could potentially be executed. There usually is no clear of scenarios without negatively impacting the cost. At adding new features or eliminating those not needed.
past, pairwise tools were used on stable systems; however, mathematical basis to identify the test coverage and the same time, it offers adequate control to the teams
using it upfront while building the system has shown it no visual analysis of all the possible tests in one single
reduces testing efforts. Industry defines pairwise as “a location. This is mostly because documentation is either
combinatorial method of software testing that, for each not updated with the latest requirements or is scattered
High Are we here?
pair of input parameters to a system (typically, a software across systems. With information scattered across Are we here?
algorithm), tests all possible discrete combinations of multiple sources, there is a repeated effort to test the
those parameters.” Pairwise generally means “occurring same or a similar test scenario, which fails to add value
in pairs” or “two at a time.” and takes up more time. Pairwise tools not only provide ?
you the optimized data combination but also have an ?
Pairwise is used to achieve a desired result in the most
analysis capability that visually shows the pairs and
efficient manner possible. When given a set of input
coverage percentage and allows you to adjust to see the
parameters, the algorithm derives a minimum number Cost of testing
impact.
plus development
Too few test: Appropriate Too many tests:
gaps in coverage amount largely redundant
lead to costly of testing tests result in
bug fixes delays and waste
Low
Low High
Amount of testing
Pairwise tools save time in both the planning and cases but do not execute test cases. However, they do
execution phases by enabling systematic testing provide capabilities to export to other tools that can
coverage. During the test design stage, teams are able to automate test execution. The pairwise application can
select and document tests much faster as guesswork is become less effective when parameters are applied
eliminated. On average, pairwise testing can achieve 50% unnecessarily. To thoroughly identify parameters and
time savings without sacrificing coverage. When teams test sets, testers must possess good critical thinking
are deciding how much to test, tools allow testers to skills, experience, and knowledge of the system and
configure certain parameters to achieve a desired level of business processes being tested. With the demand to
coverage with the fewest number of tests. test faster and the growing maturity of pairwise testing,
incorporating pairwise in the existing test frameworks
Demand to get to the market fast is high. This puts the highest-risk areas. One approach used today is to use There are certain fundamentals that testers should
between a test management tool and a test automation
more pressure on testing to be able to handle changes Excel with macros to define all the combinations, which understand when using pairwise testing tools. For
tool is an ideal choice.
and new requirements faster. The demand to deliver is very time-consuming to create and doesn’t optimize. instance, pairwise tools automate the creation of test
faster presents other challenges, as well. With crunched Therefore, there are a lot of redundancies. These
timelines, the ability to test everything in a shorter redundancies get carried over to the test automation,
amount of time becomes an issue. Automation has been thereby impacting the cost to automate as testers then
one of the capabilities that has been implemented to have more scripts to analyze, automate and run. As tools
speed up testing. However, automation can be expensive have advanced, pairwise has become more applicable by 1. Create/upload test cases 1. Create modal/test inputs 1. Create test scripts
and is not always effective or implemented correctly. reducing the time it takes to define all the combinations
2. Execute test cases 2. Create optimized tests 2. Execute test scripts
Additionally, to ensure quality and reduce risk, you need and generate the test cases.
to make sure you have adequate coverage and are testing 3. Create defects 3. Export test cases 3. Report results
Test management tool Pairwise/OAT tool aka test/ Test automation tool
design/model/optimization
Implementation cycles
The next step is to generate the test cases. Select the nodes will appear so you can select and review. Save the
type of optimization you want to perform and then paths generated and then you can review the coverage
generate the test cases. All paths and the number of amounts for each path.
ey.com