{"id":20235318,"url":"https://github.com/phphleb/test-o","last_synced_at":"2026-05-11T17:37:06.362Z","repository":{"id":219737227,"uuid":"749809812","full_name":"phphleb/test-o","owner":"phphleb","description":"Very simple unit tests for your project","archived":false,"fork":false,"pushed_at":"2024-01-29T13:40:50.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-06T19:48:27.920Z","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/phphleb.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}},"created_at":"2024-01-29T12:51:24.000Z","updated_at":"2024-01-29T13:08:21.000Z","dependencies_parsed_at":"2024-01-29T14:17:14.010Z","dependency_job_id":null,"html_url":"https://github.com/phphleb/test-o","commit_stats":null,"previous_names":["phphleb/test-o"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Ftest-o","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Ftest-o/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Ftest-o/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Ftest-o/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phphleb","download_url":"https://codeload.github.com/phphleb/test-o/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241678154,"owners_count":20001682,"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-14T08:15:53.594Z","updated_at":"2026-05-11T17:37:06.320Z","avatar_url":"https://github.com/phphleb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Primitive Unit Tests `Test-o`\n=====================\n\n![PHP](https://img.shields.io/badge/PHP-^8.2-blue) [![License: MIT](https://img.shields.io/badge/License-MIT%20(Free)-brightgreen.svg)](https://github.com/phphleb/hleb/blob/master/LICENSE)\n\n_____________________\n\n Install using Composer:\n ```bash\ncomposer require phphleb/test-o\n ```\n\nAn example check is in the \"example\" folder.\n\nTo run tests (methods starting with \"test\") for all files (classes)\n(ending with \"Test.php\" and inherited from \"Phphleb\\TestO\\TestCase\") in a folder:\n\n ```bash\nphp ./vendor/phphleb/test-o/run ./vendor/phphleb/test-o/example\n ```\nTests will be performed:\n```text\nTest-O 0.0.0 by Foma Tuturov.\n\nRuntime:       PHP 8.2.7\n........\n\nTime: 00:00:00, Memory: 0.52 MB\n\nOK Tests: 8, Assertions: 8\n\n\n```\n\nRunning tests in a different visual mode:\n ```bash\nphp ./vendor/phphleb/test-o/run -L ./vendor/phphleb/test-o/example\n ```\nTests will be performed:\n```text\nTest-O 0.0.0 by Foma Tuturov.\n\nRuntime:       PHP 8.2.7\n1 OK Phphleb\\TestO\\Example\\ExampleTest:testExampleFirstMethod (0.109ms)\n2 OK Phphleb\\TestO\\Example\\ExampleTest:testExampleSecondMethod (0.066ms)\n3 OK Phphleb\\TestO\\Example\\ExampleTest:testExampleThirdMethod (0.084ms)\n4 OK Phphleb\\TestO\\Example\\ExampleTest:testExampleFourthMethod (0.054ms)\n5 OK Phphleb\\TestO\\Example\\ExampleTest:testExampleFifthMethod (0.038ms)\n6 OK Phphleb\\TestO\\Example\\ExampleTest:testExampleDataProvider provider case 1  (0.037ms)\n7 OK Phphleb\\TestO\\Example\\ExampleTest:testExampleDataProvider provider case 2  (0.022ms)\n8 OK Phphleb\\TestO\\Example\\ExampleTest:testExampleDataProvider provider case 3  (0.031ms)\n\n\nTime: 00:00:00, Memory: 0.52 MB\n\nOK Tests: 8, Assertions: 8\n\n\n```\n\nTo run tests on a single file (class):\n\n ```bash\nphp ./vendor/phphleb/test-o/run ./vendor/phphleb/test-o/example/ExampleTest.php\n ```\n\nTo run tests on a single file (class) and method:\n\n ```bash\nphp ./vendor/phphleb/test-o/run ./vendor/phphleb/test-o/example/ExampleTest.php:testExampleFirstMethod\n ```\n\nIf tests are used for the [HLEB2](https://github.com/phphleb/hleb) framework:\n\n ```bash\ncomposer require phphleb/tests\n ```\n ```bash\nphp ./vendor/phphleb/test-o/run ./vendor/phphleb/tests\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphphleb%2Ftest-o","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphphleb%2Ftest-o","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphphleb%2Ftest-o/lists"}