Yelp / fuzz-lightyear

A pytest-inspired, DAST framework, capable of identifying vulnerabilities in a distributed, micro-service ecosystem through chaos engineering testing and stateful, Swagger fuzzing.
Other
205 stars 25 forks source link

Add setup fixture for code execution prior to testing #32

Closed margaretgorguissian closed 4 years ago

margaretgorguissian commented 4 years ago

This PR addresses issue #16 .

The setup code is treated like any other fixture, and can be included in the file with all other fixtures. Right now it doesn't support setup functions that take in arguments. If that's the case, I'm imagining a tuple of (func, args, kwargs) or a dictionary where func maps to (args, kwargs).