Is anyone testing using the Spock Framework and Groovy?
I’m building a system based on Axon and I use Spock for all my tests.
The BDD-like API for testing your Axon components is awesome for Java, but I’m using Groovy so I would prefer to write my tests in a more groovier way (more expressive, easier to read, etc) rather than the Java-way (using the fluent API). Especially when Spock already have Given/When/Then right in the DSL.
Is this possible? Any recommendations on how to use the fixtures (and it’s configuration/components) in a non-fluent way?
Has anyone solved this or have any experience from using this approach?