Good morning everyone,
I was inquiring about some theoretical aspects of PITest and I had these doubts about mutant generation.
From what I understand Pit generates mutants based on the rows my tests cover, so the more tests I have the more mutants.
So I expect that if I create classes and do no tests on those classes, pit will not generate mutants for these classes.
2) however running PItest with --version I get in the logs the mutants that are created and there is no reference on the classes: NotUsedClass,Player, team
For point 1) I have another question regarding point 1) Does Pitest perform a mutant generation reduction technique (such as sampling, selective mutation, or mutant clustering) to choose the mutants that make sense for the application i.e., does it randomly select a representative subset of the mutants, limiting those to be examined?
--
You received this message because you are subscribed to the Google Groups "PIT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pitusers+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pitusers/46cdd7de-a6c3-4b32-b852-c8b8ae75fcf0n%40googlegroups.com.
Good morning everyone,
from the various theoretical articles I have consulted, I have learnt that there are various mutation methods aimed at reducing the computational cost:
- Strong Mutation: this is the traditional technique, in which a mutant is considered to be ‘killed’ if the output differs from that of the original programme at the end of full execution.
- Weak Mutation: in this case, the mutant is ‘killed’ if a single component of the mutated program produces an output that differs from that of the original component, without having to execute the entire program.
- Firm Mutation: represents a compromise between the two previous modes.
I would like to know which of these approaches is used by Pitest.
Thank you in advance for your support.
Best regards,
Mark
To view this discussion visit https://groups.google.com/d/msgid/pitusers/c34f391b-c59a-4725-b68c-993ea269404cn%40googlegroups.com.