<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 18, 2013 at 4:16 PM, Karel Piwko <span dir="ltr">&lt;<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.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 class="im">On Tue, 16 Jul 2013 12:18:40 -0300<br>
Douglas Campos &lt;<a href="mailto:qmx@qmx.me">qmx@qmx.me</a>&gt; wrote:<br>
<br>
&gt; Thanks Karel for the well balanced email.<br>
&gt;<br>
&gt; This discussion will never reach an agreement, because it&#39;s a biased<br>
&gt; discussion, and we do have personal preferences involved - I for one<br>
&gt; can&#39;t stand Groovy.<br>
<br>
</div>We need to reach at some for of (temporary) agreement. QE needs to continue<br>
developing tests and so far we are simply &quot;stuck&quot; in the middle of discussion<br>
whether to continue with current tooling or not.<br></blockquote><div><br></div><div><br></div><div>My current preference is - long term - using Java.<br></div><div><br></div><div>IMO this does NOT need to be ported now, as we speak, but soon.</div>
<div><br></div><div><br></div><div>After my vacation (End of August / early Sep.) I am happy to help porting the tests to Java, but not now.</div><div><br></div><div><br></div><div>-Matthias</div><div><br></div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
&gt;<br>
&gt; And that&#39;s the reason I strongly advocate for keeping it to Java - this<br>
&gt; is a Groovy vs Java, while it should&#39;ve been X vs Java - Scala specs2,<br>
&gt; RSpec (via JRuby), Jasmine or Mocha (via DynJS or Rhino) - Heck, even<br>
&gt; Clojure would be easier to work than Java.<br>
<br>
</div>Cradle of best Czech beer for anybody who adds Arquillian support into<br>
Jasmine or Mocha ;-)<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; Unless we have a broad discussion over all those languages (which<br>
&gt; honestly I don&#39;t think we have time for that) we should stick to the<br>
&gt; lowest common denominator, which is (unfortunately) Java.<br>
&gt;<br>
&gt; fwiw, I can see the value of s/Groovy/dynamic JVM lang for tests/ - any<br>
&gt; of them would fit the bill - what I can&#39;t let go is the partiality of<br>
&gt; the debate.<br>
&gt;<br>
&gt; On Tue, Jul 16, 2013 at 01:03:43PM +0200, Karel Piwko wrote:<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; let me summarize the discussion from previous threads:<br>
&gt; &gt;<br>
&gt; &gt; What were testing requirements?<br>
&gt; &gt; * Do not mock<br>
&gt; &gt; * Cover both backend and frontend testing at the same time<br>
&gt; &gt; * Control test env from tests/Maven, so it runs on both CI and local machine<br>
&gt; &gt;   without any setup required<br>
&gt; &gt; =&gt; Those 3 requirements limited us to use Arquillian<br>
&gt; &gt; * Cover unified push server specifications in readable way<br>
&gt; &gt;<br>
&gt; &gt; Why Groovy instead of Java?<br>
&gt; &gt; + Better support for JSON<br>
&gt; &gt; + Spock provides very nice BDD support<br>
&gt; &gt; + Still supports anything Java would do<br>
&gt; &gt;<br>
&gt; &gt; What problems we faced with Groovy?<br>
&gt; &gt; - Needs specific compiler - solved, configured for tests only<br>
&gt; &gt; - Needs support in IDE - Intellij - ootb, Eclipse and NetBeans have<br>
&gt; &gt;   plugins<br>
&gt; &gt; - Needs to be deployed in test deployment - not addressed now, prolongs test<br>
&gt; &gt;   execution by few seconds per deployment<br>
&gt; &gt;<br>
&gt; &gt; What are currently raised concerns?<br>
&gt; &gt; - Different language for development and testing<br>
&gt; &gt; - Raises bar for newcomers willing to write tests<br>
&gt; &gt;<br>
&gt; &gt; Thank you for additional advantages, concerns or proving some of those are<br>
&gt; &gt; not valid.<br>
&gt; &gt;<br>
&gt; &gt; Karel<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &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>
<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>