--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nothing wrong with the readability on the fluent API. It's great when writing your tests in Java.But lately we've been trying to move away from Java/JUnit for testing, and are using Spock and Groovy exclusively, just because the tests are faster to write and easier to read.So the Java-way might feel a little... old age like you said :)
So, it's the fixture configuration complex? I'm thinking (if it's not too complex) that I'll give it a shot and try to make Groovy-based fixture. And maybe use/extend Spock to take advantage of the DSL blocks given/when/then...
Thanks Allard/alex
On Thursday, March 20, 2014 8:05:46 PM UTC+1, Allard Buijze wrote:
Hi Alex,
I know people have been using it with Specs2 in Scala. It worked fine there, so I can image Spock in Groovy wouldn't be a problem either.
Perhaps it's old age ;-), but where is the readability problem in the Given When Then test fixtures?
Cheers,
Allard
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?
Thanks/Alex
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Martin Tilma E-mail: mar...@t4is.nl Telefoon: 030 655 01 06 Website: http://www.martinenels.nl
--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Martin Tilma E-mail: mar...@t4is.nl Telefoon: 030 655 01 06 Website: http://www.martinenels.nl
--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Axon Framework Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/axonframework/IXskYs0jK1g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to axonframewor...@googlegroups.com.