{"id":23024448,"url":"https://github.com/thipages/quicktests","last_synced_at":"2025-04-02T19:41:03.537Z","repository":{"id":57068903,"uuid":"254984954","full_name":"thipages/quicktests","owner":"thipages","description":"Quick PHP Unit Tests","archived":false,"fork":false,"pushed_at":"2020-07-30T07:33:39.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T10:20:13.959Z","etag":null,"topics":["php","quick","tests","unit"],"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/thipages.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-04-12T01:09:44.000Z","updated_at":"2020-07-30T07:32:40.000Z","dependencies_parsed_at":"2022-08-24T07:51:12.192Z","dependency_job_id":null,"html_url":"https://github.com/thipages/quicktests","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fquicktests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fquicktests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fquicktests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thipages%2Fquicktests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thipages","download_url":"https://codeload.github.com/thipages/quicktests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246882880,"owners_count":20849330,"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","quick","tests","unit"],"created_at":"2024-12-15T13:18:43.804Z","updated_at":"2025-04-02T19:41:03.520Z","avatar_url":"https://github.com/thipages.png","language":"PHP","readme":"# quicktests\nQuick PHP Unit Tests\n\n### Installation\n**composer** require thipages\\quicktests\n\n### Usage of QTests class\n#### through the following static method\n```php\n    test  ($qTestsOrList, $htmlOutput=false, $idFilter=null)\n```\n\n#### Example\n```php\n  $html=QTests::test(Tests_Foo::class);\n                or\n  $html=QTests::test([Tests_Foo1::class,Tests_Foo2::class]);\n  \n  // where Tests_Foo needs to have s static dataSet() method\n  // being an array of tests to perform and containing a 3 items array (actual,expected,description)\n\n  class Tests_Foo {                              // test group Tests_Foo\n      public static function dataSet() {\n          return [\n              [true, true, \"True  is true\"],      // test 1\n              [true, false, \"true is not false\"], // test 2\n              [1,\"1\", \"Number 1 is not String 1\"] // test 3\n          ];\n        }\n    }\n\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthipages%2Fquicktests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthipages%2Fquicktests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthipages%2Fquicktests/lists"}