img
Question:
Published on: 3 December, 2024

What is Mutation Testing? Distinguish between White-box Testing and Black-box Testing?

Answer:

Mutation testing :

Mutation testing is a method of software testing in which program or source code is deliberately manipulated, followed by suite of testing against the mutated code. The mutations introduced to source code are designed to imitate common programming errors. A good unit test suite typically detects the program mutations and fails automatically. 

White-box Testing and Black-box Testing:

White-box Testing

Black-box Testing

1) White Box Testing is a software testing method in which the internal structure/ design/ implementation of the item being tested is known to the tester.

1) Black Box Testing is a software testing method in which the internal structure/ design/ implementation of the item being tested is not known to the tester.

2) Tester validates the internal structure of the item under consideration along with the output.

2) Tester is mainly concerned with the validation of output rather than how the output is produced

3) Programming knowledge and implementation knowledge (internal structure and working) is required.

3) Programming knowledge and implementation knowledge (internal structure and working) is not required.

4) This type of testing is carried out by software developers. 

4) This type of testing is carried out by testers.

5) White box testing means structural test or interior test.

5) Black box testing means functional test or external test.

6) This type of testing always focuses on how it is performing/ carried out.

6) This type of testing always focuses on what is performing/ carried out.

Random questions