<div dir="ltr"><span style="font-size:14px">Hi Thomas and Stain,</span><div style="font-size:14px"><br></div><div style="font-size:14px">Thank you for your response. I would like to start the keycloak when I start testing my application via Arquillian.</div><div style="font-size:14px"><br></div><div style="font-size:14px">I hope it may be something like</div><div style="font-size:14px"><br></div><div style="font-size:14px">KeyCloak keyCloak = new KeyCloak();<br></div><div style="font-size:14px">keyCloak.start();</div><div style="font-size:14px">//do some tests</div><div style="font-size:14px">keyCloak.stop();</div><div style="font-size:14px"><br></div><div style="font-size:14px">note: The start and stop may be called by @BeforeClass and @AfterClass</div><div style="font-size:14px"><br></div><div style="font-size:14px">At the moment I&#39;ve tried to read the &quot;/testsuite/integration&quot; [1] and &quot;/testsuite/integration-arquillian&quot; [2]. I&#39;m still confused how to apply them to my project. Could you please help to advise further? Thank you very much for your help in advance. I&#39;m looking forward to hearing from you soon.</div><div style="font-size:14px"><br></div><div style="font-size:14px">[1] <a href="https://github.com/keycloak/keycloak/tree/master/testsuite/integration" target="_blank">https://github.com/keycloak/keycloak/tree/master/testsuite/integration</a></div><div style="font-size:14px">[2] <a href="https://github.com/keycloak/keycloak/tree/master/testsuite/integration-arquillian" target="_blank">https://github.com/keycloak/keycloak/tree/master/testsuite/integration-arquillian</a></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font face="Tahoma"><span style="font-size:10pt;font-family:Tahoma;color:rgb(153,102,51)"><font color="#000000">--</font></span></font></div><font face="Tahoma"><span style="font-size:10pt;font-family:Tahoma;color:rgb(153,102,51)"><font color="#000000">   Best Regards,<br><br>
                                                           Charlee Ch.</font></span></font></div></div></div>
<br><div class="gmail_quote">2016-06-29 13:13 GMT+07:00 Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Not sure what you mean about minimal server, but Keycloak can be used with Arquillian. We use it ourselves in the new testsuite.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 29 June 2016 at 04:53, Charlee Chitsuk <span dir="ltr">&lt;<a href="mailto:charlee.ch@gmail.com" target="_blank">charlee.ch@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I would like to test my application via the Arquillian. Does keycloak provide the minimal server for integration test?</div><div><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><font face="Tahoma"><span style="font-size:10pt;font-family:Tahoma;color:rgb(153,102,51)"><font color="#000000">--</font></span></font></div><font face="Tahoma"><span style="font-size:10pt;font-family:Tahoma;color:rgb(153,102,51)"><font color="#000000">   Best Regards,<br><br>
                                                           Charlee Ch</font></span></font></div></div></div>
</div></div><div><br>
<table style="border-top:1px solid #d3d4de">
        <tbody><tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=icon" target="_blank"><img width="46" height="29" style="width:46px;min-height:29px"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=link" style="color:#4453ea" target="_blank">www.avast.com</a>
                </td>
        </tr>
</tbody></table><a href="#m_8856438731553818385_m_-8974110243762289522_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>
<br></div></div><span class="">_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></span></blockquote></div><br></div>
</blockquote></div><br></div></div>