<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><div><span name="x"></span>Rostislav Svoboda<br>Principal JBoss QA Engineer<span name="x"></span><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><p><br></p><br><div class="moz-cite-prefix">On 06/01/2016 05:20 PM, Alessio Soldano
      wrote:<br></div><blockquote cite="mid:574F5196.4090907@redhat.com"><div class="moz-cite-prefix">Il 01/06/2016 20:16, Ron Sigal ha
        scritto:<br></div><blockquote cite="mid:c26971bd-dcb0-8aeb-4f75-1a4702ce7595@redhat.com"><br><br><blockquote cite="mid:1662693582.1399492.1464789426729.JavaMail.zimbra@redhat.com"><pre>ARQ + Undertow know each other: <a class="moz-txt-link-freetext" href="http://arquillian.org/modules/undertow-embedded-container-adapter/" target="_blank">http://arquillian.org/modules/undertow-embedded-container-adapter/</a></pre></blockquote><br>
        My first inclination, like Weinan's, was to think that running
        everything in Wildfly was pretty heavy, but if we just start
        Wildfly once, that's not so bad.</blockquote>
      Right, that's what I meant saying that it depends on how you
      implement the solution. In practice, we might end up needing more
      than just a single WFLY instance (perhaps because we need
      different container configurations for different types of tests),
      but the number of instances should really be limited (let's say
      less than 5?).<br><br><blockquote cite="mid:c26971bd-dcb0-8aeb-4f75-1a4702ce7595@redhat.com"> After all, that's what the TCK does, as well as the
        new qe TS.</blockquote>
      And the JBossWS testsuite ;)<br><br><blockquote cite="mid:c26971bd-dcb0-8aeb-4f75-1a4702ce7595@redhat.com"> One problem I still have is that, when I'm working
        on a problem, I MUCH prefer running tests in an embedded
        container like tjws or Undertow.</blockquote>
      Not sure what the preference is based on, but if that's because
      you don't want to manually start the container, etc... Arquillian
      does that for you.<br></blockquote><br>
    I just like the instantaneous startup. For example, I just ran a
    test in RESTEASY-TEST-WF8, and it took 2.7 seconds to start up
    Wildfly and another 2.7 seconds to create and deploy the WAR. Better
    than AS 5 ;-) but still a little annoying.<br></blockquote><div><br></div><div>If you do TS properly you need to start WF just once so I don't see this as a problem.<br></div><div>Starting WF for each test is bad practice.<br></div><div><br></div><div>R.<br></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><blockquote cite="mid:574F5196.4090907@redhat.com"><br><blockquote cite="mid:c26971bd-dcb0-8aeb-4f75-1a4702ce7595@redhat.com"> I guess I could just write a standalone test and
        then turn it into an arquillian test when I'm done. But if
        Arquillian works with Undertow, which I didn't know, that might
        be the best of all worlds.</blockquote>
      I've never tried this, but afaiu yes it works with Undertow.<br><br><blockquote cite="mid:c26971bd-dcb0-8aeb-4f75-1a4702ce7595@redhat.com"> I'm a little worried though about the time it takes
        Arquillian to create a WAR, which isn't insignificant ...<br></blockquote>
      It's not that bad after all; btw, once you have all tests as
      arquillian ones and you ensure they do not make assumptions on the
      server being there just for each of them (which is also good), you
      can most likely make the testsuite execution concurrent and run
      multiple tests at the same time.<br><br>
      Cheers<br>
      Alessio<br><br><pre class="moz-signature">-- 
Alessio Soldano
Web Service Lead, JBoss</pre><br><br><pre>_______________________________________________
resteasy-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:resteasy-dev@lists.jboss.org" target="_blank">resteasy-dev@lists.jboss.org</a><a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/resteasy-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/resteasy-dev</a></pre></blockquote><br><pre class="moz-signature">-- 
My company's smarter than your company (unless you work for Red Hat)</pre><br>_______________________________________________<br>resteasy-dev mailing list<br>resteasy-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/resteasy-dev<br></blockquote><div><br></div></div></body></html>