<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 06/01/2016 09:57 AM, Rostislav Svoboda wrote:<br>
    <blockquote
      cite="mid:1662693582.1399492.1464789426729.JavaMail.zimbra@redhat.com"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">Il 01/06/2016 13:24, Tomaž Cerar ha scritto:




On Wed, Jun 1, 2016 at 1:08 PM, Weinan Li &lt; <a class="moz-txt-link-abbreviated" href="mailto:weli@redhat.com">weli@redhat.com</a> &gt; wrote:



By using undertow for one part of tests, we also gain benefit that we could
keep improving our resteasy-undertow adapter.

Currently we have three main adapters:

- undertow adapter
- netty adapter
- sun jdk adapter

The undertow adapter is fully covered by JBoss community. Considering the
current popularity of JBoss Swarm, I feel that these lightweight and modular
solution will be more and more popular.

(Just some personal views)


Integration tests should be done by arquillian in general, if that means we
can by changing the config test on other servers beyond WildFly (servlet)
than that is best way to go.

Yes, that's basically what I have in mind. Arquillian, and by default
wildfly. Then you could configure the tests to run using different
containers (it would eventually be just a matter of defining a proper test
matrix).
</pre>
      </blockquote>
    </blockquote>
    <br>
    <p>About a month ago Katerina sent a note about the qe-internal
      RESTEasy testsuite at
      <a class="moz-txt-link-freetext" href="https://gitlab.mw.lab.eng.bos.redhat.com/jbossqe-eap/eap7-resteasy-ts">https://gitlab.mw.lab.eng.bos.redhat.com/jbossqe-eap/eap7-resteasy-ts</a>,
      and I keep failing to look at it, until today's tjws thread.
      Katerina and everyone else who worked on it: I'm apologize for
      taking so long. It looks like a wonderful piece of work, and we
      absolutely have to take advantage of it. <br>
    </p>
    <p>1. I don't see an obvious one-one relationship between the
      upstream TS and the qe TS. Katerina, you said</p>
    <p><br>
    </p>
    <blockquote>
      <pre wrap="">The testsuite contains all tests from resteasy upstream (applicable to
current version of Resteasy in EAP, running with arquillian on EAP where
applicable). The rest are the unit tests.

</pre>
    </blockquote>
    I'm not quite sure how to interpret that. Could you say more about
    which parts of the upstream TS are in the qe TS and which parts
    aren't?<br>
    <pre wrap="">
2. If we copy the qe TS into a Resteasy module, can we just adapt those Resteasy tests missing from the qe TS and put the results in the new Resteasy module?

3. Technical question: I tried running the qe TS with -PexcludeFailing, but I get

</pre>
    <blockquote>[INFO] BUILD FAILURE<br>
      [INFO]
      ------------------------------------------------------------------------<br>
      [INFO] Total time: 2.687 s<br>
      [INFO] Finished at: 2016-06-01T12:34:06-04:00<br>
      [INFO] Final Memory: 27M/277M<br>
      [INFO]
      ------------------------------------------------------------------------<br>
      [ERROR] Failed to execute goal
      org.apache.maven.plugins:maven-surefire-plugin:2.19:test
      (default-test) on project resteasy-build-tools:
      groups/excludedGroups require TestNG or JUnit48+ on project test
      classpath -&gt; [Help 1]<br>
      <br>
    </blockquote>
    What am I doing wrong?<br>
    <br>
    <blockquote
      cite="mid:1662693582.1399492.1464789426729.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">
Agree with this plan.

ARQ + Undertow know each other: <a class="moz-txt-link-freetext" href="http://arquillian.org/modules/undertow-embedded-container-adapter/">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. After all, that's what the TCK does, as
    well as the new qe TS. 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. 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. I'm a little worried though
    about the time it takes Arquillian to create a WAR, which isn't
    insignificant ...<br>
    <br>
    <blockquote
      cite="mid:1662693582.1399492.1464789426729.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">
Rostislav


</pre>
      <blockquote type="cite">
        <pre wrap="">

Alessio

--
Alessio Soldano
Web Service Lead, JBoss

_______________________________________________
resteasy-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:resteasy-dev@lists.jboss.org">resteasy-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/resteasy-dev">https://lists.jboss.org/mailman/listinfo/resteasy-dev</a>

</pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
resteasy-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:resteasy-dev@lists.jboss.org">resteasy-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/resteasy-dev">https://lists.jboss.org/mailman/listinfo/resteasy-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
My company's smarter than your company (unless you work for Red Hat)</pre>
  </body>
</html>