SlideShare a Scribd company logo
1 of 6
Download to read offline
Test Optimization Using Adaptive Random Testing
Techniques
Balamurali L
Senior SQA Manager
Quality & Testing Group
NeST
Trivandrum, India
Balamurali.l@nestgroup.net
S Prem Sagar
Senior Lead-Testing
Quality & Testing Group
NeST
Trivandrum, India
Prem.sagar@nestgropu.net
Indumol K S
Senior Test Engineer
Quality & Testing Group
NeST
Trivandrum, India
Indumol.ks@nestgroup.net
Arun Kumar V
Engineer-QA
Quality & Testing Group
NeST
Trivandrum, India
Arunkumar.v@nestgroup.net
Abstract - In today’s competitive software development scenario,
the customer demands a testing coverage which not only ensures
the stated requirements but also the implied ones. This situation
calls for an exhaustive testing which may not be always possible
due to various reasons. Testing, due to its last position in SDLC,
often gets crunched due to the cumulative schedule slippages.
Hence Tester is faced with a challenge to make testing as efficient
as possible within a short time span due to cost constraints. With
selective testing an only option, test leads usually go for the age-
old approach of Random Testing. Random testing does not
ensure coverage in a scientific manner. Hence the quality and
coverage of the testing cannot be guaranteed.
This paper explains the concept of Adaptive Random Testing in
which each test case is selected such that it covers a scenario
which would be dimensionally farthest from the previously
conducted test.
Index Terms – Random Testing, Anti-Random Testing, Adaptive
Random Testing, ART Series, ART for Binary, Cartesian Distance,
Hamming Distance.
I. INTRODUCTION
XHAUSTIVE testing may not be always possible in
software development life cycles due to various reasons
like budget limitation, schedule crunches etc. Since
exhaustive testing will turn out to be an expensive agenda,
managements are on a lookout for alternatives.
Though Random Testing is often used as a cost reduction
strategy wherein testing a product is done using test cases and
test data that has been chosen at random, it may ensure a
satisfying test coverage due to its unscientific nature Although
the judgment of the test lead or test engineers is used for
choosing the test cases, indicative attributes like the test cases
previously executed are not considered.
While methods like Taguchi, pair wise testing etc lend a
technical approach to defining efficient test cases, these
methods do not address the optimal sequence for executing the
test cases. The usage of numerical strategies to identify the
sequence of tests giving maximum coverage would lend more
credibility to the final testing by increasing the probability of
detecting failures.
The objective of this paper is to explain the Adaptive
Random Testing (ART) technique. For a set of suitably
designed tests, this strategy helps to enhance the testing
process by
• Defining an optimal sequence of test execution.
• Defining the point beyond which executing of further
test cases may not be beneficial (for extremely short and
critical testing phases).
• Selecting critical scenarios for execution in case of
multiple environments.
II. ADAPTIVE RANDOM TESTING
Adaptive random testing uses mechanisms to ensure much
even and widespread distributions of test cases over an input
domain. It is an effective improvement of Random Testing
(RT) in the sense that fewer test cases are needed to detect the
first failure. It is based on the observation that failure-causing
inputs are normally clustered in one or more contiguous
regions in the input domain. Hence, the test execution should
refer to the locations of successful test cases (those that do not
reveal failures) to ensure that all test cases are far apart and
evenly spread in the input domain.[3] i.e., for a function f(p,q),
random testing would choose p and q in an ad-hoc fashion
while adaptive random testing attempts to choose p and q such
that maximum coverage of input domain is obtained in
minimal time.
E
FIG 1
INPUT SELECTION
In ART, new tests are selected religiously by ensuring the
distance of the new test to be maximum from all the
previously run tests. This ensures that every new test
conducted will execute some new lines of code which are not
executed by the previous tests. The selected test will then have
maximum probability of exposing a non-captured bug.
Consider the case of testing a 3-dimensional cube.
FIG 2
3-DIMENSIONAL CUBE FOR TESTING
If you start with testing the corner with Cartesian
coordinates (0,0,0), to ensure maximum coverage, the next test
should be for the corner with Cartesian coordinates (1,1,1).
This is the basic concept behind ART.
The distance can be computed either by Hamming Distance
or Cartesian Distance methods.
A. Hamming Distance
Hamming distance is the number of bits in which two
binary vectors differ. It is not defined for vectors containing
continuous value. Total Hamming distance for any vector is
the sum of its Hamming distance with respect to all the
previous vectors
For e.g. Hamming distance between
• 1011101 and 1001001 is 2.
• 2173896 and 2233796 is 3.
• "toned" and "roses" is 3.
B. Cartesian Distance
Cartesian distance between two vectors
A = {a0, a1…, an} and B = {b0, b1…, bn} is given by:
]CD (A, B) =  [(a0-b0)2
+ (a1-b1)2
+ … + (an-bn)2
Total Cartesian distance for any vector is the sum of its
Cartesian distance with respect to all previous vectors. It can
also be seen that if all the variables in two vectors are binary,
then
CD (A, B) =  HD (A, B)
For e.g., consider the example of finding distance between two
vectors A = {0,0,1,0,1} and B = {1,1,0,0,1}
HD (A, B) = | 0 – 1| + | 0 – 1| + | 1- 0 | + | 0 – 0 | + | 1 – 1 |
= 3
CD (A, B) =  [(0-1)2
+ (0-1)2
+ (1-0)2
+ (0-0)2
+ (1-1)2
] = 3
C. Maximal Distance Adaptive Random Testing
Sequence
Maximal Distance ART Sequence is a test sequence such
that a test ‘ti’ is chosen such that the distance of ‘ti’ from all
the previously conducted tests t0, t1,…, ti-1 is maximum when
compared with all the remaining test scenarios ti+1, …, tn.
i.e. Total Distance, TD (ti) = j=0i-1 D (ti, tj); D (ti, tj)
indicates the distance between the vectors ti and tj.
D. Generation of ART Sequence
To understand the concept of determining distances in the
input domain, we go through the generation of some basic
adaptive random sequences. We are considering only the
Cartesian Distance for finding the distance between two
vectors.
E. ART for 4 factors taking binary values
Consider a function which is having four factors w, x, y and
z is to be tested. All the factors can take only binary values i.e.
either 0 or 1. Totally there will be 24 = 16 test scenarios as
shown in Table 1.
TABLE 1
ALL POSSIBLE COMBINATIONS OF TEST SCENARIOS FOR A 4 FACTOR BINARY
CASE
w x y z
vector 1 0 0 0 0
vector 2 0 0 0 1
vector 3 0 0 1 0
vector 4 0 1 0 0
vector 5 1 0 0 0
vector 6 1 1 0 0
vector 7 1 0 1 0
vector 8 1 0 0 1
vector 9 0 1 1 0
vector 10 0 1 0 1
vector 11 0 0 1 1
vector 12 0 1 1 1
vector 13 1 0 1 1
vector 14 1 1 0 1
vector 15 1 1 1 0
vector 16 1 1 1 1
We need to identify the sequence of test scenarios which
will give us the maximum coverage when executed. Without
losing the generality we can choose the first vector for testing
as A1 = {0, 0, 0, 0}. Now we need to find the test scenario,
which is at a maximum distance from the selected scenario.
Taking Cartesian distance between the vectors, from Table 2, it
can be seen that Vector 16 is the vector which is at a maximum
distance from A1.
TABLE 2
DISTANCE FROM VECTOR A1 TO OTHER VECTORS
w x y z D(ti,t0)
A1 0 0 0 0
vector 2 0 0 0 1 1.00
vector 3 0 0 1 0 1.00
vector 4 0 0 1 1 1.41
vector 5 0 1 0 0 1.00
vector 6 0 1 0 1 1.41
vector 7 0 1 1 0 1.41
vector 8 0 1 1 1 1.73
vector 9 1 0 0 0 1.00
vector 10 1 0 0 1 1.41
vector 11 1 0 1 0 1.41
vector 12 1 0 1 1 1.73
vector 13 1 1 0 0 1.41
vector 14 1 1 0 1 1.73
vector 15 1 1 1 0 1.73
vector 16 1 1 1 1 2.00
Vector 16 can be selected as Select 2. i.e. A2 = {1, 1, 1, 1}.
Now the select 3 has to be taken such that it is at a maximum
distance from the already selected two vectors. From Table 3,
indicates that there are 6 vectors which are equidistant from A1
and A2. Without losing generality we can choose one vector
from the available 6 vectors. Let us choose A3 = {0, 0, 1, 1}.
TABLE 3
DISTANCE FROM A1 AND A2 TO OTHER VECTORS
w x y z D(ti,t0)
A1 0 0 0 0
A2 1 1 1 1
vector 2 0 0 0 1 2.73
vector 3 0 0 1 0 2.73
vector 4 0 0 1 1 2.83
vector 5 0 1 0 0 2.73
vector 6 0 1 0 1 2.83
vector 7 0 1 1 0 2.83
vector 8 0 1 1 1 2.73
vector 9 1 0 0 0 2.73
vector 10 1 0 0 1 2.83
vector 11 1 0 1 0 2.83
vector 12 1 0 1 1 2.73
vector 13 1 1 0 0 2.83
vector 14 1 1 0 1 2.73
vector 15 1 1 1 0 2.73
From Table 4 we identify that the next vector at maximum
distance from A1, A2 and A3 is vector 13 and so A4 will be {1,
1, 0, 0}.
TABLE 4
DISTANCE FROM VECTOR A1, A2 AND A3 TO OTHER VECTORS
w x y z D(ti,t0)
A1 0 0 0 0
A2 1 1 1 1
A3 0 0 1 1
vector 2 0 0 0 1 3.73
vector 3 0 0 1 0 3.73
vector 5 0 1 0 0 4.46
vector 6 0 1 0 1 4.24
vector 7 0 1 1 0 4.24
vector 8 0 1 1 1 3.73
vector 9 1 0 0 0 4.46
vector 10 1 0 0 1 4.24
vector 11 1 0 1 0 4.24
vector 12 1 0 1 1 3.73
vector 13 1 1 0 0 4.83
vector 14 1 1 0 1 4.46
vector 15 1 1 1 0 4.46
In a similar fashion, the rest of the ordering can be computed
and the resulting adaptive random test sequence will be as
shown in Table 5.
TABLE 5
ADAPTIVE RANDOM TEST SEQUENCE
w x y z
A1 0 0 0 0
A2 1 1 1 1
A3 0 0 1 1
A4 1 1 0 0
A5 0 1 0 1
A6 1 0 1 0
A7 1 0 0 1
A8 0 1 1 0
A9 0 0 0 1
A10 1 1 1 0
A11 0 0 1 0
A12 1 1 0 1
A13 0 1 0 0
A14 1 0 1 1
A15 0 1 1 1
A16 1 0 0 0
III. ART IN PROJECTS
Generation of the adaptive random testing sequence includes
the following steps.
A. Identification of the test situation
This includes analyzing the system under test. The factors
based on which tests should be designed are to be identified.
This could include the test environments as well as test data.
Two possible scenarios for where ART can be used includes
1) Configuration Testing:
Internationalization of software products being a key
feature today, configuration testing is essential for software
products which are expected to work in on a wide number of
platforms and operating systems. The various conditions
including operating system, language etc can be considered as
different factors. ART is done for selecting critical test
environments in a product expected to work in 16 languages
and 7 OS.
2) User Interface Testing:
Widespread usage of software applications like online
forms opens the user interfaces to a wide and often untrained
mass of people. Hence the testing of these user interfaces
becomes very critical. The various fields with their possible
entries can be considered as different factors
B. Designing for ART
It is not practical to assume that all systems under test will
have only factors with binary inputs. The systems under test
need to be mapped to numerical terms to effectively use ART.
1) Case 1: non-binary two factor case:
To test the form shown in Fig 3, with 3 factors each taking
two values, the factors are converted to a binary set using the
guideline in Table 6.
FIG 3
FORM FOR VOTING DETAILS
TABLE 6
MAPPING OF VARIABLE FACTORS TO BINARY TERMS
Factor/Value 0 1
Gender Male Female
Marital Status Single Married
Voting Status Yes No
Now the problem reduces to a simple ART sequence
generation problem. Hence vectors are defined as A1 = {0, 0,
0};  A1 = {Male, Single, Yes}, A2 = {1, 1, 1} A2 =
{Female, Married, No}.etc
2) Case 2: Non-Binary More than Two Factor Case:
Consider a software application involving a database of
employees of different levels. Let the factors be ‘Gender’ of
the employee (Male and Female), ‘Designation’ in which
he/she is placed in the organization (SE, SSE and LE) and the
‘Grade’ obtained for each designation (1, 2, 3 and 4). For ART
scenario creation, the first step is to replace the non-numerical
values into numerical form. As a couple of factors have more
than two possible levels of inputs, the resultant mapping will
not be of binary form. Table 7 shows the mapping of factors
and inputs.
TABLE 7
MAPPING OF VARIABLE FACTORS TO BINARY TERMS
Factor/Value 0 1 2 3
Gender Male Female
Designation SE SSE LE
Grade 1 2 3 4
For ART, a variation in each of the factors should have the
same impact while generating the sequence. But in the above
case we can see the factor ‘gender’ can vary only from 0 to 1
while the factor ‘grade’ takes a value from 0 to 3. As they are
not assigned values uniformly, with the current assignment,
the factor ‘grade’ is having a greater influence in the distance
computations, which is illogical.
To overcome the lacuna, we have to normalize the levels
of the factors. By normalizing the factors, Table 7 can be
rewritten as shown in Table 8. These normalized values can be
used for the ART sequence creation.
TABLE 8
NORMALIZED MAPPING OF VARIABLE FACTORS TO BINARY TERMS
Factor/Value 0 0.33 0.5 0.67 1
Gender Male Female
Designation SE SSE LE
Grade 1 2 3 4
C. Generating ART
The ART sequences for Case 1 and Case 2 in section 3.2
are as follows:
TABLE 9
ART SEQUENCE FOR VOTING APPLICATION
Sl No: Gender
Marital
Status
Voting
Status
A1 Male Single Yes
A2 Female Married No
A3 Male Single No
A4 Female Married Yes
A5 Male Married No
A6 Female Single Yes
A7 Male Married Yes
A8 Female Single No
TABLE 10
ART SEQUENCE FOR EMPLOYEE DATABASE
Sl No: Gender Designation Grade
A1 Male SE 1
A2 Female LE 4
A3 Male SE 3
A4 Female LE 1
A5 Male LE 2
A6 Female SSE 4
A7 Female SE 1
A8 Male SSE 4
A9 Male LE 3
A10 Male SE 4
A11 Male SE 2
A12 Female LE 2
A13 Female SE 3
A14 Female LE 3
A15 Male SSE 1
A16 Female SE 2
A17 Male LE 1
A18 Female SE 4
A19 Male LE 4
A20 Female SSE 1
A21 Male SSE 2
A22 Female SSE 3
A23 Male SSE 3
A24 Female SSE 2
IV. ADVANTAGES OF ART SEQUENCES
ART ensures that the test scenarios are executed such that
the maximum coverage is obtained with minimum scenarios
and the scenarios with maximum coverage are executed first.
This helps in early defect finding thereby reducing the
effective cycle time.
ART sequence identifies the preferred order of test
execution for the exhaustive set of test cases thus providing
flexibility for the test lead to identify the test exit point.
V. LIMITATIONS OF ADAPTIVE RANDOM TESTING
SEQUENCES
ART is effective when the number of variable and factors
increases. But it can be noticed that as the number of variables
and factors goes up, it is almost impossible to derive the
ARTS manually. Test application has to be made which will
generate the ART sequence once the factors and input levels
are given.
VI. FUTURE WORK
The examples shown above sequenced all the possible
scenarios. In a situation with minimal time for testing, two
strategies can be adopted to cut down the number of test
scenarios logically.
1) Defining ART Index:
ART Index identifies the number of test scenarios in the
ART sequence to be executed in order to attain a defined level
of stability. ART Index is defined as a threshold value of
average distance between the test scenarios At least all test
scenarios with average distance till this defined index should
be executed. The average distance can be defined as the
average of distances of newly selected vector from all the
previous vectors. In the above problem, if the ART Index is
defined as 1.4, it indicates that all test scenarios which are at a
distance of 1.4 of beyond from the previously executed test
scenarios will be executed. The level of stability is inversely
proportional to the ART Index.
2) Adopting Taguchi:
Taguchi strategies can be adopted for selecting the critical
scenarios to be tested [4]. Determining ART sequence from
this will help to ensure that the critical scenarios are run such
that maximum coverage is obtained even if the complete
sequence cannot be run.
VII. CONCLUSION
Adaptive Random testing is a new test generation approach
that requires further theoretical and experimental
investigations. Here we have presented its effectiveness to
optimize the testing process by keeping tests as different as
possible from each other. The limitation of adaptive random
testing confining to binary values has been overcome by
mapping process. Effective use of ARTS ensures that the
faults are identified earlier and chaotic testing phase can be
brought under control.
VIII. ACKNOWLEDGMENT
The Authors are thankful to Mr. N. Jehangir, Managing
Director, NeST Group, for the motivation and support he has
provided for all the improvement initiatives within the
organization. We also thank Mr. Sasi Kumar, President of
NeST, TVM for the support in carrying out this work. We are
grateful to Mr. Sebastian Antony Ukken, Head QTG,
Rajagopal K, Program Manager QTG,Annu George, SQA
Manager QTG , Deepa G, Senior Test Manager QTG for their
useful discussions and suggestions at different stages of this
work. All the members of Quality and Testing Group of NeST
are acknowledged for their help towards data collection.
IX. REFERENCES
[1] 1. Yashwant K Malaiya, “Adaptive Random Testing : Getting the
most out of Black Box Testing”, Technical Report 96-129, Computer
Science Department, Colorado State University, Fort Collins, CO, 1996
[2] 2. G Meyers, “Art of Software Testing”, John Wiley & Sons, 1979
[3] 3. T.Y. Chen, Zongyuan Yang, T.H. Tse and De Hao Huang, An
Innovative Approach to Tackling the Boundary Effect in Adaptive
Random Testing: Proceedings of the 40th Annual Hawaii International
Conference on System Sciences (HICSS-40)
[4] 4. Unni Sankar, Deepa Thampy, Applying Taguchi Methods in
Software Product Engineering, Proceedings of QAI’s SEPG Conference
2002
X. BIOGRAPHIES
Balamurali L is working as Senior
SQA Manager at Network Systems
and Technologies (NeST). He took his
M.Tech from Indian Institute of
Technology (IIT) Kanpur and has
more than 11 years of experience in
the industry. Has played a lead role in
implementing the models like CMMI1.1, CMMI 1.2, ISO
9001:2008, Automotive SPICE, ISO 27001 and IEC61508. He
has worked as an Assessment Team Member for CMMI V 1.2.
A CSQA holder by QAI US as well as a Certified Tester
(advanced level- Test Management) by ISTQB, he is involved
in activities of Indian Testing Board and plays an active role in
the core group of the Trivandrum chapter of Software Process
Improvement Network (SPIN). He also a certified Test
Manager, Information Security Professional and Internal
Auditor by Department of IT, Govt. of India. He is also
CQSPE (by QAI) certified. He can be contacted at
balamurali.l@nestgroup.net
Indumol K S is a Senior Test Engineer at
NeST - A CMMI Level 5 Company,
Trivandrum. She is a Computer
Engineering diploma holder and has an
industrial experience of 7 years. She is an
ISTQB Certified Test Engineer and a
NeST Certified Testing Professional. She
is specialized in Medical & HealthCare
domains. She plays an active role in the Independent Testing
Team (ITT) of NeST. She can be contacted at
indumol.ks@nestgroup.net.
S Prem Sagar is currently working as a
Senior Lead - Testing with the Quality &
Testing Group of Network Systems and
Technologies, Technopark Trivandrum. He
is a Bachelor of Engineering and has above
10 yrs of IT experience performing Testing
& Quality Management, Project
Management & Web development. He had
previously worked as a Test Lead with Pentasoft Technologies,
Tidel Park, Chennai. He is a member of Project Management
Institute and a certified ISTQB test engineer. He can be
contacted at prem.sagar@nestgroup.net
Arun Kumar V is working as a Process
Consultant at Network Systems and
Technologies (NeST). He did his B-Tech
from Government Engineering College,
Idukki and has more than 3.5 years of
experience in the industry. He played a key
role in implementing the models like ISO
27001, ISO9001:2008, ISO 13485. He played a key role in the
implementation of high maturity artifacts of CMMI V1.2. He
is working as a Process Consultant at NeST. He is the
convener of ISF and is responsible for the ISMS related
activities in the organization. He is CQSPE (by QAI) certified
and an ISTQB Certified Tester. He is also a NeST Certified
Quality Analyst and NeST Certified Internal Auditor. He may
be contacted at arunkumar.v@nestgroup.net

