{"id":15226352,"url":"https://github.com/gh640/phpunit-tap","last_synced_at":"2025-04-09T20:24:15.848Z","repository":{"id":62510458,"uuid":"102257786","full_name":"gh640/phpunit-tap","owner":"gh640","description":"A simple Composer package with a TAP result printer for PHPUnit.","archived":false,"fork":false,"pushed_at":"2020-03-05T02:01:35.000Z","size":287,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T16:49:10.693Z","etag":null,"topics":["php","phpunit","tap"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/gh640/phpunit-tap","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gh640.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-03T10:47:32.000Z","updated_at":"2020-07-24T14:14:02.000Z","dependencies_parsed_at":"2022-11-02T13:01:51.371Z","dependency_job_id":null,"html_url":"https://github.com/gh640/phpunit-tap","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2Fphpunit-tap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2Fphpunit-tap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2Fphpunit-tap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh640%2Fphpunit-tap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gh640","download_url":"https://codeload.github.com/gh640/phpunit-tap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248105310,"owners_count":21048498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","phpunit","tap"],"created_at":"2024-09-28T20:04:43.877Z","updated_at":"2025-04-09T20:24:15.826Z","avatar_url":"https://github.com/gh640.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh640/phpunit-tap\n\n[![Build Status](https://travis-ci.org/gh640/phpunit-tap.svg?branch=master)](https://travis-ci.org/gh640/phpunit-tap)\n\nA simple Composer package which provides a TAP result printer for [PHPUnit](https://github.com/sebastianbergmann/phpunit).\n\n![capture](https://raw.githubusercontent.com/gh640/phpunit-tap/master/assets/capture.gif)\n\n## Usage\n\nInstall the package with Composer.\n\n    $ composer require --dev gh640/phpunit-tap\n\nSpecify the TAP result printer with the `--printer` option when running `phpunit`. The printer's FQCN is `gh640\\PhpunitTap\\TapResultPrinter`.\n\n    $ phpunit --printer gh640\\PhpunitTap\\TapResultPrinter [your test file]\n\nYou can pipe the output to your favorite TAP reporter/formatter. See also \u003ca href=\"https://github.com/sindresorhus/awesome-tap\"\u003esindresorhus/awesome-tap | GitHub\u003c/a\u003e.\n\n    $ phpunit --printer gh640\\PhpunitTap\\TapResultPrinter [your test file] | tap-dot\n    $ phpunit --printer gh640\\PhpunitTap\\TapResultPrinter [your test file] | tap-nyan\n    $ phpunit --printer gh640\\PhpunitTap\\TapResultPrinter [your test file] | tap-notify\n\nOr, you can omit the option `--printer` by adding the option into your `phpunit.xml`.\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\n\u003cphpunit\n  printerClass=\"gh640\\PhpunitTap\\TapResultPrinter\"\n\u003e\n\u003c/phpunit\u003e\n```\n\n\n## Dependencies\n\nThis package depends on the following packages.\n\n- `phpunit/phpunit`\n- `symfony/yaml`\n\nFor the detailed dependencies, please have a look at the Packagist page.\n\n- \u003ca href=\"https://packagist.org/packages/gh640/phpunit-tap\"\u003egh640/phpunit-tap - Packagist\u003c/a\u003e\n\n\n## Issues\n\nIf you find an issue, please file it in the issue queue.\n\n\u003ca href=\"/gh640/phpunit-tap/issues\"\u003eIssues · gh640/phpunit-tap · GitHub\u003c/a\u003e\n\n\n## Reference\n\n- PHPUnit\n    - \u003ca href=\"https://phpunit.de/\"\u003ePHPUnit – The PHP Testing Framework\u003c/a\u003e\n- TAP (Test Anything Protocol)\n    - \u003ca href=\"https://testanything.org/\"\u003eTest Anything Protocol\u003c/a\u003e\n    - \u003ca href=\"https://en.wikipedia.org/wiki/Test_Anything_Protocol\"\u003eTest Anything Protocol - Wikipedia\u003c/a\u003e\n- Other PHPUnit printers: You might be interested in the other PHPUnit printers.\n    - \u003ca href=\"https://packagist.org/packages/whatthejeff/nyancat-phpunit-resultprinter\"\u003ewhatthejeff/nyancat-phpunit-resultprinter - Packagist\u003c/a\u003e\n    - \u003ca href=\"https://packagist.org/packages/memio/pretty-printer\"\u003ememio/pretty-printer - Packagist\u003c/a\u003e\n    - \u003ca href=\"https://packagist.org/packages/thru.io/json-pretty-printer\"\u003ethru.io/json-pretty-printer - Packagist\u003c/a\u003e\n    - \u003ca href=\"https://packagist.org/packages/kujira/phpunit-printer\"\u003ekujira/phpunit-printer - Packagist\u003c/a\u003e\n    - \u003ca href=\"https://packagist.org/packages/scriptfusion/phpunit-immediate-exception-printer\"\u003escriptfusion/phpunit-immediate-exception-printer - Packagist\u003c/a\u003e\n    - \u003ca href=\"https://packagist.org/packages/diablomedia/phpunit-pretty-printer\"\u003ediablomedia/phpunit-pretty-printer - Packagist\u003c/a\u003e\n    - \u003ca href=\"https://packagist.org/packages/zf2timo/phpunit-pretty-result-printer\"\u003ezf2timo/phpunit-pretty-result-printer - Packagist\u003c/a\u003e\n\n\n## License\n\nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh640%2Fphpunit-tap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgh640%2Fphpunit-tap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh640%2Fphpunit-tap/lists"}