integralservice / behat-context
IntegralService Behat Contexts
Installs: 2 275
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 2
pkg:composer/integralservice/behat-context
Requires
- php: >=5.6
- behat/behat: ^3.6
- behat/mink-extension: ^2.3
- behat/symfony2-extension: ^2.1
- phpunit/php-code-coverage: >=6.1
- phpunit/phpunit: >=7.5
- symfony/config: ^4.0
- symfony/dependency-injection: ^4.0
- symfony/dom-crawler: ^2.4|^3.0|^4.0
- symfony/security: ^4.0
- symfony/translation: ^4.0
Requires (Dev)
- behat/mink-goutte-driver: ^1.2
- behat/mink-selenium2-driver: ^1.3
- fabpot/goutte: ^3.3
- guzzlehttp/guzzle: ^6.3
README
What is it
This project provides behat contexts to tests things such as :
- API: deal with JWTokens
- Emails: validate the reception of emails and follow links in a received email
- Web: check presence of elements in the page, interact with them and deal with form elements (input, select, ...)
- Coverage: when adding this context to your test suites, a coverage report of the suite will be generated
How to install
You can install those contexts with composer :
composer require --dev integralservice/behat-context
Configuration
An example of configuration is available in the file behat.yml.dist.
How to contribute
We are more than pleased to receive pull request if you want to add some functionnalities that can benefit the community.