Skip to main content

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
2 answers
700 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 ...
Adam Copley's user avatar
-1 votes
3 answers
1k 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 ...
Ibrian93's user avatar
7 votes
3 answers
349 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 ...
Miya Lu's user avatar
  • 71
0 votes
1 answer
429 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 ...
Aleks G's user avatar
  • 183
1 vote
1 answer
561 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/...
Jurik's user avatar
  • 157