{"id":15698377,"url":"https://github.com/icanhazstring/phpunit-trump-extension","last_synced_at":"2025-06-14T17:40:01.394Z","repository":{"id":55814414,"uuid":"319602979","full_name":"icanhazstring/phpunit-trump-extension","owner":"icanhazstring","description":"\"If We Stop Testing, We’d Have Fewer Cases\"","archived":false,"fork":false,"pushed_at":"2020-12-11T21:49:11.000Z","size":6,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-09T01:15:08.192Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icanhazstring.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":"2020-12-08T10:25:28.000Z","updated_at":"2023-11-24T13:23:54.000Z","dependencies_parsed_at":"2022-08-15T07:20:51.698Z","dependency_job_id":null,"html_url":"https://github.com/icanhazstring/phpunit-trump-extension","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/icanhazstring/phpunit-trump-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icanhazstring%2Fphpunit-trump-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icanhazstring%2Fphpunit-trump-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icanhazstring%2Fphpunit-trump-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icanhazstring%2Fphpunit-trump-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icanhazstring","download_url":"https://codeload.github.com/icanhazstring/phpunit-trump-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icanhazstring%2Fphpunit-trump-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259858105,"owners_count":22922904,"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-10-03T19:26:20.639Z","updated_at":"2025-06-14T17:40:01.364Z","avatar_url":"https://github.com/icanhazstring.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phpunit Trump Extension  \n\nThe \"Trump Extension\" will act as if there are no tests. This\nis because if you don't have tests, they can't fail right?\n\n## Installation\n\nYou can install Trump Extension via [Composer](http://getcomposer.org)\n\n    composer require icanhazstring/phpunit-trump-extension:dev-main --dev\n\n## Usage\n\nJust enable it by adding the following to your test suite's `phpunit.xml` file:\n\n```xml\n\u003cphpunit bootstrap=\"vendor/autoload.php\"\u003e\n    ...\n    \u003clisteners\u003e\n        \u003clistener class=\"icanhazstring\\TrumpExtension\\TrumpTestListener\" /\u003e\n    \u003c/listeners\u003e\n\u003c/phpunit\u003e\n```\n\nNow run your test suite as normal.\n\nIn CI tools environments, test suites execution will end with `No Tests execute!` ( exit code 0)  whether or not your assertions are false or unwanted exceptions are thrown.\n\n## License\n\nphpunit-trump-extension is available under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficanhazstring%2Fphpunit-trump-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficanhazstring%2Fphpunit-trump-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficanhazstring%2Fphpunit-trump-extension/lists"}