Manual:Hooks/UnitTestsList

Allows to centralize the execution of unit tests. Extensions can append names of files containing their tests to $files.