Hi Thomas and Stain,

Thank you for your response. I would like to start the keycloak when I start testing my application via Arquillian.

I hope it may be something like

KeyCloak keyCloak = new KeyCloak();
keyCloak.start();
//do some tests
keyCloak.stop();

note: The start and stop may be called by @BeforeClass and @AfterClass

At the moment I've tried to read the "/testsuite/integration" [1] and "/testsuite/integration-arquillian" [2]. I'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'm looking forward to hearing from you soon.

[1] https://github.com/keycloak/keycloak/tree/master/testsuite/integration
[2] https://github.com/keycloak/keycloak/tree/master/testsuite/integration-arquillian

--
   Best Regards,

   Charlee Ch.

2016-06-29 13:13 GMT+07:00 Stian Thorgersen <sthorger@redhat.com>:
Not sure what you mean about minimal server, but Keycloak can be used with Arquillian. We use it ourselves in the new testsuite.

On 29 June 2016 at 04:53, Charlee Chitsuk <charlee.ch@gmail.com> wrote:
Hi,

I would like to test my application via the Arquillian. Does keycloak provide the minimal server for integration test?

--
   Best Regards,

   Charlee Ch

Virus-free. www.avast.com

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user