<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 01/21/2015 10:50 AM, Matthias
      Wessendorf wrote:<br>
    </div>
    <blockquote
cite="mid:CAAg5f2Qjnp2XA13cMhapwCnv64hOZNa+kH4OqRLsJU-BK4_ujw@mail.gmail.com"
      type="cite">
      <div dir="ltr">I think the problem that I have with using
        Arquillian is the time of execution for these integration tests.
        It boots up a container and stuff and just makes the test
        execution take a very long time. We spoke about that in the
        past, and didn't do Aquillian due to that.</div>
    </blockquote>
    I'm learning to alike Arquillian.  Would it be terribly to put the
    Arq tests in a profile so they only get run if you pass -Pit or
    something?  Eventually the tests may get to take long enough its
    important.<br>
    <br>
    The android-maven-plugin does that so you aren't always firing up
    Android VM's.  <br>
    <blockquote
cite="mid:CAAg5f2Qjnp2XA13cMhapwCnv64hOZNa+kH4OqRLsJU-BK4_ujw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Not sure how others feel about it, but I'd prefer we dont
          boot a container inside our tests</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Jan 21, 2015 at 4:40 PM, Erik
          Jan de Wit <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:edewit@redhat.com" target="_blank">edewit@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 style="word-wrap:break-word">Hi,
              <div><br>
              </div>
              <div>The database unit tests of the UPS contain a lot of
                setup code as setting up the database is done within the
                test method. I’m proposing to remove this ‘noise’ from
                the test and put it in a separate file. Another thing
                that is setting up the dao's, when we use arquillian
                weld container we can use injection in our tests to
                further reduce the boilerplate, have a look at an
                example:</div>
              <div><br>
              </div>
              <div><a moz-do-not-send="true"
href="https://github.com/edewit/aerogear-unifiedpush-server/blob/4bb63adce319df25e8e77d505f2844cf80ff5644/model/jpa/src/test/java/org/jboss/aerogear/unifiedpush/jpa/PushApplicationDaoTest.java"
                  target="_blank">https://github.com/edewit/aerogear-unifiedpush-server/blob/4bb63adce319df25e8e77d505f2844cf80ff5644/model/jpa/src/test/java/org/jboss/aerogear/unifiedpush/jpa/PushApplicationDaoTest.java</a></div>
              <div><br>
              </div>
              <div>If you like I could do this for all these tests.</div>
              <div><br>
              </div>
              <div>Cheers,</div>
              <div><span style="white-space:pre-wrap"> </span>Erik Jan </div>
            </div>
            <br>
            _______________________________________________<br>
            aerogear-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
              target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">Matthias Wessendorf <br>
          <br>
          blog: <a moz-do-not-send="true"
            href="http://matthiaswessendorf.wordpress.com/"
            target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
          sessions: <a moz-do-not-send="true"
            href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
          twitter: <a moz-do-not-send="true"
            href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
aerogear-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Summers Pittman
&gt;&gt;Phone:404 941 4698
&gt;&gt;Java is my crack.
</pre>
  </body>
</html>