Skip to content

Fixed issue 28 -- apply mutations to code changed in a different file#47

Open
ajl774 wants to merge 1 commit intoagroce:masterfrom
ajl774:issue-#28-brannch
Open

Fixed issue 28 -- apply mutations to code changed in a different file#47
ajl774 wants to merge 1 commit intoagroce:masterfrom
ajl774:issue-#28-brannch

Conversation

@ajl774
Copy link
Copy Markdown

@ajl774 ajl774 commented Apr 24, 2026

Created a new option for mutate, --mutateChange , that will only mutate the lines that are have been changed in the secondary file compared to the source file. In the genmutants.py file, I updated the --help page, implemented logic for parsing the new option, and implemented logic to determine which lines had remained unchanged and stored it in skippedLines. I then added that list to the arguments for mutants_regexp and mutants_comby. Then in the mutator.py file, I added simple logic to skip any lines found in both the skippedLines list and source list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant