{"id":15014419,"url":"https://github.com/lion-packages/test","last_synced_at":"2026-05-18T02:15:29.254Z","repository":{"id":208005986,"uuid":"720609167","full_name":"lion-packages/test","owner":"lion-packages","description":"library to implement testing with helpers that allow easy testing with PHPUnit.","archived":false,"fork":false,"pushed_at":"2025-04-06T15:51:26.000Z","size":94,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-12T08:05:51.627Z","etag":null,"topics":["php","phpunit","testing"],"latest_commit_sha":null,"homepage":"https://dev.lion-packages.com/docs/library/content","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/lion-packages.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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-11-19T02:15:19.000Z","updated_at":"2025-04-06T15:51:00.000Z","dependencies_parsed_at":"2023-11-19T03:25:31.337Z","dependency_job_id":"815a93e2-8ddf-49a8-8316-e44d45135d28","html_url":"https://github.com/lion-packages/test","commit_stats":{"total_commits":26,"total_committers":3,"mean_commits":8.666666666666666,"dds":"0.11538461538461542","last_synced_commit":"73c46aece1e6f6b8f954e0c96d82e37834bb490d"},"previous_names":["lion-packages/test"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion-packages%2Ftest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion-packages%2Ftest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion-packages%2Ftest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion-packages%2Ftest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lion-packages","download_url":"https://codeload.github.com/lion-packages/test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537137,"owners_count":21120709,"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":["php","phpunit","testing"],"created_at":"2024-09-24T19:45:36.243Z","updated_at":"2026-05-18T02:15:23.802Z","avatar_url":"https://github.com/lion-packages.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦁 Lion-Test\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://dev.lion-packages.com/docs/library/content\"\u003e\n    \u003cimg \n        src=\"https://github.com/lion-packages/framework/assets/56183278/60871c9f-1c93-4481-8c1e-d70282b33254\"\n        width=\"450\" \n        alt=\"Lion-Packages Logo\"\n    \u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://packagist.org/packages/lion/test\"\u003e\n    \u003cimg src=\"https://poser.pugx.org/lion/test/v\" alt=\"Latest Stable Version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://packagist.org/packages/lion/test\"\u003e\n    \u003cimg src=\"https://poser.pugx.org/lion/test/downloads\" alt=\"Total Downloads\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/lion-packages/test/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://poser.pugx.org/lion/test/license\" alt=\"License\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.php.net/\"\u003e\n    \u003cimg src=\"https://poser.pugx.org/lion/test/require/php\" alt=\"PHP Version Require\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n🚀 **Lion-Test** library to implement testing with helpers that allow easy testing with PHPUnit.\n\n---\n\n## 📖 Features\n\n✔️ Easy-to-use assertions beyond the default PHPUnit set.  \n✔️ Custom helper functions for common test patterns.  \n✔️ Integration with PHPUnit for seamless test execution.  \n\n---\n\n## 📦 Installation\n\nInstall the test using **Composer**:\n\n```bash\ncomposer require --dev phpunit/phpunit lion/test\n```\n\n## Usage Example\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nnamespace Tests;\n\nuse Lion\\Test\\Test;\nuse PHPUnit\\Framework\\Attributes\\Test as Testing;\n\nclass ExampleTest extends Test\n{\n    protected function setUp(): void\n    {\n        $this-\u003einitReflection(new ExampleController());\n    }\n\n    #[Testing]\n    public function example(): void\n    {\n        $this-\u003eassertPropertyValue('id', 1);\n    }\n}\n```\n\n## 📝 License\n\nThe \u003cstrong\u003etest\u003c/strong\u003e is open-sourced software licensed under the [MIT License](https://github.com/lion-packages/test/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flion-packages%2Ftest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flion-packages%2Ftest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flion-packages%2Ftest/lists"}