json-snapshot.github.io icon indicating copy to clipboard operation
json-snapshot.github.io copied to clipboard

Add Spock support, support parameterized tests via expectScenario()

Open jackmatt2 opened this issue 6 years ago • 0 comments

  • 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.

jackmatt2 avatar Jul 03 '19 00:07 jackmatt2