[aerogear-dev] To Groovy or not to Groovy in integration tests

Matthias Wessendorf matzew at apache.org
Tue Jul 16 07:09:50 EDT 2013


Hi Karel,

thanks for starting the thread and summarizing all the facts/statements
from the previous discussion!


On Tue, Jul 16, 2013 at 1:03 PM, Karel Piwko <kpiwko at redhat.com> wrote:

> Hi,
>
> let me summarize the discussion from previous threads:
>
> What were testing requirements?
> * Do not mock
> * Cover both backend and frontend testing at the same time
> * Control test env from tests/Maven, so it runs on both CI and local
> machine
>   without any setup required
> => Those 3 requirements limited us to use Arquillian
> * Cover unified push server specifications in readable way
>
> Why Groovy instead of Java?
> + Better support for JSON
> + Spock provides very nice BDD support
> + Still supports anything Java would do
>
> What problems we faced with Groovy?
> - Needs specific compiler - solved, configured for tests only
> - Needs support in IDE - Intellij - ootb, Eclipse and NetBeans have
>   plugins
> - Needs to be deployed in test deployment - not addressed now, prolongs
> test
>   execution by few seconds per deployment
>
> What are currently raised concerns?
> - Different language for development and testing
> - Raises bar for newcomers willing to write tests
>

that's the 'concerns' I share as well: it a little burden on getting back
contributions, since the source of the server is java.


Also, what would happen if others decide let's add Ruby and also Perl for
some sort of tests? That would mean a language nightmare, IMO :)



>
> Thank you for additional advantages, concerns or proving some of those are
> not
> valid.
>
> Karel
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130716/85cefa93/attachment.html 


More information about the aerogear-dev mailing list