konecnyjakub/phpt-runner

PHPT tests runner

dev-master / 1.0.x-dev 2025-05-09 20:38 UTC

This package is auto-updated.

Last update: 2025-05-09 18:41:08 UTC


README

Total Downloads Latest Stable Version build status coverage report License

This library allows running phpt tests. See https://php.github.io/php-src/miscellaneous/writing-tests.html.

Installation

The best way to install PHPT Runner is via Composer. Just add konecnyjakub/phpt-runner to your (dev) dependencies.

Quick start

To be added

Advanced usage

To be added

Supported sections

  • --TEST--
  • --DESCRIPTION--
  • --SKIPIF--
  • --STDIN--
  • --INI--
  • --ARGS--
  • --ENV--
  • --FILE--
  • --XFAIL--
  • --FLAKY--
  • --EXPECT--
  • --CLEAN--

Implemented but not tested sections

  • --FILE_EXTERNAL--
  • --EXPECT_EXTERNAL--

Implemented but not working sections

Parsed but not implemented sections

  • --CONFLICTS--
  • --EXTENSIONS--
  • --REDIRECTTEST--
  • --CGI--
  • --EXPECTHEADERS--
  • --EXPECTF--
  • --EXPECTF_EXTERNAL--
  • --EXPECTREGEX--
  • --EXPECTREGEX_EXTERNAL--

Ignored sections

  • --CREDITS--
  • --WHITESPACE_SENSITIVE--
  • --CAPTURE_STDIO--
  • --POST--
  • --POST_RAW--
  • --PUT--
  • --GZIP_POST--
  • --DEFLATE_POST--
  • --GET--
  • --COOKIE--
  • --PHPDBG--
  • --FILEEOF--