{"id":23286372,"url":"https://github.com/froggdev/behat-installer","last_synced_at":"2026-04-10T23:10:08.869Z","repository":{"id":62507536,"uuid":"214179595","full_name":"FroggDev/behat-installer","owner":"FroggDev","description":"Install Behat with additionnal contexts, functionnalities and Selenium","archived":false,"fork":false,"pushed_at":"2019-12-17T16:38:29.000Z","size":32855,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T21:11:19.306Z","etag":null,"topics":["additionnal-contexts","bdd","behat","behat-installer","context","frogg","html-report","scenarios","selenium","symfony"],"latest_commit_sha":null,"homepage":"","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/FroggDev.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":"2019-10-10T12:40:21.000Z","updated_at":"2019-12-17T16:38:31.000Z","dependencies_parsed_at":"2022-11-02T12:45:52.039Z","dependency_job_id":null,"html_url":"https://github.com/FroggDev/behat-installer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroggDev%2Fbehat-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroggDev%2Fbehat-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroggDev%2Fbehat-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroggDev%2Fbehat-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FroggDev","download_url":"https://codeload.github.com/FroggDev/behat-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247503150,"owners_count":20949385,"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":["additionnal-contexts","bdd","behat","behat-installer","context","frogg","html-report","scenarios","selenium","symfony"],"created_at":"2024-12-20T02:11:46.019Z","updated_at":"2025-10-30T07:32:16.968Z","avatar_url":"https://github.com/FroggDev.png","language":"PHP","readme":"[![Latest Stable Version](https://poser.pugx.org/froggdev/behat-installer/v/stable.svg)](https://packagist.org/packages/froggdev/behat-installer)\n[![Latest Unstable Version](https://poser.pugx.org/froggdev/behat-installer/v/unstable.svg)](https://packagist.org/packages/froggdev/behat-installer)\n[![Total Downloads](https://poser.pugx.org/froggdev/behat-installer/downloads.svg)](https://packagist.org/packages/froggdev/behat-installer)\n[![License](https://poser.pugx.org/froggdev/behat-installer/license.svg)](https://packagist.org/packages/froggdev/behat-installer)\n\n# behat-installer\n\n**This package install BeHat to your symfony projet (or a new symfony project) configured to work with Selenium directly after installing this package.**\n\nAdding additionnal contexts \u0026amp; functionnalities to Behat\n- Advanced demo with Selenium navigation\n- Demo with Internet Explorer using BeHat Profile configuration\n- Demo with Environment options\n- Lot of new contexts\n- possibility to define and use variables in scenarios\n- HTML report using [emuse/behat-html-formatter](https://packagist.org/packages/emuse/behat-html-formatter)\n- (optional) copy the html report and zip it if no error occured\n- (optional) sending mail once test are done\n\n## Installation\n\n**Symfony**\n\nUsing symfony.exe\n```\nSymfony new ./myProject --version=4.4\n```\nOr with composer create-project command\n```\ncomposer create-project symfony/skeleton ./myProject 4.4.99\n```\n**Package**\n```\ncomposer require --dev froggdev/behat-installer\n```\n**Installation \u0026 configuration**\n```\nphp bin\\console behat:install\n```\n**Run BeHat**\n\ncommand to run BeHat advanced demo with Selenium\n```\nvendor\\bin\\behat\n```\n\n## Todo list\n\n- [x] Install without stability dev required\n- [x] Remove package remove bootstrap.php ( was in symfony extension recipies)\n- [ ] symfony 5.0 \n\n```\n            behat/behat/Testwork/src/ServiceContainer/Configuration/ConfigurationTree.php \n            // Symfony \u003c= 4.4\n            $tree = new TreeBuilder();\n            $root = $tree-\u003eroot('testwork');\n            // Symfony \u003e= 5.0\n            $tree = new TreeBuilder('testwork');\n            $root = $tree-\u003egetRootNode();\n```\n```\n            // Symfony \u003c= 4.4\n            Symfony\\Component\\EventDispatcher\\Event \n            // Symfony \u003e= 5.0            \n            Symfony\\Contracts\\EventDispatcher\\Event\n```\n\n```\n           // Symfony \u003e= 5.0  \n           mink-drivers/src/BrowserKitDriver.php\n           public function __construct($client\n           \n           behat/Behat/src/Output/Node/Printer/CounterPrinter.php\n           public function __construct(\n                   ResultToStringConverter $resultConverter,\n                   ExceptionPresenter $exceptionPresenter,\n                   $translator,\n                   $basePath\n                   \n           behat/Behat/src/Output/Node/Printer/ListPrinter.php\n           public function __construct(ResultToStringConverter $resultConverter, $translator)\n           \n           behat/Behat/src/Gherkin/Cli/SyntaxController.php               \n           public function __construct(KeywordsDumper $dumper,  $translator)\n           \n           behat/Behat/src/Definition/Translator/DefinitionTranslator.php\n           public function __construct($translator)\n           \n           behat/Behat/src/Context/Cli/ContextSnippetsController.php           \n           public function __construct(ContextSnippetGenerator $generator,  $translator)\n           \n           behat/Behat/src/Snippet/Printer/ConsoleSnippetPrinter.php\n           public function __construct(OutputInterface $output,  $translator)\n           \n           behat/Behat/src/Transformation/Transformer/RepositoryArgumentTransformer.php    \n           public function __construct(\n                   TransformationRepository $repository,\n                   CallCenter $callCenter,\n                   PatternTransformer $patternTransformer,\n                   $translator\n                   \n           behat/Behat/src/Context/Cli/InteractiveContextIdentifier.php\n\n           behat/Testwork/src/EventDispatcher/Tester/EventDispatchingExercise.php\n           $this-\u003eeventDispatcher-\u003edispatch( $event,$event::BEFORE);\n           $this-\u003eeventDispatcher-\u003edispatch( $event,$event::AFTER_SETUP);\n           \n           behat/Testwork/src/EventDispatcher/TestworkEventDispatcher.php   \n           // Symfony \u003c= 4.4  \n           //$this-\u003edoDispatch($this-\u003egetListeners($eventName), $eventName, $event);\n           // Symfony \u003e= 5.0  \n           $this-\u003ecallListeners($this-\u003egetListeners($eventName), $eventName, $event);\n           \n           behat/Testwork/src/EventDispatcher/Tester/EventDispatchingSuiteTester.php\n           $this-\u003eeventDispatcher-\u003edispatch( $event,$event::BEFORE);\n           $this-\u003eeventDispatcher-\u003edispatch( $event,$event::AFTER_SETUP);\n           \n           behat/Behat/src/EventDispatcher/Tester/EventDispatchingFeatureTester.php\n           $this-\u003eeventDispatcher-\u003edispatch($event,$event::BEFORE);\n           $this-\u003eeventDispatcher-\u003edispatch($event,$event::AFTER_SETUP);\n           \n           behat/Behat/src/EventDispatcher/Tester/EventDispatchingScenarioTester.php\n           $this-\u003eeventDispatcher-\u003edispatch($event,$this-\u003ebeforeEventName);\n           $this-\u003eeventDispatcher-\u003edispatch($event,$this-\u003eafterSetupEventName);\n           $this-\u003eeventDispatcher-\u003edispatch($event,$this-\u003ebeforeTeardownEventName);       \n           $this-\u003eeventDispatcher-\u003edispatch($event,$this-\u003eafterEventName);\n           \n           behat/Behat/src/EventDispatcher/Tester/EventDispatchingStepTester.php\n           $this-\u003eeventDispatcher-\u003edispatch($event,$event::BEFORE);\n           $this-\u003eeventDispatcher-\u003edispatch($event,$event::AFTER_SETUP);\n           $this-\u003eeventDispatcher-\u003edispatch($event,$event::BEFORE_TEARDOWN);\n           $this-\u003eeventDispatcher-\u003edispatch($event,$event::AFTER);\n           \n           behat/Behat/src/EventDispatcher/Tester/EventDispatchingFeatureTester.php\n           $this-\u003eeventDispatcher-\u003edispatch( $event,$event::BEFORE_TEARDOWN);\n           $this-\u003eeventDispatcher-\u003edispatch($event,$event::AFTER);\n           \n           + other $this-\u003eeventDispatcher-\u003edispatch( ...\n           \n           + todo $this-\u003etranslator-\u003etransChoice( ...\n        \n```\n- [ ] Work with IE\n- [ ] Remove ralouphie package\n- [ ] Script behat:config\n- [ ] add uservar to user feature\n- [ ] Bug result ok is based only on 1st scenario\n- [ ] Replace :value to RegExp\n- [ ] Do more advanced scenario\n- [ ] Add demo with BeHat TAG sample\n- [ ] Linux version\n- [ ] Translation\n\n\n\n## Credits\n\n**Maintainers**\n\n[Frogg FroggDev](https://github.com/FroggDev)\n\n**Specials thanks**\n\n[Mouncef ZAGHRAT](https://github.com/Mouncef)\n\n**Copyright**\n\nCopyright (c) 2019 Frogg admin@frogg.fr.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffroggdev%2Fbehat-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffroggdev%2Fbehat-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffroggdev%2Fbehat-installer/lists"}