json-snapshot.github.io
json-snapshot.github.io copied to clipboard
Add Spock support, support parameterized tests via expectScenario()
- Add support for Spock Framework (http://spockframework.org/)
- Add support for parameterized testing in both JUnit and Spock via
expectScenario()method
Note: I needed to introduce the expectScenario() instead of overloading the expect() due to the varargs parameter. It was unable to differentiate the two method signatures when all arguments were strings.