westfieldlabs / apivore

Tests your rails API against its Swagger description of end-points, models, and query parameters.
Apache License 2.0
213 stars 66 forks source link

Permit setup and substitution params on any combination of path, method, and response #38

Closed hornc closed 9 years ago

hornc commented 9 years ago

I think this covers the basic requirements of PEEPS-440 and PEEPS-441: Permit setup only on response codes Permit base request arguments to be defined for all documented routes

@jgalilee, could you please review and check that this satisfies the requirements you suggested? The implementation is a bit different, and allows for other combinations, but I think it gives the flexibility you were after.

Hopefully the test makes it clear how the setups work now.

If it looks good, I'll need to modify the readme for the expanded usage.

jgalilee commented 9 years ago

@hornc Looks awesome!