{"id":37799466,"url":"https://github.com/remi-san/ouroboros","last_synced_at":"2026-01-16T15:24:45.529Z","repository":{"id":62534630,"uuid":"88532228","full_name":"remi-san/ouroboros","owner":"remi-san","description":":dragon: End-to-end test helper","archived":false,"fork":false,"pushed_at":"2017-04-21T12:17:03.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T06:19:29.709Z","etag":null,"topics":["e2e","testing"],"latest_commit_sha":null,"homepage":"","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/remi-san.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}},"created_at":"2017-04-17T17:26:22.000Z","updated_at":"2017-04-19T09:37:40.000Z","dependencies_parsed_at":"2022-11-02T14:47:05.593Z","dependency_job_id":null,"html_url":"https://github.com/remi-san/ouroboros","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/remi-san/ouroboros","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remi-san%2Fouroboros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remi-san%2Fouroboros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remi-san%2Fouroboros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remi-san%2Fouroboros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remi-san","download_url":"https://codeload.github.com/remi-san/ouroboros/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remi-san%2Fouroboros/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["e2e","testing"],"created_at":"2026-01-16T15:24:45.423Z","updated_at":"2026-01-16T15:24:45.505Z","avatar_url":"https://github.com/remi-san.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ouroboros\n=========\n\n    \"εν το παν\"\n\n`Ouroboros` is a simple library letting you creating end to end (e2e) tests\nwith your favorite PHP test framework. Like the snake eating its own tail\nit's inspired from, *Ouroboros* lib will let you easily create, destroy the\napp to test and do it all over again for each test.\n \nHow to use it?\n--------------\n\nInitialize your `TestHelper`\n```php\n$this-\u003etestHelper = new TestHelper(\n    new MakefileInfrastructureHelper($appBasePath), // or any other infra helper\n    new CommandLauncherApplicationHelper($appBasePath, 'make run'), // or any other app helper\n    new LoggerConditionWaiter( // if you want to follow a logfile for completion condition\n        $logFile,\n        new TextConditionMatcherFactory(\n            [\n                self::CONDITION_ONE =\u003e 'This is my first condition',\n                self::CONDITION_TWO =\u003e 'This is my second condition',\n            ]\n        ),\n        $logger,\n        5\n    )\n);\n```\n\nUse it in your test file (here with `phpunit`)\n```php\n/**\n * Init.\n */\npublic function setUp()\n{\n    $this-\u003etestHelper-\u003esetUp();\n}\n\n/**\n * Close.\n */\npublic function tearDown()\n{\n    $this-\u003etestHelper-\u003etearDown();\n}\n\n/**\n * @test\n */\npublic function itShouldWaitForAllConditionsAndSucceed()\n{\n    $this-\u003etestHelper-\u003ewait([self::CONDITION_ONE, self::CONDITION_TWO]);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremi-san%2Fouroboros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremi-san%2Fouroboros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremi-san%2Fouroboros/lists"}