{"id":22669089,"url":"https://github.com/stjohnjohnson/prettylistener-phpunit","last_synced_at":"2025-03-29T10:44:13.422Z","repository":{"id":2601643,"uuid":"3584382","full_name":"stjohnjohnson/prettylistener-phpunit","owner":"stjohnjohnson","description":"Better Output for PHPUnit tests","archived":false,"fork":false,"pushed_at":"2012-02-29T19:36:15.000Z","size":92,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T18:49:35.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/stjohnjohnson.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":"2012-02-29T18:18:54.000Z","updated_at":"2013-10-08T17:47:05.000Z","dependencies_parsed_at":"2022-08-28T12:13:18.176Z","dependency_job_id":null,"html_url":"https://github.com/stjohnjohnson/prettylistener-phpunit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjohnjohnson%2Fprettylistener-phpunit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjohnjohnson%2Fprettylistener-phpunit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjohnjohnson%2Fprettylistener-phpunit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjohnjohnson%2Fprettylistener-phpunit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stjohnjohnson","download_url":"https://codeload.github.com/stjohnjohnson/prettylistener-phpunit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246174469,"owners_count":20735410,"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":[],"created_at":"2024-12-09T15:18:27.866Z","updated_at":"2025-03-29T10:44:13.366Z","avatar_url":"https://github.com/stjohnjohnson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PrettyListener (PHPUnit)\n========================\n\nThis is a really simple Listener for PHPUnit that presents a much better view/progress of tests.\n\n\nUsage\n-----\n\nTo leverage this class, just include it at the bottom of your `phpunit.xml` file:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cphpunit\u003e\n\n....\n\n  \u003clisteners\u003e\n    \u003clistener class=\"PrettyListener\" file=\"/path/to/PrettyListener.php\"\u003e\u003c/listener\u003e\n  \u003c/listeners\u003e\n\u003c/phpunit\u003e\n```\n\nExample\n-------\n\nThis is using the Test Suite from my [Scrabbler bot](https://github.com/stjohnjohnson/scrabbler-bot).\n\n```bash\n$ phpunit\nPHPUnit 3.6.4 by Sebastian Bergmann.\n\nConfiguration read from /tmp/scrabbler/phpunit.xml\n\n\n\nScrabbler Bot\n\n  Board\n    Initialized .\n    SetGet .\n    Flipped .\n    MoveAt .\n    Output .\n    Anchors .\n    CrossChecks .\n    LetterPoints .\n    WalkPlay .\n    ValidMove .\n    TopDownScore .\n\n  Game\n    Construct .\n    Log .\n    Command .\n    Execute .\n    Trades .\n    SimulateTrader .\n    SimulateBadMove .\n    SimulateBadTrade .\n    SimulateSimple .\n    SimulateOutOfLetters .\n    SimulateTradeTooMuch .\n\n  Lexicon\n    AddValidWord .\n    AddInvalidWord .\n    FromFile .\n    NodeAt .\n    FindWordsEmpty .\n    FindWordsComplex .\n    FindWordsSingle .\n    FindWordsEdge .\n\n  Move\n    FromWord .\n    Position .\n    ToString .\n    FromString .\n    AssignScore .\n\n  Player\n    Construct .\n    ChooseAction .\n    HighestLowestScore .\n    MostWords .\n    MostLeastLetters .\n    LongestShortestWord .\n\nTime: 2 seconds, Memory: 15.75Mb\n\nOK (41 tests, 387 assertions)\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstjohnjohnson%2Fprettylistener-phpunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstjohnjohnson%2Fprettylistener-phpunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstjohnjohnson%2Fprettylistener-phpunit/lists"}