{"id":27689722,"url":"https://github.com/friendsofbehat/suitesettingsextension","last_synced_at":"2025-04-25T10:40:43.219Z","repository":{"id":54656992,"uuid":"63983965","full_name":"FriendsOfBehat/SuiteSettingsExtension","owner":"FriendsOfBehat","description":":paperclip: Allows to overwrite suites' default settings.","archived":false,"fork":false,"pushed_at":"2021-02-05T14:35:33.000Z","size":31,"stargazers_count":214,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-23T06:17:10.124Z","etag":null,"topics":["behat","behat-extension","php"],"latest_commit_sha":null,"homepage":"","language":"Gherkin","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/FriendsOfBehat.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":"2016-07-22T21:18:47.000Z","updated_at":"2024-06-27T19:47:52.000Z","dependencies_parsed_at":"2022-08-13T23:00:58.565Z","dependency_job_id":null,"html_url":"https://github.com/FriendsOfBehat/SuiteSettingsExtension","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfBehat%2FSuiteSettingsExtension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfBehat%2FSuiteSettingsExtension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfBehat%2FSuiteSettingsExtension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfBehat%2FSuiteSettingsExtension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FriendsOfBehat","download_url":"https://codeload.github.com/FriendsOfBehat/SuiteSettingsExtension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250799882,"owners_count":21489362,"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":["behat","behat-extension","php"],"created_at":"2025-04-25T10:40:42.204Z","updated_at":"2025-04-25T10:40:43.207Z","avatar_url":"https://github.com/FriendsOfBehat.png","language":"Gherkin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Suite Settings Extension [![License](https://img.shields.io/packagist/l/friends-of-behat/suite-settings-extension.svg)](https://packagist.org/packages/friends-of-behat/suite-settings-extension) [![Version](https://img.shields.io/packagist/v/friends-of-behat/suite-settings-extension.svg)](https://packagist.org/packages/friends-of-behat/suite-settings-extension) [![Build status on Linux](https://img.shields.io/travis/FriendsOfBehat/SuiteSettingsExtension/master.svg)](http://travis-ci.org/FriendsOfBehat/SuiteSettingsExtension) [![Scrutinizer Quality Score](https://img.shields.io/scrutinizer/g/FriendsOfBehat/SuiteSettingsExtension.svg)](https://scrutinizer-ci.com/g/FriendsOfBehat/SuiteSettingsExtension/)\n\nAllows overwriting suites' default settings.\n\n## Usage\n\n1. Install it:\n    \n    ```bash\n    composer require friends-of-behat/suite-settings-extension --dev\n    ```\n\n2. Enable and configure default suite settings in your Behat configuration:\n    \n    ```yaml\n    # behat.yml\n    default:\n        # ...\n        extensions:\n            FriendsOfBehat\\SuiteSettingsExtension: # the default configuration:\n                paths:\n                    - \"features\" # default one!\n                contexts:\n                    - \"FeatureContext\" # default one!\n    ```\n\n3. Every suite you create will have those settings as the default ones.\n\n## Configuration reference\n\n - `paths` - an array, contains locations where Behat looks for `*.feature` files\n - `contexts` - an array, if there are no custom ones in suite configured, these are used\n\n#### Protip!\n\nIf you've changed your `paths`, that they do not contain `features` anymore, your contexts\nmay be not loaded properly. To ensure this, pass the same folder to built-in `autoloader` extension:\n\n```yaml\n# behat.yml\ndefault:\n    # ...\n    autoload:\n        - \"%paths.base%/custom_features/bootstrap\" # features -\u003e custom_features\n    \n    extensions:\n        FriendsOfBehat\\SuiteSettingsExtension:\n            paths:\n                - \"custom_features\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendsofbehat%2Fsuitesettingsextension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendsofbehat%2Fsuitesettingsextension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendsofbehat%2Fsuitesettingsextension/lists"}