cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Duffy <...@ianduffy.ie>
Subject [GSoC] Unit testing with Spock
Date Tue, 02 Jul 2013 12:28:24 GMT
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

Mime
View raw message