A test engineer generates 70 mutants of a program P and 150 test cases to test the program P. After the first iteration of mutation testing, the tester finds 58dead mutants and 4 equivalent mutants. Calculate the mutation score for this test suite. Is the test suite adequate for program P? Should the test engineer develop additional test cases? Justify your answer.
Answers
Answered by
2
Answer:
mutation Score = dead mutants / ( total mutants -equivalent mutants ) * 100
Dead mutants = 58
Total number of mutants = 70
Equivalent mutants = 4
So, mutation score = (58 / (70 – 4) * 100) % = 87.87%
Similar questions