{"id":15226334,"url":"https://github.com/skyzyx/phpunit-result-printer","last_synced_at":"2025-10-03T23:32:52.183Z","repository":{"id":57052973,"uuid":"63551074","full_name":"skyzyx/phpunit-result-printer","owner":"skyzyx","description":"A custom PHPUnit result printer.","archived":true,"fork":false,"pushed_at":"2020-04-22T21:49:37.000Z","size":15,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T23:24:18.589Z","etag":null,"topics":["composer","phpunit","printer"],"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/skyzyx.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}},"created_at":"2016-07-17T20:28:59.000Z","updated_at":"2023-01-28T08:41:00.000Z","dependencies_parsed_at":"2022-08-24T05:21:01.282Z","dependency_job_id":null,"html_url":"https://github.com/skyzyx/phpunit-result-printer","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fphpunit-result-printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fphpunit-result-printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fphpunit-result-printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fphpunit-result-printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyzyx","download_url":"https://codeload.github.com/skyzyx/phpunit-result-printer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235204448,"owners_count":18952326,"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":["composer","phpunit","printer"],"created_at":"2024-09-28T20:04:37.507Z","updated_at":"2025-10-03T23:32:46.917Z","avatar_url":"https://github.com/skyzyx.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHPUnit Result Printer\n\n[![Source](http://img.shields.io/badge/source-skyzyx/phpunit-result-printer-blue.svg?style=flat-square)](https://github.com/skyzyx/phpunit-result-printer)\n[![Latest Stable Version](http://img.shields.io/packagist/v/skyzyx/phpunit-result-printer.svg?style=flat-square)](https://packagist.org/packages/skyzyx/phpunit-result-printer)\n[![Total Downloads](http://img.shields.io/packagist/dt/skyzyx/phpunit-result-printer.svg?style=flat-square)](https://packagist.org/packages/skyzyx/phpunit-result-printer)\n[![Open Issues](http://img.shields.io/github/issues/skyzyx/phpunit-result-printer.svg?style=flat-square)](https://github.com/skyzyx/phpunit-result-printer/issues)\n[![License](http://img.shields.io/packagist/l/skyzyx/phpunit-result-printer-blue.svg?style=flat-square)](https://packagist.org/packages/skyzyx/phpunit-result-printer)\n[![Author](http://img.shields.io/badge/author-@skyzyx-blue.svg?style=flat-square)](https://twitter.com/skyzyx)\n\nA custom result printer for PHPUnit.\n\n\n## Examples\n\nHere is the output from using this with [skyzyx/php-strong-types](https://github.com/skyzyx/php-strong-types).\n\n```\nPHPUnit 5.4.6 by Sebastian Bergmann and contributors.\n\nRuntime:       PHP 7.0.9 with Xdebug 2.4.1\nConfiguration: /Library/WebServer/Documents/php-strong-types/phpunit.xml.dist\n\n  1/544 (  0%) ✓ Skyzyx\\Tests\\StrongTypes\\AbstractTest::testTypeMap (72 ms)\n  2/544 (  0%) ✓ Skyzyx\\Tests\\StrongTypes\\AbstractTest::testNativeType (103 ms)\n  3/544 (  0%) ✓ Skyzyx\\Tests\\StrongTypes\\BooleanTest::testBooleanType (90 ms)\n  4/544 (  0%) ✓ Skyzyx\\Tests\\StrongTypes\\BooleanTest::testBooleanException (114 ms)\n  5/544 (  0%) ✓ Skyzyx\\Tests\\StrongTypes\\BooleanTest::testBooleanToString (85 ms)\n  6/544 (  1%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionType (99 ms)\n  7/544 (  1%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionCount (85 ms)\n  8/544 (  1%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionAppend (86 ms)\n  9/544 (  1%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionGetInvalid (78 ms)\n 10/544 (  1%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionRemove (91 ms)\n 11/544 (  2%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionSeek (86 ms)\n 12/544 (  2%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionToString (76 ms)\n 13/544 (  2%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionDeepArray (82 ms)\n 14/544 (  2%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionDeepArrayFail (90 ms)\n 15/544 (  2%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionExists (82 ms)\n 16/544 (  2%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionSeekable (94 ms)\n 17/544 (  3%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionForeach (80 ms)\n 18/544 (  3%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionValidation (100 ms)\n 19/544 (  3%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionValidationStringException (93 ms)\n 20/544 (  3%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionValidationIntegerException (86 ms)\n 21/544 (  3%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionValidationIntegerException2 (93 ms)\n 22/544 (  4%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionValidationMissingRequiredException (85 ms)\n 23/544 (  4%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionValidationDisallowedException (87 ms)\n 24/544 (  4%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionSeekableException (74 ms)\n 25/544 (  4%) ✓ Skyzyx\\Tests\\StrongTypes\\CollectionTest::testCollectionException (81 ms)\n 26/544 (  4%) ✓ Skyzyx\\Tests\\StrongTypes\\EnumTest::testEnumType (74 ms)\n 27/544 (  4%) ✓ Skyzyx\\Tests\\StrongTypes\\EnumTest::testEnumToString (75 ms)\n 28/544 (  5%) ✓ Skyzyx\\Tests\\StrongTypes\\EnumTest::testEnumValidate (60 ms)\n 29/544 (  5%) ✓ Skyzyx\\Tests\\StrongTypes\\FloatTest::testFloatType (61 ms)\n 30/544 (  5%) ✓ Skyzyx\\Tests\\StrongTypes\\FloatTest::testFloatExceptionInteger (65 ms)\n 31/544 (  5%) ✓ Skyzyx\\Tests\\StrongTypes\\FloatTest::testFloatExceptionString (66 ms)\n 32/544 (  5%) ✓ Skyzyx\\Tests\\StrongTypes\\FloatTest::testFloatToString (57 ms)\n 33/544 (  6%) ✓ Skyzyx\\Tests\\StrongTypes\\IntegerTest::testIntegerType (63 ms)\n 34/544 (  6%) ✓ Skyzyx\\Tests\\StrongTypes\\IntegerTest::testIntegerExceptionString (66 ms)\n 35/544 (  6%) ✓ Skyzyx\\Tests\\StrongTypes\\IntegerTest::testIntegerExceptionFloat (66 ms)\n 36/544 (  6%) ✓ Skyzyx\\Tests\\StrongTypes\\IntegerTest::testIntegerToString (59 ms)\n 37/544 (  6%) ✓ Skyzyx\\Tests\\StrongTypes\\ListCollectionTest::testListCollectionValid (60 ms)\n 38/544 (  6%) ✓ Skyzyx\\Tests\\StrongTypes\\ListCollectionTest::testListCollectionException (63 ms)\n 39/544 (  7%) ✓ Skyzyx\\Tests\\StrongTypes\\MapCollectionTest::testMapCollectionValid (63 ms)\n 40/544 (  7%) ✓ Skyzyx\\Tests\\StrongTypes\\MapCollectionTest::testMapCollectionException (66 ms)\n 41/544 (  7%) ✓ Skyzyx\\Tests\\StrongTypes\\OneOfCollectionTest::testOneOfCollectionValid1 (70 ms)\n 42/544 (  7%) ✓ Skyzyx\\Tests\\StrongTypes\\OneOfCollectionTest::testOneOfCollectionValid2 (64 ms)\n 43/544 (  7%) ✓ Skyzyx\\Tests\\StrongTypes\\OneOfCollectionTest::testOneOfCollectionFail (61 ms)\n 44/544 (  8%) ✓ Skyzyx\\Tests\\StrongTypes\\OneOfCollectionTest::testOneOfCollectionFail2 (67 ms)\n 45/544 (  8%) ✓ Skyzyx\\Tests\\StrongTypes\\SetCollectionTest::testSetCollectionValid (60 ms)\n 46/544 (  8%) ✓ Skyzyx\\Tests\\StrongTypes\\SetCollectionTest::testSetCollectionAdd (65 ms)\n 47/544 (  8%) ✓ Skyzyx\\Tests\\StrongTypes\\SetCollectionTest::testSetCollectionException (62 ms)\n 48/544 (  8%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testStringType (64 ms)\n 49/544 (  9%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testStringException (63 ms)\n 50/544 (  9%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testClassOrType (117 ms)\n 51/544 (  9%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testExactLengthOk (73 ms)\n 52/544 (  9%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testExactLengthFail (71 ms)\n 53/544 (  9%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testExactLengthFail2 (77 ms)\n 54/544 (  9%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testLengthOk (70 ms)\n 55/544 ( 10%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testLengthOk2 (64 ms)\n 56/544 ( 10%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testMinLengthFail (62 ms)\n 57/544 ( 10%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testMaxLengthFail (65 ms)\n 58/544 ( 10%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testMaxLengthFail2 (64 ms)\n 59/544 ( 10%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testMinUtf8LengthOk (65 ms)\n 60/544 ( 11%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testMaxUtf8LengthOk (66 ms)\n 61/544 ( 11%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testAsciiFromUnicode (63 ms)\n 62/544 ( 11%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testAsciiFromUnicode2 (67 ms)\n 63/544 ( 11%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testUtf8FromUnicode (63 ms)\n 64/544 ( 11%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testAsciiFromBytes (63 ms)\n 65/544 ( 11%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testUtf8FromBytes (67 ms)\n 66/544 ( 12%) ✓ Skyzyx\\Tests\\StrongTypes\\StringTest::testUtf8FromBytes2 (68 ms)\n 67/544 ( 12%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #0 ('   Just a string') (66 ms)\n 68/544 ( 12%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #1 (' abigail@example.com') (67 ms)\n 69/544 ( 12%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #2 (' joeblow@apache.org') (67 ms)\n 70/544 ( 12%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #3 ('$@[]') (63 ms)\n 71/544 ( 13%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #4 ('':;') (63 ms)\n 72/544 ( 13%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #5 ('()@example.com') (62 ms)\n 73/544 ( 13%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #6 ('(comment)') (67 ms)\n 74/544 ( 13%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #7 ('(foo) abigail@example.com') (66 ms)\n 75/544 ( 13%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #8 ('*()@[]') (74 ms)\n 76/544 ( 13%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #9 ('@example.com') (68 ms)\n 77/544 ( 14%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #10 ('\"127.0.0.1\"@[127.0.0.1]') (65 ms)\n 78/544 ( 14%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #11 ('\":sysmail\"@  Some-Group. Some-Org') (64 ms)\n 79/544 ( 14%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #12 ('\"\"test\\\"\"blah\"\"@example.com') (62 ms)\n 80/544 ( 14%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #13 ('\"\\\"\"@foo.bar') (63 ms)\n 81/544 ( 14%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #14 ('\"Abi\"gail\" \u003cabigail@example.com\u003e') (60 ms)\n 82/544 ( 15%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #15 ('\"Abi\\\"gail\" \u003cabigail@example.com\u003e') (63 ms)\n 83/544 ( 15%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #16 ('\"Abigail \"\u003cabigail@example.com\u003e') (60 ms)\n 84/544 ( 15%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #17 ('\"George, Ted\" \u003cShared@Group.Arpanet\u003e') (65 ms)\n 85/544 ( 15%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #18 ('\"Joe \u0026 J. Harvey\" \u003cexample @Org\u003e') (63 ms)\n 86/544 ( 15%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #19 ('\"Joe \u0026 J. Harvey\"\\x0D\\x0A    ...@ Org\u003e') (64 ms)\n 87/544 ( 15%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #20 ('\"Joe \u0026\\x0D\\x0A J. Harvey\" \u003cddd \\@ Org\u003e') (62 ms)\n 88/544 ( 16%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #21 ('\"joe!\"@apache.org') (63 ms)\n 89/544 ( 16%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #22 ('\"joe%45\"@apache.org') (61 ms)\n 90/544 ( 16%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #23 ('\"joe\u0026\"@apache.org') (64 ms)\n 91/544 ( 16%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #24 ('\"joe'\"@apache.org') (63 ms)\n 92/544 ( 16%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #25 ('\"joe(\"@apache.org') (60 ms)\n 93/544 ( 17%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #26 ('\"joe)\"@apache.org') (65 ms)\n 94/544 ( 17%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #27 ('\"joe*\"@apache.org') (60 ms)\n 95/544 ( 17%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #28 ('\"joe+\"@apache.org') (63 ms)\n 96/544 ( 17%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #29 ('\"joe,\"@apache.org') (63 ms)\n 97/544 ( 17%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #30 ('\"joe.\"@apache.org') (62 ms)\n 98/544 ( 18%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #31 ('\"joe;\"@apache.org') (77 ms)\n 99/544 ( 18%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #32 ('\"joe=\"@apache.org') (66 ms)\n100/544 ( 18%) ✓ Skyzyx\\Tests\\StrongTypes\\StringType\\EmailInvalidTest::testValidate with data set #33 ('\"joe?\"@apache.org') (65 ms)\n```\n\n## Installation\n\nUsing [Composer]:\n```bash\ncomposer require skyzyx/phpunit-result-printer=^2.0\n```\n\nAnd include it in your scripts:\n\n```php\nrequire_once 'vendor/autoload.php';\n```\n\n\n## Testing\n\nFirstly, run `composer install --optimize-autoloader` to download and install the dependencies.\n\nYou can run the tests as follows:\n```bash\nbin/phpunit\n```\n\n\n## Contributing\nHere's the process for contributing:\n\n1. Fork PHPUnit Result Printer to your GitHub account.\n2. Clone your GitHub copy of the repository into your local workspace.\n3. Write code, fix bugs, and add tests with 100% code coverage.\n4. Commit your changes to your local workspace and push them up to your GitHub copy.\n5. You submit a GitHub pull request with a description of what the change is.\n6. The contribution is reviewed. Maybe there will be some banter back-and-forth in the comments.\n7. If all goes well, your pull request will be accepted and your changes are merged in.\n\n\n## Authors, Copyright \u0026 Licensing\n\n* Copyright (c) 2014-2017 [Ryan Parman](http://ryanparman.com).\n\nSee also the list of [contributors](https://github.com/skyzyx/phpunit-result-printer/contributors) who participated in this project.\n\nLicensed for use under the terms of the [MIT] license.\n\n\n## Coding Standards\n\nPSR-0/1/2 are a solid foundation, but are not an entire coding style by themselves. I have taken the time to document all of the nitpicky patterns and nuances of my personal coding style. It goes well-beyond brace placement and tabs vs. spaces to cover topics such as docblock annotations, ternary operations and which variation of English to use. It aims for thoroughness and pedanticism over hoping that we can all get along.\n\n\u003chttps://github.com/skyzyx/php-coding-standards\u003e\n\n  [PHP]: http://php.net\n  [Composer]: https://getcomposer.org\n  [MIT]: http://www.opensource.org/licenses/mit-license.php\n  [Apache 2.0]: http://opensource.org/licenses/Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyzyx%2Fphpunit-result-printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyzyx%2Fphpunit-result-printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyzyx%2Fphpunit-result-printer/lists"}