Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleArticle metrics
Research Article · Free to read · Published 9 August 2011

A Tool for Generation and Minimization of Test Suite by Mutant Gene Algorithm

Selvakumar Subramanian & Ramaraj Natarajan

Journal of Computer Science, Volume 7, Issue 10, pp. 1581–1589 · doi.org/10.3844/jcssp.2011.1581.1589

7,164 accesses5,937 downloads5 citations (Crossref)Journal metrics
Cite Check for updates

Abstract

Problem statement: This study proposes a new idea for generation of minimized test suite in the test case generation using the mutant gene algorithm, which not only identifies the best test cases but also reduces the number of test cases generated, selects test cases optimally there improving the performance in testing of software. Test cases are generated by using branch coverage algorithm and a coverage table is created for verifying branch coverage. Approach: The process of minimization was done through Mutant gene algorithm. Mutant gene algorithm combined both the mutation testing process and genetic algorithm. Initially a number of chromosomes were generated in random order. Mutation score was used for finding fitness function. The fitness function was found for all the randomly generated chromosomes by applying the mutant score to the function. Rank based selection was used for selecting the chromosomes. After the selection of the chromosomes one-point crossover was performed. A population of chromosomes obtained, which was given as the input for the next iteration. Large iterations were performed to obtain the best test case with higher fitness value, it was the end condition. Results: Between the measured iterations the value of the mutant score remained constant. The results of the experiments showed that the minimization process was competitive with other methods and even outperforms them for complex cases. Conclusion: The whole generation and minimization process was fully automated; redundant explorations of test case were avoided, resulting in efficient generation of test cases.

Licence and reuse

Free to read. This article carries the publisher’s copyright, as printed on it: © 2011 Science Publications. It is free to read; ask us before reusing it.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Subramanian, S. & Natarajan, R. (2011). A Tool for Generation and Minimization of Test Suite by Mutant Gene Algorithm. Journal of Computer Science, 7(10), 1581–1589. https://doi.org/10.3844/jcssp.2011.1581.1589

Licence
© Science Publications
Issue
Volume 7, Issue 10
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
A Tool for Generation and Minimization of Test Suite by Mutant Gene AlgorithmJournal of Computer Science · Volume 7, Issue 10 · pp. 1581–1589 · © Science PublicationsDownload