<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 2:24 PM, Daniel Bevenius <span dir="ltr">&lt;<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I personally don&#39;t have a problem with mixing languages when it comes to testing. <div>The way I see it is users new to our project will probably not even look at tests at all to start with. Those that end up wanting to contribute will be exposed to them, but I think they would see this as a chance to learn some new techniques. At least this is how I would see it if I was in their shoes. </div>

<div>I&#39;ve not used Spock and would be interested in trying it to see if there is an advantage in using it.</div></div></blockquote><div><br></div><div>+1 </div><div style>Further more,  let&#39;s not forget the scope of this discussion : </div>
<div style>- We are talking about using a DSL (in this case written in Groovy which is, whatever people can say really really close to Java, you can even write Java in Groovy) to be able to write human readable integration tests not really about introducing a new language.</div>
<div style>- We are not speaking of mixing languages in our core libraries.</div><div style> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
<br></div><div><br></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On 16 July 2013 14:12, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I agree with Matthias and I&#39;ll summarize in one sentence about AGSEC. I<br>
won&#39;t mix up any other language with Java, period.<br>
<div><br>
Matthias Wessendorf wrote:<br>
&gt; Hi Karel,<br>
&gt;<br>
&gt; thanks for starting the thread and summarizing all the facts/statements<br>
&gt; from the previous discussion!<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 16, 2013 at 1:03 PM, Karel Piwko &lt;<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a><br>
</div><div><div>&gt; &lt;mailto:<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi,<br>
&gt;<br>
&gt;     let me summarize the discussion from previous threads:<br>
&gt;<br>
&gt;     What were testing requirements?<br>
&gt;     * Do not mock<br>
&gt;     * Cover both backend and frontend testing at the same time<br>
&gt;     * Control test env from tests/Maven, so it runs on both CI and local<br>
&gt;     machine<br>
&gt;        without any setup required<br>
&gt;     =&gt; Those 3 requirements limited us to use Arquillian<br>
&gt;     * Cover unified push server specifications in readable way<br>
&gt;<br>
&gt;     Why Groovy instead of Java?<br>
&gt;     + Better support for JSON<br>
&gt;     + Spock provides very nice BDD support<br>
&gt;     + Still supports anything Java would do<br>
&gt;<br>
&gt;     What problems we faced with Groovy?<br>
&gt;     - Needs specific compiler - solved, configured for tests only<br>
&gt;     - Needs support in IDE - Intellij - ootb, Eclipse and NetBeans have<br>
&gt;        plugins<br>
&gt;     - Needs to be deployed in test deployment - not addressed now,<br>
&gt;     prolongs test<br>
&gt;        execution by few seconds per deployment<br>
&gt;<br>
&gt;     What are currently raised concerns?<br>
&gt;     - Different language for development and testing<br>
&gt;     - Raises bar for newcomers willing to write tests<br>
&gt;<br>
&gt;<br>
&gt; that&#39;s the &#39;concerns&#39; I share as well: it a little burden on getting<br>
&gt; back contributions, since the source of the server is java.<br>
&gt;<br>
&gt;<br>
&gt; Also, what would happen if others decide let&#39;s add Ruby and also Perl<br>
&gt; for some sort of tests? That would mean a language nightmare, IMO :)<br>
&gt;<br>
&gt;<br>
&gt;     Thank you for additional advantages, concerns or proving some of<br>
&gt;     those are not<br>
&gt;     valid.<br>
&gt;<br>
&gt;     Karel<br>
&gt;     _______________________________________________<br>
&gt;     aerogear-dev mailing list<br>
</div></div>&gt;     <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a> &lt;mailto:<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>&gt;<br>

<div>&gt;     <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Matthias Wessendorf<br>
&gt;<br>
&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
--<br>
</div>abstractj<br>
<div><div><br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div></div>