Testing Framework for PHP

dev-main 2024-12-22 04:01 UTC

This package is auto-updated.

Last update: 2024-12-22 04:01:08 UTC


README

Automation Supported PHP Version GitHub Sponsors Code Coverage Type Coverage Psalm Level Latest Version on Packagist Downloads

work in progress

Warning

This project is not finished yet, work in progress.

Installation

You can install the package via composer:

composer require ghostwriter/phpt

Star ⭐️ this repo if you find it useful

You can also star (🌟) this repo to find it easier later.

Usage

// work in progress

// https://qa.php.net/phpt_details.php

// PHPT - Test File Layout.

// [] indicates optional sections.

// --TEST--
// [--DESCRIPTION--]
// [--CREDITS--]
// [--SKIPIF--]
// [--CONFLICTS--]
// [--WHITESPACE_SENSITIVE--]
// [--CAPTURE_STDIO--]
// [--EXTENSIONS--]
// [--POST-- | --PUT-- | --POST_RAW-- | --GZIP_POST-- | --DEFLATE_POST-- | --GET--]
// [--COOKIE--]
// [--STDIN--]
// [--INI--]
// [--ARGS--]
// [--ENV--]
// [--PHPDBG--]
// --FILE-- | --FILEEOF-- | --FILE_EXTERNAL-- | --REDIRECTTEST--
// [--CGI--]
// [--XFAIL--]
// [--FLAKY--]
// [--EXPECTHEADERS--]
// --EXPECT-- | --EXPECTF-- | --EXPECTREGEX-- | --EXPECT_EXTERNAL-- | --EXPECTF_EXTERNAL-- | --EXPECTREGEX_EXTERNAL-- 
// [--CLEAN--]

Credits

Changelog

Please see CHANGELOG.md for more information on what has changed recently.

License

Please see LICENSE for more information on the license that applies to this project.

Security

Please see SECURITY.md for more information on security disclosure process.