Skip to content

Reducing duplicate/redundant test cases? #622

Discussion options

You must be logged in to vote

Alright, so I've partially answered my own question. It's very rudimentary and needs optimization/tuning, but it can work as a proof of concept for what I need in my particular use case should someone believe it to be desirable for others as well.


Duplicate test cases are a result of Session._generate_n_mutations_for_path_recursive()

boofuzz/boofuzz/sessions.py

Lines 1484 to 1494 in 0cfcef5

def _generate_n_mutations_for_path_recursive(self, path, depth, skip_elements=None):
if skip_elements is None:
skip_elements = set()
if depth == 0:
yield []
return
new_skip = skip_elements.copy()
for mutations in self._generate_mutations_for_request(path=p…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kamakazikamikaze
Comment options

@jtpereyda
Comment options

Answer selected by kamakazikamikaze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants