{"id":15450329,"url":"https://github.com/clagiordano/phpunit-result-printer","last_synced_at":"2025-04-19T22:58:28.272Z","repository":{"id":56139018,"uuid":"118470597","full_name":"clagiordano/phpunit-result-printer","owner":"clagiordano","description":"Phpunit custom result printer class","archived":false,"fork":false,"pushed_at":"2024-10-24T10:06:31.000Z","size":75,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-25T04:31:52.445Z","etag":null,"topics":["cli","phpunit","phpunit-tests","printer","results","unittesting"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clagiordano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-22T14:48:38.000Z","updated_at":"2024-10-24T10:05:15.000Z","dependencies_parsed_at":"2024-11-21T08:45:29.663Z","dependency_job_id":"1a610099-3148-4846-810c-a2f1d1402b6c","html_url":"https://github.com/clagiordano/phpunit-result-printer","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"fed7573b25265f0c49c9783a25e26050099618af"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clagiordano%2Fphpunit-result-printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clagiordano%2Fphpunit-result-printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clagiordano%2Fphpunit-result-printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clagiordano%2Fphpunit-result-printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clagiordano","download_url":"https://codeload.github.com/clagiordano/phpunit-result-printer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249826664,"owners_count":21330673,"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":["cli","phpunit","phpunit-tests","printer","results","unittesting"],"created_at":"2024-10-01T21:04:33.382Z","updated_at":"2025-04-19T22:58:28.253Z","avatar_url":"https://github.com/clagiordano.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHPUnit result printer\n\nPHPUnit result printer is a custom phpunit result printer with pretty output and timings\n\nSample image:\n\n![sample_output.png](sample_output.png)\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nWhat things you need to install the software and how to install them\n\n- php \u003e= 5.3.3\n- composer\n\n### Compatiblity table\n\nVersion | PHP | Phpunit\n:---: | :---: | :---:\n1.x.x | \u003e=5.3.3 | \u003c=4.8\n2.0.x | \u003e=7.1 | ^7\n2.1.x | \u003e=7.1 | ^7\\|^8\n3.x.x | \u003e=7.3 | ^9\n\n### Installing\n\nThe recommended way to install phpunit-result-printer is through [Composer](https://getcomposer.org).\n\n```bash\ncomposer require clagiordano/phpunit-result-printer\n```\n\nAfter install you can edit your phpunit.xml as follow:\n\n```xml\n\u003cphpunit\n    ...\n    printerClass=\"clagiordano\\PhpunitResultPrinter\\ResultPrinter\"\n\u003e\n...\n\u003c/phpunit\u003e\n```\n\nA full phpunit.xml example:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cphpunit backupGlobals=\"false\"\n         backupStaticAttributes=\"false\"\n         bootstrap=\"vendor/autoload.php\"\n         colors=\"true\"\n         convertErrorsToExceptions=\"true\"\n         convertNoticesToExceptions=\"true\"\n         convertWarningsToExceptions=\"true\"\n         processIsolation=\"false\"\n         stopOnFailure=\"false\"\n         verbose=\"true\"\n         printerClass=\"clagiordano\\PhpunitResultPrinter\\ResultPrinter\"\n        \u003e\n    \u003ctestsuites\u003e\n        \u003ctestsuite name=\"Package Test Suite\"\u003e\n            \u003cdirectory suffix=\".php\"\u003e./tests/\u003c/directory\u003e\n        \u003c/testsuite\u003e\n    \u003c/testsuites\u003e\n\u003c/phpunit\u003e\n```\n\n## Running the tests\n\nYou can clone and test this project with the following commands:\n\n```bash\ngit clone https://github.com/clagiordano/phpunit-result-printer.git\ncd phpunit-result-printer\ncomposer install\n./vendor/bin/phpunit\n```\n\nOne of the previous tests fails for demo purpose\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your/project/tags).\n\n## Authors\n\n* **Claudio Giordano** - *Initial work* - [clagiordano](https://github.com/clagiordano)\n\nSee also the list of [contributors](CONTRIBUTORS.md) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclagiordano%2Fphpunit-result-printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclagiordano%2Fphpunit-result-printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclagiordano%2Fphpunit-result-printer/lists"}