More Related Content

What's hot

08 ch ken black solution
08 ch ken black solution08 ch ken black solution
08 ch ken black solutionKrunal Shah
 
15 ch ken black solution
15 ch ken black solution15 ch ken black solution
15 ch ken black solutionKrunal Shah
 
09 ch ken black solution
09 ch ken black solution09 ch ken black solution
09 ch ken black solutionKrunal Shah
 
6334 Day 3 slides: Spanos-lecture-2
6334 Day 3 slides: Spanos-lecture-26334 Day 3 slides: Spanos-lecture-2
6334 Day 3 slides: Spanos-lecture-2jemille6
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 
06 ch ken black solution
06 ch ken black solution06 ch ken black solution
06 ch ken black solutionKrunal Shah
 
11 ch ken black solution
11 ch ken black solution11 ch ken black solution
11 ch ken black solutionKrunal Shah
 
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluationA. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluationjemille6
 
Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...
Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...
Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...Dr.Summiya Parveen
 
Hypothesis testing part ii for single mean
Hypothesis testing part ii for single meanHypothesis testing part ii for single mean
Hypothesis testing part ii for single meanNadeem Uddin
 
Stat 130 chi-square goodnes-of-fit test
Stat 130   chi-square goodnes-of-fit testStat 130   chi-square goodnes-of-fit test
Stat 130 chi-square goodnes-of-fit testAldrin Lozano
 
