Importing the custom classes declared in setup project to test project

Hi team,

I am unable to import the class files declared inside setup project, to my test project.

I created CustomKeyCloak, CustomManager and CustomSetupTask

Can anyone tell me, how can I import them into the CustomTests that I am creating right-now.

As declared in we need to have it present there for testing the datapoints.


What’s the thought behind referencing setup tasks in the tests?
They should automatically be picked up by Gradle, uses the custom classes during the setup,
and then tests are scheduled after that.

You shouldn’t want to include a lot of custom code in these files.

You can always, during the tests, interact with for example the identity provider using identityService.getIdentityProvider(), or interact with the individual resources like UserResource or RealmResource.