Page MenuHomeDevCentral

Configure PHPUnit and PHP_CodeSniffer
ClosedPublic

Authored by dereckson on Feb 21 2022, 03:02.
Tags
None
Referenced Files
F3905064: D2544.diff
Tue, Dec 17, 23:01
Unknown Object (File)
Mon, Dec 16, 16:11
Unknown Object (File)
Fri, Dec 6, 18:13
Unknown Object (File)
Thu, Dec 5, 02:14
Unknown Object (File)
Tue, Dec 3, 18:04
Unknown Object (File)
Wed, Nov 27, 15:08
Unknown Object (File)
Thu, Nov 21, 08:09
Unknown Object (File)
Tue, Nov 19, 02:03
Subscribers
None

Details

Summary

Quality tools like phpunit and phpcs can run across all the repository
testing and linting all libraries at once.

Some configuration files will be dynamic and grow when we add more
libraries to the repository.

As such, maintain a small collection of metadata on the libraries
allows to create templates.

Templates use Jinja2 and are rendered by a small Python script.

Each time a library is added to the repository, make regenerate
allows to create those files. Autogenerated files are stable enough
to be included in the repository too.

Ref T1680

Test Plan

make regenerate, then phpunit and phpcs

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable