On 7/2/13 2:28 PM, Ian Duffy wrote:
Hi,
I was wondering if there would be any objections to using Spock for
writing unit tests for a plugin instead of junit and mockito.
Spock is JUnit under the hood but an excellent DSL. It supports
behavior driven development style of testing with criteria broken down
into given, when, then. I have been really impressed by the articles
I read about it and seems to offer a quicker and richer mechanism for
writing tests.
For more reading - https://code.google.com/p/spock/ and
https://code.google.com/p/spock/wiki/SpockBasics
Looking forward to feedback,
Ian
None from me, the main issue to look is the license. Seems that spoke is
Apache license 2.0 so we should be good.
Let's wait for others to chime in,
-sebastien