Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to allow more general mutations #178

Open
JamesLee-Jones opened this issue Oct 31, 2023 · 1 comment
Open

Refactor to allow more general mutations #178

JamesLee-Jones opened this issue Oct 31, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@JamesLee-Jones
Copy link
Collaborator

Currently, it is assumed that a mutation applied by Dredd will change the semantics of the system being instrumented and thus the mutation must be explicitly enabled with a mutant ID. Due to future work aimed at using Dredd to add extra code coverage points (in the style of mutation testing) to be utilized by a greybox fuzzer, we want it to be possible to insert semantics preserving mutations without them needing to be enabled.

This can be done by creating another Mutation class that represents a general mutation that doesn't need to be enabled (has a different Apply function) and then creating a subclass of Mutation that encapsulates the current default behaviour.

@JamesLee-Jones JamesLee-Jones added the enhancement New feature or request label Oct 31, 2023
@JamesLee-Jones JamesLee-Jones self-assigned this Oct 31, 2023
@JamesLee-Jones
Copy link
Collaborator Author

Note: It is worth considering if we want to keep mutation ID's and still output a file detailing the mutations that have been applied when the mutations are semantics preserving and don't need to be enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant