lemonldap-ng/doc/sources/admin/managertests.rst

26 lines
759 B
ReStructuredText
Raw Normal View History

2020-05-14 23:29:41 +02:00
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
2020-05-20 15:44:46 +02:00
Lemonldap::NG::Manager::Build::Attributes)*
2020-05-14 23:29:41 +02:00
- 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:
.. code:: ini
[Manager]
skippedUnitTests = grantSessionRules portalSkinRules
skippedGlobalTests = testApacheSession