Normal probability distribution
Normal probability distributionNormal probability distribution
Normal probability distributionNadeem Uddin
 

What's hot (19)

08 ch ken black solution
08 ch ken black solution08 ch ken black solution
08 ch ken black solution
 
15 ch ken black solution
15 ch ken black solution15 ch ken black solution
15 ch ken black solution
 
Standard deviation
Standard deviationStandard deviation
Standard deviation
 
09 ch ken black solution
09 ch ken black solution09 ch ken black solution
09 ch ken black solution
 
6334 Day 3 slides: Spanos-lecture-2
6334 Day 3 slides: Spanos-lecture-26334 Day 3 slides: Spanos-lecture-2
6334 Day 3 slides: Spanos-lecture-2
 
Chapter12
Chapter12Chapter12
Chapter12
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
06 ch ken black solution
06 ch ken black solution06 ch ken black solution
06 ch ken black solution
 
Sec 3.1 measures of center
Sec 3.1 measures of center  Sec 3.1 measures of center
Sec 3.1 measures of center
 
11 ch ken black solution
11 ch ken black solution11 ch ken black solution
11 ch ken black solution
 
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluationA. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
 
Chapter11
Chapter11Chapter11
Chapter11
 
Practice Test 1
Practice Test 1Practice Test 1
Practice Test 1
 
Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...
Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...
Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...
 
