{"id":21823503,"url":"https://github.com/labbots/codeception-gherkin-dependsload","last_synced_at":"2026-04-29T01:01:23.477Z","repository":{"id":57010447,"uuid":"82901544","full_name":"labbots/codeception-gherkin-dependsload","owner":"labbots","description":"Codeception extension for loading dependent scenarios in Gherkin tests","archived":false,"fork":false,"pushed_at":"2017-02-23T09:04:45.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T06:49:09.747Z","etag":null,"topics":["codeception","codeception-extension","codeception-tests","gherkin"],"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/labbots.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":"2017-02-23T08:06:55.000Z","updated_at":"2017-11-20T20:07:09.000Z","dependencies_parsed_at":"2022-08-21T14:50:55.696Z","dependency_job_id":null,"html_url":"https://github.com/labbots/codeception-gherkin-dependsload","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/labbots/codeception-gherkin-dependsload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labbots%2Fcodeception-gherkin-dependsload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labbots%2Fcodeception-gherkin-dependsload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labbots%2Fcodeception-gherkin-dependsload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labbots%2Fcodeception-gherkin-dependsload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/labbots","download_url":"https://codeload.github.com/labbots/codeception-gherkin-dependsload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/labbots%2Fcodeception-gherkin-dependsload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32405903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"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":["codeception","codeception-extension","codeception-tests","gherkin"],"created_at":"2024-11-27T17:32:42.953Z","updated_at":"2026-04-29T01:01:23.458Z","avatar_url":"https://github.com/labbots.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codeception Gherkin DependsLoad\n\nThe [Codeception](http://codeception.com/) extension for supporting dynamically loading dependent features for Gherkin tests using `@dependsload` annotation.\n\n## Minimum Requirements\n\n- Codeception 2.2\n- PHP 5.5\n\n## Installation\nThe extension can be installed using [Composer](https://getcomposer.org)\n\n```bash\n$ composer require labbots/codeception-gherkin-dependsload\n```\n\nBe sure to enable the extension in `codeception.yml` as shown in\n[configuration](#configuration) below.\n## Configuration\nEnabling **DependsLoad** annotation in your tests is done in `codeception.yml`.\n\n```yaml\nextensions:\n    enabled:\n        - Codeception\\Extension\\DependsLoad\n```\n\n## Usage\nOnce installed you will be able to use the `@dependsload` annotation in the feature files for defining the\nscenarios that you would like to execute before the test. This annotation will make sure the dependent tests are executed before the actual test and you can also specify scenarios from other feature files. The extension automatically loads scenarios from specified file.\n\n```\n@dependsload \u003cfeature_dirname\u003e:\u003cscenario_title\u003e\n```\n\n## Example\n\nThe directory structure for acceptance test is as follows\n```\n.\n+-- acceptance\n|   +-- prepareSystem\n|        +-- prepareData.feature\n|        +-- prepareSystem.feature\n|   +-- loginTest\n|        +-- loginTest.feature\n```\n\n**Note:** The sub directory structure is important for the annotation to work because the sub directory name is used to load all the features under that specified directory.\n\nFeature File 1: This file is under prepareSystem sub directory\n\n```gherkin\nFeature: Greg blog login\n\n  Scenario: Login to blog\n    Given a global administrator named \"Greg\"\n    And a blog named \"Greg's anti-tax rants\"\n    And a customer named \"Wilson\"\n    And a blog named \"Expensive Therapy\" owned by \"Wilson\"\n\n```\nFeature file 2: Thie file is under loginTest sub directory\n```gherkin\nFeature: Multiple site support\n\n  Scenario: Wilson posts to his own blog\n    Given I am logged in as Wilson\n    When I try to post to \"Expensive Therapy\"\n    Then I should see \"Your article was published.\"\n\t\n  @dependsload prepareSystem:Login to blog\n  Scenario: Greg posts to a client's blog\n    Given I am logged in as Greg\n    When I try to post to \"Expensive Therapy\"\n    Then I should see \"Your article was published.\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabbots%2Fcodeception-gherkin-dependsload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabbots%2Fcodeception-gherkin-dependsload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabbots%2Fcodeception-gherkin-dependsload/lists"}