{"id":15450333,"url":"https://github.com/firstruner/phpunit_firstruner","last_synced_at":"2026-04-01T17:46:49.824Z","repository":{"id":218920297,"uuid":"735333598","full_name":"firstruner/phpunit_firstruner","owner":"firstruner","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-13T08:38:43.000Z","size":3904,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-28T00:19:35.498Z","etag":null,"topics":[],"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/firstruner.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":"2023-12-24T14:29:36.000Z","updated_at":"2026-01-21T14:18:12.000Z","dependencies_parsed_at":"2024-01-24T14:41:33.707Z","dependency_job_id":"cd6fae56-092f-4f5d-a5fa-a143644a7ef5","html_url":"https://github.com/firstruner/phpunit_firstruner","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":"0.19047619047619047","last_synced_commit":"127cc38b6fd9817de06eed233eb2496b342615f1"},"previous_names":["firstruner/phpunit_firstruner"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/firstruner/phpunit_firstruner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstruner%2Fphpunit_firstruner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstruner%2Fphpunit_firstruner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstruner%2Fphpunit_firstruner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstruner%2Fphpunit_firstruner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firstruner","download_url":"https://codeload.github.com/firstruner/phpunit_firstruner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstruner%2Fphpunit_firstruner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: 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":[],"created_at":"2024-10-01T21:04:35.309Z","updated_at":"2026-04-01T17:46:49.797Z","avatar_url":"https://github.com/firstruner.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# PHPUnit Firstruner\n\nHi, I'm Christophe and I got tired of having a display that was too reductive with PHPUnit.\nSo I build an extension for PHPUnit that give a result about unit test more beautifull, but also take some parameters for have a checking on the memory consuming and time elapsed.\n\n\n# How Use\n\n## Call reference\n\nSimply ! You must call the reference to \"Doctrine\\Common\\Annotations\\UnitTestAnnotation\" like this :\n\n    use Doctrine\\Common\\Annotations\\UnitTestAnnotation;\n\n## Parameters\n\n### name\nname is a required field, it give a name to your class or method\n\n### description\ndescription is an optional fiels, it give you a description in your test results\n\n### item\nitem is a name of the tested POO object, like the class name\n\n### element\nelement is a name of the tested POO function, property, ...\n\n### memoryLimit\nmemoryLimit fixe a limit about consumption limit for a class or method (not implemented for a method)\nThe value is expressed in octets\n\n### executionTimeLimit\nexecutionTimeLimit fixe a limit for execute all assertion in a test or in class test\nThe value is expressed in seconds\n\n## Parameter a test class\n\nJust add UnitTestAnnotation to your class and herits of TestCase_Firstruner instead of TestCase, like this :\n\n    /**\n    * @UnitTestAnnotation(\n    * name=\"Annotation\",\n    * description=\"Test des annotations\",\n    * item=\"Annotation\",\n    * element=\"Class\",\n    * memoryLimit=8000000,\n    * executionTimeLimit=1)\n    */\n    class  AnnotationTest  extends  TestCase_Firstruner\n    {\n    ...[Your tests codes]...\n    }\n\n## Parameter a test\n\nJust add UnitTestAnnotation to your test function, like this :\n\n    /**\n    * @UnitTestAnnotation(\n    * name=\"This is a test\",\n    * description=\"Annotation about method\",\n    * item=\"Annotation\",\n    * element=\"Function\",\n    * executionTimeLimit=2)\n    */\n    class  AnnotationTest  extends  TestCase_Firstruner\n    {\n    ...[Your tests codes]...\n    }\n\n## How run test\nLike PHPUnit but with some change :\n\n    php \"phpunit_firstruner/phpunit_firstruner\" [..Your common parameters, files, directories..]\n\n# Result\n![enter image description here](https://gitlab.com/firstruner/unittest_firstruner/-/raw/master/Preview.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstruner%2Fphpunit_firstruner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirstruner%2Fphpunit_firstruner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstruner%2Fphpunit_firstruner/lists"}