Research Article
Adaptive Random Testing with Combinatorial Input Domain
Algorithm 2
The algorithm of FSCS-CID.
Input: A test profile, . | Output: The size of the executed set and the first failure-causing input when meeting the StopCon1 (or the size of when meeting the StopCon2). | () Set , and ; | () Randomly generate a test case , according to by the uniform distribution; | () Run the program with , and ; | () while (The StopCon1 (or StopCon2) is not satisfied) | () Randomly generate candidates from , according to uniform distribution to form the candidate set ; | () Set ; | () Run the program with , and ; | () end while | () return and for the StopCon1 (or for the StopCon2). |
|