[keycloak-dev] how are model tests run?
Bill Burke
bburke at redhat.com
Thu Jul 24 08:55:10 EDT 2014
Cool! The tests still work?!? I was worried...
On 7/24/2014 8:54 AM, Stian Thorgersen wrote:
> audit/tests and model/tests have been moved to testsuite/integration
>
> These can be run through your IDE in the usual way with the default server config (jpa realm/users and mem sessions). I found the easiest way to run the tests with a specific model is to edit keycloak-server.json directly, alternatively you can use system properties when running the tests (for example -Dkeycloak.realm.provider=mongo).
>
> In addition to the default server config there's two maven profiles that can be used to run with JPA (everything jpa, including sessions) or Mongo (everything mongo):
>
> # mvn install -Pjpa
>
> or
>
> # mvn install -Pmongo
>
> ----- Original Message -----
>> From: "Stian Thorgersen" <stian at redhat.com>
>> To: "Bill Burke" <bburke at redhat.com>
>> Cc: keycloak-dev at lists.jboss.org
>> Sent: Wednesday, 23 July, 2014 4:16:11 PM
>> Subject: Re: [keycloak-dev] how are model tests run?
>>
>> They're disabled by purpose at the moment.
>>
>> Due to the provider updates, and splitting the model, it was quite awkward to
>> get them to work so the plan is to move them to testsuite. This has already
>> been done to UserSessionProviderTest.
>>
>> I'll start moving the rest right away.
>>
>> ----- Original Message -----
>>> From: "Bill Burke" <bburke at redhat.com>
>>> To: keycloak-dev at lists.jboss.org
>>> Sent: Wednesday, 23 July, 2014 3:40:26 PM
>>> Subject: [keycloak-dev] how are model tests run?
>>>
>>> I don't see how/where the model tests are run or how to run them
>>> individually in my IDE (intellij)
>>> --
>>> Bill Burke
>>> JBoss, a division of Red Hat
>>> http://bill.burkecentral.com
>>> _______________________________________________
>>> keycloak-dev mailing list
>>> keycloak-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>>
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
More information about the keycloak-dev
mailing list