Chapter7
Chapter7Chapter7
Chapter7
 
Hypothesis testing part ii for single mean
Hypothesis testing part ii for single meanHypothesis testing part ii for single mean
Hypothesis testing part ii for single mean
 
Stat 130 chi-square goodnes-of-fit test
Stat 130   chi-square goodnes-of-fit testStat 130   chi-square goodnes-of-fit test
Stat 130 chi-square goodnes-of-fit test
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Normal probability distribution
Normal probability distributionNormal probability distribution
Normal probability distribution
 

Similar to Test Optimization Using Adaptive Random Testing Techniques

fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920
fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920
fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920Karl Rudeen
 
Data Driven Choice of Threshold in Cepstrum Based Spectrum Estimate
Data Driven Choice of Threshold in Cepstrum Based Spectrum EstimateData Driven Choice of Threshold in Cepstrum Based Spectrum Estimate
Data Driven Choice of Threshold in Cepstrum Based Spectrum Estimatesipij
 
Opt Assgnment #-1 PPTX.pptx
Opt Assgnment #-1 PPTX.pptxOpt Assgnment #-1 PPTX.pptx
Opt Assgnment #-1 PPTX.pptxAbdellaKarime
 
Quality Control Chart
 Quality Control Chart Quality Control Chart
Quality Control ChartAshish Gupta
 
D-Pubb-TestingExperience_Issue_28_2014-12_Berta
D-Pubb-TestingExperience_Issue_28_2014-12_BertaD-Pubb-TestingExperience_Issue_28_2014-12_Berta
D-Pubb-TestingExperience_Issue_28_2014-12_BertaBerta Danilo
 
an-experimental-evaluation-of-the-reliability-.ppt
an-experimental-evaluation-of-the-reliability-.pptan-experimental-evaluation-of-the-reliability-.ppt
an-experimental-evaluation-of-the-reliability-.pptMuhammadRusydiAlwi
 
2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_faria2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_fariaPaulo Faria
 
Theory of uncertainty of measurement.pdf
Theory of uncertainty of measurement.pdfTheory of uncertainty of measurement.pdf
Theory of uncertainty of measurement.pdfHnCngnh1
 
Chi squared test
Chi squared testChi squared test
Chi squared testvikas232190
 
Bel ventutorial hetero
Bel ventutorial heteroBel ventutorial hetero
Bel ventutorial heteroEdda Kang
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxrathorebhagwan07
 
Module 6: Outlier Detection for Two Sample Case
Module 6: Outlier Detection for Two Sample CaseModule 6: Outlier Detection for Two Sample Case
Module 6: Outlier Detection for Two Sample CaseStats Statswork
 
maXbox starter67 machine learning V
maXbox starter67 machine learning VmaXbox starter67 machine learning V
maXbox starter67 machine learning VMax Kleiner
 
Black Box Testing.pdf
Black Box Testing.pdfBlack Box Testing.pdf
Black Box Testing.pdfSupunLakshan4
 
Measures of Relative Standing and Boxplots
Measures of Relative Standing and BoxplotsMeasures of Relative Standing and Boxplots
Measures of Relative Standing and BoxplotsLong Beach City College
 

Similar to Test Optimization Using Adaptive Random Testing Techniques (20)

fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920
fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920
fb69b412-97cb-4e8d-8a28-574c09557d35-160618025920
 
Project Paper
Project PaperProject Paper
Project Paper
 
Data Driven Choice of Threshold in Cepstrum Based Spectrum Estimate
Data Driven Choice of Threshold in Cepstrum Based Spectrum EstimateData Driven Choice of Threshold in Cepstrum Based Spectrum Estimate
Data Driven Choice of Threshold in Cepstrum Based Spectrum Estimate
 
Opt Assgnment #-1 PPTX.pptx
Opt Assgnment #-1 PPTX.pptxOpt Assgnment #-1 PPTX.pptx
Opt Assgnment #-1 PPTX.pptx
 
