Skip to content

Check ModuleDefRequiredModuleAlreadyInTestsModules

github-actions[bot] edited this page Sep 8, 2026 · 2 revisions

module-def-required-module-already-in-tests-modules - Module already listed in tests_modules should not also be in requires

If a module is listed as tests_modules, it is already required implicitly. Adding it to requires is redundant.

Non-compliant Code Example

example_module_tests 1

requires
    example_module
end

tests_modules
    example_module
end

Compliant Code Example

example_module_tests 1

tests_modules
    example_module
end

Note

This page is generated. Any changes made to this page through the wiki will be lost in the future.

Clone this wiki locally