The aim of this tutorial is show the way, how to test module provided configurations (and all registrable configurable components). Every module provide it's configuration properties. In CzechIdM 9.7.7 was added support to test this configurations - "formal" test are implemented:
idm.pub.
) prefix.Source codes for this tutorial can be found in the example module
In core test api module abstract test AbstractConfigurableIntegrationTest
was prepared, we need to init this test only:
import eu.bcvsolutions.idm.test.api.AbstractConfigurableIntegrationTest; /** * Check example configurations. */ public class ExampleConfigurableIntegrationTest extends AbstractConfigurableIntegrationTest { }
And that is all :)
Configuration name and provided property names will be covered by integration test.