Quality Control Chart
 Quality Control Chart Quality Control Chart
Quality Control Chart
 
Mech ma6452 snm_notes
Mech ma6452 snm_notesMech ma6452 snm_notes
Mech ma6452 snm_notes
 
D-Pubb-TestingExperience_Issue_28_2014-12_Berta
D-Pubb-TestingExperience_Issue_28_2014-12_BertaD-Pubb-TestingExperience_Issue_28_2014-12_Berta
D-Pubb-TestingExperience_Issue_28_2014-12_Berta
 
an-experimental-evaluation-of-the-reliability-.ppt
an-experimental-evaluation-of-the-reliability-.pptan-experimental-evaluation-of-the-reliability-.ppt
an-experimental-evaluation-of-the-reliability-.ppt
 
2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_faria2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_faria
 
Respose surface methods
Respose surface methodsRespose surface methods
Respose surface methods
 
Theory of uncertainty of measurement.pdf
Theory of uncertainty of measurement.pdfTheory of uncertainty of measurement.pdf
Theory of uncertainty of measurement.pdf
 
SIGN TEST SLIDE.ppt
SIGN TEST SLIDE.pptSIGN TEST SLIDE.ppt
SIGN TEST SLIDE.ppt
 
MSE.pptx
MSE.pptxMSE.pptx
MSE.pptx
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Bel ventutorial hetero
Bel ventutorial heteroBel ventutorial hetero
Bel ventutorial hetero
 
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptxCHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
CHI SQUARE DISTRIBUTIONdjfnbefklwfwpfioaekf.pptx
 
Module 6: Outlier Detection for Two Sample Case
Module 6: Outlier Detection for Two Sample CaseModule 6: Outlier Detection for Two Sample Case
Module 6: Outlier Detection for Two Sample Case
 
maXbox starter67 machine learning V
maXbox starter67 machine learning VmaXbox starter67 machine learning V
maXbox starter67 machine learning V
 
Black Box Testing.pdf
Black Box Testing.pdfBlack Box Testing.pdf
Black Box Testing.pdf
 
Measures of Relative Standing and Boxplots
Measures of Relative Standing and BoxplotsMeasures of Relative Standing and Boxplots
Measures of Relative Standing and Boxplots
 

More from QuEST Global (erstwhile NeST Software)

High Performance Medical Reconstruction Using Stream Programming Paradigms
High Performance Medical Reconstruction Using Stream Programming ParadigmsHigh Performance Medical Reconstruction Using Stream Programming Paradigms
High Performance Medical Reconstruction Using Stream Programming ParadigmsQuEST Global (erstwhile NeST Software)
 
Focal Cortical Dysplasia Lesion Analysis with Complex Diffusion Approach
Focal Cortical Dysplasia Lesion Analysis with Complex Diffusion ApproachFocal Cortical Dysplasia Lesion Analysis with Complex Diffusion Approach
Focal Cortical Dysplasia Lesion Analysis with Complex Diffusion ApproachQuEST Global (erstwhile NeST Software)
 

More from QuEST Global (erstwhile NeST Software) (20)

High Performance Medical Reconstruction Using Stream Programming Paradigms
High Performance Medical Reconstruction Using Stream Programming ParadigmsHigh Performance Medical Reconstruction Using Stream Programming Paradigms
High Performance Medical Reconstruction Using Stream Programming Paradigms
 
HPC Platform options: Cell BE and GPU
HPC Platform options: Cell BE and GPUHPC Platform options: Cell BE and GPU
HPC Platform options: Cell BE and GPU
 
A Whitepaper on Hybrid Set-Top-Box
A Whitepaper on Hybrid Set-Top-BoxA Whitepaper on Hybrid Set-Top-Box
A Whitepaper on Hybrid Set-Top-Box
 
Real-Time Face Tracking with GPU Acceleration
Real-Time Face Tracking with GPU AccelerationReal-Time Face Tracking with GPU Acceleration
Real-Time Face Tracking with GPU Acceleration
 
CUDA Accelerated Face Recognition
CUDA Accelerated Face RecognitionCUDA Accelerated Face Recognition
CUDA Accelerated Face Recognition
 
Ultra Fast SOM using CUDA
Ultra Fast SOM using CUDAUltra Fast SOM using CUDA
Ultra Fast SOM using CUDA
 
UpnP in Digital Home Networking
UpnP in Digital Home NetworkingUpnP in Digital Home Networking
UpnP in Digital Home Networking
 
MR Brain Volume Analysis Using BrainAssist
MR Brain Volume Analysis Using BrainAssistMR Brain Volume Analysis Using BrainAssist
MR Brain Volume Analysis Using BrainAssist
 
Image Denoising Using WEAD
Image Denoising Using WEADImage Denoising Using WEAD
Image Denoising Using WEAD
 
Focal Cortical Dysplasia Lesion Analysis with Complex Diffusion Approach
Focal Cortical Dysplasia Lesion Analysis with Complex Diffusion ApproachFocal Cortical Dysplasia Lesion Analysis with Complex Diffusion Approach
Focal Cortical Dysplasia Lesion Analysis with Complex Diffusion Approach
 
Speckle Reduction in Images with WEAD and WECD
Speckle Reduction in Images with WEAD and WECD  Speckle Reduction in Images with WEAD and WECD
Speckle Reduction in Images with WEAD and WECD
 
Software Defined Networking – Virtualization of Traffic Engineering
Software Defined Networking – Virtualization of Traffic EngineeringSoftware Defined Networking – Virtualization of Traffic Engineering
Software Defined Networking – Virtualization of Traffic Engineering
 
A New Generation Software Test Automation Framework – CIVIM
A New Generation Software Test Automation Framework – CIVIMA New Generation Software Test Automation Framework – CIVIM
A New Generation Software Test Automation Framework – CIVIM
 
BX-D – A Business Component & XML Driven Test Automation Framework
BX-D – A Business Component & XML Driven Test Automation FrameworkBX-D – A Business Component & XML Driven Test Automation Framework
BX-D – A Business Component & XML Driven Test Automation Framework
 
An Effective Design and Verification Methodology for Digital PLL
An Effective Design and Verification Methodology for Digital PLLAn Effective Design and Verification Methodology for Digital PLL
An Effective Design and Verification Methodology for Digital PLL
 
FaSaT An Interoperable Test Automation Solution
FaSaT An Interoperable Test Automation SolutionFaSaT An Interoperable Test Automation Solution
FaSaT An Interoperable Test Automation Solution
 
An Improved Hybrid Model for Molecular Image Denoising
An Improved Hybrid Model for Molecular Image DenoisingAn Improved Hybrid Model for Molecular Image Denoising
An Improved Hybrid Model for Molecular Image Denoising
 
A 1.2V 10-bit 165MSPS Video ADC
A 1.2V 10-bit 165MSPS Video ADCA 1.2V 10-bit 165MSPS Video ADC
A 1.2V 10-bit 165MSPS Video ADC
 
