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

Create Unit Tests to Test Mutator Combinations #16

Open
capnspacehook opened this issue Jan 15, 2019 · 0 comments
Open

Create Unit Tests to Test Mutator Combinations #16

capnspacehook opened this issue Jan 15, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@capnspacehook
Copy link
Member

capnspacehook commented Jan 15, 2019

Unit tests need to be created that tests obfuscating with all possible Mutator permutations that are 2 Mutators long. So basically given the dozen or so current Mutators, make sure Mutators don't just work on their separately, but together as well. I've run into a few random cases where using Mutators in specific combinations produces faulty payloads, and want a test that can do this for me.

Using the existing single mutator test in the test/ folder as a template should work. I would assume that you could take that test, add Mutator permutation logic (probably using itertools) to the beginning, and loop through every permutation and test it. An extra call to obfuscationHandler.genObfuscationLayer is needed, but overall pretty simple task.

@capnspacehook capnspacehook added the good first issue Good for newcomers label Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant