Questions tagged [behat]

Behat is a behavior driven development (BDD) framework for PHP. Behat is intended to aid communication between developers, clients, and other stakeholders during a software development process. It allows the clear documentation of testable examples of the software's intended behavior.

Filter by
Sorted by
Tagged with
1
vote
2answers
59 views

Behat tests take over an hour to run

We have a test suite of around 60 feature files, 135 scenarios, 1800 steps. We currently use the free 100 builds on semaphoreCI which occasionally successfully runs all of the tests, but quite often ...
-1
votes
3answers
689 views

Behat, Java or Python [closed]

I started in the world of QA about 1 year ago and I started as a QA tester. But for almost 6 months ago, I started with the automation testings. I started with selenium and behat. In my company they ...
7
votes
3answers
181 views

Detect unused steps - Behat

Are there any tools or extensions to detect unused steps in Behat? We have a huge number of tests code, it is time consuming to check each single step is in-use or not. So I'm thinking if any tools ...
0
votes
1answer
271 views

Behat/mink - Javascript redirect on page->open

Using behat/mink, I'm testing the "remember me" functionality. Functionally, when the user visits the main page, javascript/ajax code verifies if the user is "remembered". If yes, then the ...
1
vote
1answer
364 views

Why does behat call my context class twice?

When I want run my behat test like in this tutorial, I get an error message: ➜ test.dev bin/behat --suite=system PHP Fatal error: Cannot redeclare class SystemContext in /Applications/MAMP/htdocs/...