Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:latest:managertests [2019/01/15 15:54] (current)
Line 1: Line 1:
 +====== Ignore some manager tests ======
  
 +Each time you save a configuration,​ Manager launch a lot of tests:
 +  * unit tests for each key: they are declared in Lemonldap::​NG::​Manager::​Attributes //(source Lemonldap::​NG::​Manager::​Build::​Attributes)//​
 +  * more advanced tests declared in Lemonldap::​NG::​Manager::​Conf::​Tests
 +
 +In some case //(conf overridden in INI file,​...)//,​ you may have to ignore some of them. You just have to list them //(space separated)//​ in a special key in ''​lemonldap-ng.ini'',​ section ''​[Manager]'':​
 +  * ''​skippedUnitTests''​ for unit tests
 +  * ''​skippedGlobalTests''​ for global tests
 +
 +Example:
 +<file ini>
 +[Manager]
 +skippedUnitTests ​  = grantSessionRules portalSkinRules
 +skippedGlobalTests = testApacheSession
 +</​file>​