Advanced Driver Assistance System using FPGA
Advanced Driver Assistance System using FPGAAdvanced Driver Assistance System using FPGA
Advanced Driver Assistance System using FPGA
 
Real Time Video Processing in FPGA
Real Time Video Processing in FPGA Real Time Video Processing in FPGA
Real Time Video Processing in FPGA
 

Recently uploaded

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Recently uploaded (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 

Test Optimization Using Adaptive Random Testing Techniques

  • 1. Test Optimization Using Adaptive Random Testing Techniques Balamurali L Senior SQA Manager Quality & Testing Group NeST Trivandrum, India Balamurali.l@nestgroup.net S Prem Sagar Senior Lead-Testing Quality & Testing Group NeST Trivandrum, India Prem.sagar@nestgropu.net Indumol K S Senior Test Engineer Quality & Testing Group NeST Trivandrum, India Indumol.ks@nestgroup.net Arun Kumar V Engineer-QA Quality & Testing Group NeST Trivandrum, India Arunkumar.v@nestgroup.net Abstract - In today’s competitive software development scenario, the customer demands a testing coverage which not only ensures the stated requirements but also the implied ones. This situation calls for an exhaustive testing which may not be always possible due to various reasons. Testing, due to its last position in SDLC, often gets crunched due to the cumulative schedule slippages. Hence Tester is faced with a challenge to make testing as efficient as possible within a short time span due to cost constraints. With selective testing an only option, test leads usually go for the age- old approach of Random Testing. Random testing does not ensure coverage in a scientific manner. Hence the quality and coverage of the testing cannot be guaranteed. This paper explains the concept of Adaptive Random Testing in which each test case is selected such that it covers a scenario which would be dimensionally farthest from the previously conducted test. Index Terms – Random Testing, Anti-Random Testing, Adaptive Random Testing, ART Series, ART for Binary, Cartesian Distance, Hamming Distance. I. INTRODUCTION XHAUSTIVE testing may not be always possible in software development life cycles due to various reasons like budget limitation, schedule crunches etc. Since exhaustive testing will turn out to be an expensive agenda, managements are on a lookout for alternatives. Though Random Testing is often used as a cost reduction strategy wherein testing a product is done using test cases and test data that has been chosen at random, it may ensure a satisfying test coverage due to its unscientific nature Although the judgment of the test lead or test engineers is used for choosing the test cases, indicative attributes like the test cases previously executed are not considered. While methods like Taguchi, pair wise testing etc lend a technical approach to defining efficient test cases, these methods do not address the optimal sequence for executing the test cases. The usage of numerical strategies to identify the sequence of tests giving maximum coverage would lend more credibility to the final testing by increasing the probability of detecting failures. The objective of this paper is to explain the Adaptive Random Testing (ART) technique. For a set of suitably designed tests, this strategy helps to enhance the testing process by • Defining an optimal sequence of test execution. • Defining the point beyond which executing of further test cases may not be beneficial (for extremely short and critical testing phases). • Selecting critical scenarios for execution in case of multiple environments. II. ADAPTIVE RANDOM TESTING Adaptive random testing uses mechanisms to ensure much even and widespread distributions of test cases over an input domain. It is an effective improvement of Random Testing (RT) in the sense that fewer test cases are needed to detect the first failure. It is based on the observation that failure-causing inputs are normally clustered in one or more contiguous regions in the input domain. Hence, the test execution should refer to the locations of successful test cases (those that do not reveal failures) to ensure that all test cases are far apart and evenly spread in the input domain.[3] i.e., for a function f(p,q), random testing would choose p and q in an ad-hoc fashion while adaptive random testing attempts to choose p and q such that maximum coverage of input domain is obtained in minimal time. E
  • 2. FIG 1 INPUT SELECTION In ART, new tests are selected religiously by ensuring the distance of the new test to be maximum from all the previously run tests. This ensures that every new test conducted will execute some new lines of code which are not executed by the previous tests. The selected test will then have maximum probability of exposing a non-captured bug. Consider the case of testing a 3-dimensional cube. FIG 2 3-DIMENSIONAL CUBE FOR TESTING If you start with testing the corner with Cartesian coordinates (0,0,0), to ensure maximum coverage, the next test should be for the corner with Cartesian coordinates (1,1,1). This is the basic concept behind ART. The distance can be computed either by Hamming Distance or Cartesian Distance methods. A. Hamming Distance Hamming distance is the number of bits in which two binary vectors differ. It is not defined for vectors containing continuous value. Total Hamming distance for any vector is the sum of its Hamming distance with respect to all the previous vectors For e.g. Hamming distance between • 1011101 and 1001001 is 2. • 2173896 and 2233796 is 3. • "toned" and "roses" is 3. B. Cartesian Distance Cartesian distance between two vectors A = {a0, a1…, an} and B = {b0, b1…, bn} is given by: ]CD (A, B) =  [(a0-b0)2 + (a1-b1)2 + … + (an-bn)2 Total Cartesian distance for any vector is the sum of its Cartesian distance with respect to all previous vectors. It can also be seen that if all the variables in two vectors are binary, then CD (A, B) =  HD (A, B) For e.g., consider the example of finding distance between two vectors A = {0,0,1,0,1} and B = {1,1,0,0,1} HD (A, B) = | 0 – 1| + | 0 – 1| + | 1- 0 | + | 0 – 0 | + | 1 – 1 | = 3 CD (A, B) =  [(0-1)2 + (0-1)2 + (1-0)2 + (0-0)2 + (1-1)2 ] = 3 C. Maximal Distance Adaptive Random Testing Sequence Maximal Distance ART Sequence is a test sequence such that a test ‘ti’ is chosen such that the distance of ‘ti’ from all the previously conducted tests t0, t1,…, ti-1 is maximum when compared with all the remaining test scenarios ti+1, …, tn. i.e. Total Distance, TD (ti) = j=0i-1 D (ti, tj); D (ti, tj) indicates the distance between the vectors ti and tj. D. Generation of ART Sequence To understand the concept of determining distances in the input domain, we go through the generation of some basic adaptive random sequences. We are considering only the Cartesian Distance for finding the distance between two vectors. E. ART for 4 factors taking binary values Consider a function which is having four factors w, x, y and z is to be tested. All the factors can take only binary values i.e. either 0 or 1. Totally there will be 24 = 16 test scenarios as shown in Table 1. TABLE 1 ALL POSSIBLE COMBINATIONS OF TEST SCENARIOS FOR A 4 FACTOR BINARY CASE w x y z vector 1 0 0 0 0 vector 2 0 0 0 1 vector 3 0 0 1 0 vector 4 0 1 0 0 vector 5 1 0 0 0 vector 6 1 1 0 0 vector 7 1 0 1 0 vector 8 1 0 0 1 vector 9 0 1 1 0 vector 10 0 1 0 1
  • 3. vector 11 0 0 1 1 vector 12 0 1 1 1 vector 13 1 0 1 1 vector 14 1 1 0 1 vector 15 1 1 1 0 vector 16 1 1 1 1 We need to identify the sequence of test scenarios which will give us the maximum coverage when executed. Without losing the generality we can choose the first vector for testing as A1 = {0, 0, 0, 0}. Now we need to find the test scenario, which is at a maximum distance from the selected scenario. Taking Cartesian distance between the vectors, from Table 2, it can be seen that Vector 16 is the vector which is at a maximum distance from A1. TABLE 2 DISTANCE FROM VECTOR A1 TO OTHER VECTORS w x y z D(ti,t0) A1 0 0 0 0 vector 2 0 0 0 1 1.00 vector 3 0 0 1 0 1.00 vector 4 0 0 1 1 1.41 vector 5 0 1 0 0 1.00 vector 6 0 1 0 1 1.41 vector 7 0 1 1 0 1.41 vector 8 0 1 1 1 1.73 vector 9 1 0 0 0 1.00 vector 10 1 0 0 1 1.41 vector 11 1 0 1 0 1.41 vector 12 1 0 1 1 1.73 vector 13 1 1 0 0 1.41 vector 14 1 1 0 1 1.73 vector 15 1 1 1 0 1.73 vector 16 1 1 1 1 2.00 Vector 16 can be selected as Select 2. i.e. A2 = {1, 1, 1, 1}. Now the select 3 has to be taken such that it is at a maximum distance from the already selected two vectors. From Table 3, indicates that there are 6 vectors which are equidistant from A1 and A2. Without losing generality we can choose one vector from the available 6 vectors. Let us choose A3 = {0, 0, 1, 1}. TABLE 3 DISTANCE FROM A1 AND A2 TO OTHER VECTORS w x y z D(ti,t0) A1 0 0 0 0 A2 1 1 1 1 vector 2 0 0 0 1 2.73 vector 3 0 0 1 0 2.73 vector 4 0 0 1 1 2.83 vector 5 0 1 0 0 2.73 vector 6 0 1 0 1 2.83 vector 7 0 1 1 0 2.83 vector 8 0 1 1 1 2.73 vector 9 1 0 0 0 2.73 vector 10 1 0 0 1 2.83 vector 11 1 0 1 0 2.83 vector 12 1 0 1 1 2.73 vector 13 1 1 0 0 2.83 vector 14 1 1 0 1 2.73 vector 15 1 1 1 0 2.73 From Table 4 we identify that the next vector at maximum distance from A1, A2 and A3 is vector 13 and so A4 will be {1, 1, 0, 0}. TABLE 4 DISTANCE FROM VECTOR A1, A2 AND A3 TO OTHER VECTORS w x y z D(ti,t0) A1 0 0 0 0 A2 1 1 1 1 A3 0 0 1 1 vector 2 0 0 0 1 3.73 vector 3 0 0 1 0 3.73 vector 5 0 1 0 0 4.46 vector 6 0 1 0 1 4.24 vector 7 0 1 1 0 4.24 vector 8 0 1 1 1 3.73 vector 9 1 0 0 0 4.46 vector 10 1 0 0 1 4.24 vector 11 1 0 1 0 4.24 vector 12 1 0 1 1 3.73 vector 13 1 1 0 0 4.83 vector 14 1 1 0 1 4.46 vector 15 1 1 1 0 4.46 In a similar fashion, the rest of the ordering can be computed and the resulting adaptive random test sequence will be as shown in Table 5. TABLE 5 ADAPTIVE RANDOM TEST SEQUENCE w x y z A1 0 0 0 0 A2 1 1 1 1 A3 0 0 1 1
  • 4. A4 1 1 0 0 A5 0 1 0 1 A6 1 0 1 0 A7 1 0 0 1 A8 0 1 1 0 A9 0 0 0 1 A10 1 1 1 0 A11 0 0 1 0 A12 1 1 0 1 A13 0 1 0 0 A14 1 0 1 1 A15 0 1 1 1 A16 1 0 0 0 III. ART IN PROJECTS Generation of the adaptive random testing sequence includes the following steps. A. Identification of the test situation This includes analyzing the system under test. The factors based on which tests should be designed are to be identified. This could include the test environments as well as test data. Two possible scenarios for where ART can be used includes 1) Configuration Testing: Internationalization of software products being a key feature today, configuration testing is essential for software products which are expected to work in on a wide number of platforms and operating systems. The various conditions including operating system, language etc can be considered as different factors. ART is done for selecting critical test environments in a product expected to work in 16 languages and 7 OS. 2) User Interface Testing: Widespread usage of software applications like online forms opens the user interfaces to a wide and often untrained mass of people. Hence the testing of these user interfaces becomes very critical. The various fields with their possible entries can be considered as different factors B. Designing for ART It is not practical to assume that all systems under test will have only factors with binary inputs. The systems under test need to be mapped to numerical terms to effectively use ART. 1) Case 1: non-binary two factor case: To test the form shown in Fig 3, with 3 factors each taking two values, the factors are converted to a binary set using the guideline in Table 6. FIG 3 FORM FOR VOTING DETAILS TABLE 6 MAPPING OF VARIABLE FACTORS TO BINARY TERMS Factor/Value 0 1 Gender Male Female Marital Status Single Married Voting Status Yes No Now the problem reduces to a simple ART sequence generation problem. Hence vectors are defined as A1 = {0, 0, 0};  A1 = {Male, Single, Yes}, A2 = {1, 1, 1} A2 = {Female, Married, No}.etc 2) Case 2: Non-Binary More than Two Factor Case: Consider a software application involving a database of employees of different levels. Let the factors be ‘Gender’ of the employee (Male and Female), ‘Designation’ in which he/she is placed in the organization (SE, SSE and LE) and the ‘Grade’ obtained for each designation (1, 2, 3 and 4). For ART scenario creation, the first step is to replace the non-numerical values into numerical form. As a couple of factors have more than two possible levels of inputs, the resultant mapping will not be of binary form. Table 7 shows the mapping of factors and inputs. TABLE 7 MAPPING OF VARIABLE FACTORS TO BINARY TERMS Factor/Value 0 1 2 3 Gender Male Female Designation SE SSE LE Grade 1 2 3 4 For ART, a variation in each of the factors should have the same impact while generating the sequence. But in the above case we can see the factor ‘gender’ can vary only from 0 to 1 while the factor ‘grade’ takes a value from 0 to 3. As they are not assigned values uniformly, with the current assignment, the factor ‘grade’ is having a greater influence in the distance computations, which is illogical.
  • 5. To overcome the lacuna, we have to normalize the levels of the factors. By normalizing the factors, Table 7 can be rewritten as shown in Table 8. These normalized values can be used for the ART sequence creation. TABLE 8 NORMALIZED MAPPING OF VARIABLE FACTORS TO BINARY TERMS Factor/Value 0 0.33 0.5 0.67 1 Gender Male Female Designation SE SSE LE Grade 1 2 3 4 C. Generating ART The ART sequences for Case 1 and Case 2 in section 3.2 are as follows: TABLE 9 ART SEQUENCE FOR VOTING APPLICATION Sl No: Gender Marital Status Voting Status A1 Male Single Yes A2 Female Married No A3 Male Single No A4 Female Married Yes A5 Male Married No A6 Female Single Yes A7 Male Married Yes A8 Female Single No TABLE 10 ART SEQUENCE FOR EMPLOYEE DATABASE Sl No: Gender Designation Grade A1 Male SE 1 A2 Female LE 4 A3 Male SE 3 A4 Female LE 1 A5 Male LE 2 A6 Female SSE 4 A7 Female SE 1 A8 Male SSE 4 A9 Male LE 3 A10 Male SE 4 A11 Male SE 2 A12 Female LE 2 A13 Female SE 3 A14 Female LE 3 A15 Male SSE 1 A16 Female SE 2 A17 Male LE 1 A18 Female SE 4 A19 Male LE 4 A20 Female SSE 1 A21 Male SSE 2 A22 Female SSE 3 A23 Male SSE 3 A24 Female SSE 2 IV. ADVANTAGES OF ART SEQUENCES ART ensures that the test scenarios are executed such that the maximum coverage is obtained with minimum scenarios and the scenarios with maximum coverage are executed first. This helps in early defect finding thereby reducing the effective cycle time. ART sequence identifies the preferred order of test execution for the exhaustive set of test cases thus providing flexibility for the test lead to identify the test exit point. V. LIMITATIONS OF ADAPTIVE RANDOM TESTING SEQUENCES ART is effective when the number of variable and factors increases. But it can be noticed that as the number of variables and factors goes up, it is almost impossible to derive the ARTS manually. Test application has to be made which will generate the ART sequence once the factors and input levels are given. VI. FUTURE WORK The examples shown above sequenced all the possible scenarios. In a situation with minimal time for testing, two strategies can be adopted to cut down the number of test scenarios logically. 1) Defining ART Index: ART Index identifies the number of test scenarios in the ART sequence to be executed in order to attain a defined level of stability. ART Index is defined as a threshold value of average distance between the test scenarios At least all test scenarios with average distance till this defined index should be executed. The average distance can be defined as the average of distances of newly selected vector from all the previous vectors. In the above problem, if the ART Index is defined as 1.4, it indicates that all test scenarios which are at a distance of 1.4 of beyond from the previously executed test scenarios will be executed. The level of stability is inversely proportional to the ART Index. 2) Adopting Taguchi: Taguchi strategies can be adopted for selecting the critical scenarios to be tested [4]. Determining ART sequence from this will help to ensure that the critical scenarios are run such
  • 6. that maximum coverage is obtained even if the complete sequence cannot be run. VII. CONCLUSION Adaptive Random testing is a new test generation approach that requires further theoretical and experimental investigations. Here we have presented its effectiveness to optimize the testing process by keeping tests as different as possible from each other. The limitation of adaptive random testing confining to binary values has been overcome by mapping process. Effective use of ARTS ensures that the faults are identified earlier and chaotic testing phase can be brought under control. VIII. ACKNOWLEDGMENT The Authors are thankful to Mr. N. Jehangir, Managing Director, NeST Group, for the motivation and support he has provided for all the improvement initiatives within the organization. We also thank Mr. Sasi Kumar, President of NeST, TVM for the support in carrying out this work. We are grateful to Mr. Sebastian Antony Ukken, Head QTG, Rajagopal K, Program Manager QTG,Annu George, SQA Manager QTG , Deepa G, Senior Test Manager QTG for their useful discussions and suggestions at different stages of this work. All the members of Quality and Testing Group of NeST are acknowledged for their help towards data collection. IX. REFERENCES [1] 1. Yashwant K Malaiya, “Adaptive Random Testing : Getting the most out of Black Box Testing”, Technical Report 96-129, Computer Science Department, Colorado State University, Fort Collins, CO, 1996 [2] 2. G Meyers, “Art of Software Testing”, John Wiley & Sons, 1979 [3] 3. T.Y. Chen, Zongyuan Yang, T.H. Tse and De Hao Huang, An Innovative Approach to Tackling the Boundary Effect in Adaptive Random Testing: Proceedings of the 40th Annual Hawaii International Conference on System Sciences (HICSS-40) [4] 4. Unni Sankar, Deepa Thampy, Applying Taguchi Methods in Software Product Engineering, Proceedings of QAI’s SEPG Conference 2002 X. BIOGRAPHIES Balamurali L is working as Senior SQA Manager at Network Systems and Technologies (NeST). He took his M.Tech from Indian Institute of Technology (IIT) Kanpur and has more than 11 years of experience in the industry. Has played a lead role in implementing the models like CMMI1.1, CMMI 1.2, ISO 9001:2008, Automotive SPICE, ISO 27001 and IEC61508. He has worked as an Assessment Team Member for CMMI V 1.2. A CSQA holder by QAI US as well as a Certified Tester (advanced level- Test Management) by ISTQB, he is involved in activities of Indian Testing Board and plays an active role in the core group of the Trivandrum chapter of Software Process Improvement Network (SPIN). He also a certified Test Manager, Information Security Professional and Internal Auditor by Department of IT, Govt. of India. He is also CQSPE (by QAI) certified. He can be contacted at balamurali.l@nestgroup.net Indumol K S is a Senior Test Engineer at NeST - A CMMI Level 5 Company, Trivandrum. She is a Computer Engineering diploma holder and has an industrial experience of 7 years. She is an ISTQB Certified Test Engineer and a NeST Certified Testing Professional. She is specialized in Medical & HealthCare domains. She plays an active role in the Independent Testing Team (ITT) of NeST. She can be contacted at indumol.ks@nestgroup.net. S Prem Sagar is currently working as a Senior Lead - Testing with the Quality & Testing Group of Network Systems and Technologies, Technopark Trivandrum. He is a Bachelor of Engineering and has above 10 yrs of IT experience performing Testing & Quality Management, Project Management & Web development. He had previously worked as a Test Lead with Pentasoft Technologies, Tidel Park, Chennai. He is a member of Project Management Institute and a certified ISTQB test engineer. He can be contacted at prem.sagar@nestgroup.net Arun Kumar V is working as a Process Consultant at Network Systems and Technologies (NeST). He did his B-Tech from Government Engineering College, Idukki and has more than 3.5 years of experience in the industry. He played a key role in implementing the models like ISO 27001, ISO9001:2008, ISO 13485. He played a key role in the implementation of high maturity artifacts of CMMI V1.2. He is working as a Process Consultant at NeST. He is the convener of ISF and is responsible for the ISMS related activities in the organization. He is CQSPE (by QAI) certified and an ISTQB Certified Tester. He is also a NeST Certified Quality Analyst and NeST Certified Internal Auditor. He may be contacted at arunkumar.v@nestgroup.net