cjstehno / ersatz

🤖 A simulated HTTP server for testing client code with configurable responses.
https://cjstehno.github.io/ersatz
Apache License 2.0
47 stars 5 forks source link

Spock extension #183

Open cjstehno opened 1 year ago

cjstehno commented 1 year ago

There is a powerful JUnit 5 extension (actually two), but Spock users are left with very simple support and the need for boilerplate.

I think I'd have to create a parent test class that users would have to extend as the extension mechanism doesn't appear to have the same framework in place.

Alternative - is there any way to use JU5 extensions in Spock?