{"id":36785732,"url":"https://github.com/delta-reporter/delta-reporter-phpunit","last_synced_at":"2026-01-12T13:20:54.136Z","repository":{"id":37530390,"uuid":"249409123","full_name":"delta-reporter/delta-reporter-phpunit","owner":"delta-reporter","description":"Delta plugin for PHP Unit","archived":false,"fork":false,"pushed_at":"2023-04-19T18:26:39.000Z","size":1040,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-27T14:50:07.541Z","etag":null,"topics":["delta-reporter","phpunit"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/delta-reporter.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-03-23T11:13:07.000Z","updated_at":"2021-08-18T14:05:52.000Z","dependencies_parsed_at":"2022-08-19T06:40:33.355Z","dependency_job_id":null,"html_url":"https://github.com/delta-reporter/delta-reporter-phpunit","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/delta-reporter/delta-reporter-phpunit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delta-reporter%2Fdelta-reporter-phpunit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delta-reporter%2Fdelta-reporter-phpunit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delta-reporter%2Fdelta-reporter-phpunit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delta-reporter%2Fdelta-reporter-phpunit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delta-reporter","download_url":"https://codeload.github.com/delta-reporter/delta-reporter-phpunit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delta-reporter%2Fdelta-reporter-phpunit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["delta-reporter","phpunit"],"created_at":"2026-01-12T13:20:53.874Z","updated_at":"2026-01-12T13:20:54.100Z","avatar_url":"https://github.com/delta-reporter.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Delta Reporter PHPUnit Service #\n\nThis service is intended to send information from PHPUnit tests to Delta Reporter\n\n### Installation ###\n\nInstalling this service is simple as adding it as a dependency to composer\n\n\n```json\n  \"minimum-stability\": \"dev\",\n  \"require-dev\": {\n    \"delta-reporter/phpunit-client\" : \"*\"\n  },\n```\n\n### Configuration ###\n#### Add listener to phpunit.xml ####\n\n\n```xml\n    \u003clisteners\u003e\n        \u003clistener class=\"DeltaReporter\\PHPUnitService\" file=\"vendor/delta-reporter/phpunit-client/src/PHPUnitService.php\"\u003e\n            \u003carguments\u003e\n                \u003cstring\u003eHOST URL\u003c/string\u003e\n                \u003cstring\u003ePROJECT NAME\u003c/string\u003e\n                \u003cstring\u003eTEST TYPE\u003c/string\u003e\n                \u003cboolean\u003eENABLED\u003c/boolean\u003e\n            \u003c/arguments\u003e\n        \u003c/listener\u003e\n    \u003c/listeners\u003e\n```\n\nIf the environment variable `DELTA_LAUNCH_ID` is not present, a new launch is going to be created on Delta Reporter automatically using the current date as `PHPUnit Launch {Y-m-d\\TH:i:s}`\n\nIf you wish to generate a DELTA_LAUNCH_ID to pass it to several types of tests, please check this [website](https://delta-reporter.github.io/delta-reporter/jenkins/)\n\n### Sending media to Delta Reporter ###\n\nYou can sent images and video to Delta Reporter, these will be displayed in a container into your test\n\n```\nuse DeltaReporter\\Service\\DeltaReporterHTTPService;\n\n\nabstract class DemoClass extends TestCase\n{\n\n\tprivate function demoFunction()\n\t{\n    DeltaReporterHTTPService::saveFileForTest($path, 'img', 'Screenshot description');\n  }\n}\n```\n\nThe function `saveFileForTest()` requires three parameters:\n\n- FilePath: string = Full path to upload the media file\n- Type: string = Type of media, it accept two values 'img' or 'video'\n- Description: string = Description of the media file, which is going to be displayed in a container\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelta-reporter%2Fdelta-reporter-phpunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelta-reporter%2Fdelta-reporter-phpunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelta-reporter%2Fdelta-reporter-phpunit/lists"}