{"id":18598465,"url":"https://github.com/backendtea/easytest","last_synced_at":"2025-05-16T14:11:58.174Z","repository":{"id":128875753,"uuid":"196869244","full_name":"BackEndTea/EasyTest","owner":"BackEndTea","description":"Easy testing for PHP","archived":false,"fork":false,"pushed_at":"2019-07-25T18:35:12.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T23:48:15.162Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BackEndTea.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-14T18:18:55.000Z","updated_at":"2019-07-25T18:35:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"df53a42d-4145-4820-90b3-ba61c4ae1d89","html_url":"https://github.com/BackEndTea/EasyTest","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/BackEndTea%2FEasyTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackEndTea%2FEasyTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackEndTea%2FEasyTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackEndTea%2FEasyTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BackEndTea","download_url":"https://codeload.github.com/BackEndTea/EasyTest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254544157,"owners_count":22088808,"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-11-07T01:32:50.183Z","updated_at":"2025-05-16T14:11:58.147Z","avatar_url":"https://github.com/BackEndTea.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easy Test\n[![Build Status](https://travis-ci.org/BackEndTea/EasyTest.svg?branch=master)](https://travis-ci.org/BackEndTea/EasyTest)\n\nEasy test is a small php test framework.\n\n## Usage\n\n```php\n\u003c?php\n\nuse function EasyTest\\afterEach;\nuse function EasyTest\\beforeEach;\nuse function EasyTest\\describe;\nuse function EasyTest\\expect;\nuse function EasyTest\\it;\n\ndescribe('MyClass', function () {\n\n  beforeEach(function () {\n      // set up;\n  });\n\n  afterEach(function () {\n      // clean up\n  });\n\n  it('should equal something', function () {\n    expect(10)-\u003etoEqual(10);\n  });\n  it('should fail if it is not equal', function () {\n    expect(12)-\u003etoEqual(12);\n  });\n});\n\n```\n## Why\n\nI wanted to make this, mostly to see if it would be hard to write\na test framework like this in PHP.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackendtea%2Feasytest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackendtea%2Feasytest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackendtea%2Feasytest/lists"}