Files
docker-php-fpm/doc/contributor/PHP-EXT-test.yml.md
2022-11-30 03:05:46 +01:00

1.0 KiB

PHP Mods: Overview | PHP Mods: options.yml | PHP Mods: build.yml | PHP Mods: test.yml


Contributor Documentation: PHP Modules

Extension definition: test.yml

Goal

The goal of these tests will be to ensure that each compiled module works as expected:

  • Required system libraries are present
  • Module has been loaded in correct order
  • Module works properly

This will be accomplished by providing example PHP code, which makes calls to functions of the respective module. The tests will then check PHP error logs, stderr, unforseen exits and segfaults for potential errors.

Currently some basic tests already exist or a few modules here.

Configuration

This is not yet implemented and thus no documentation exists.