Questions tagged [behat]

Behat is a php framework for autotesting your business expectations. It's a Behavior Driven Development (BDD) framework for PHP, initially inspired by Ruby's Cucumber project. Now it's not only accepted as a PHP implementation of Cucumber, but it provides some quite unique features the original didn't have.

Behat is a php framework for autotesting your business expectations. It's a Behavior Driven Development (BDD) framework for PHP, initially inspired by Ruby's Cucumber project. Now it's not only accepted as a PHP implementation of Cucumber, but it provides some quite unique features the original didn't have.

1111 questions
0
votes
1 answer

I can not run sahi

Possible Duplicate: sahi and symfony2 I would like to test behat, mink and sahi with symfony2. In my file config_test.yml I have mink: base_url: http://localhost/Symfony_Standard_2.0.15_2/symfony/web/app_test.php default_session:…
symfounya
  • 23
  • 5
0
votes
1 answer

sahi and symfony2

i would like to test behat, mink and sahi with symfony2 so, in my config_test.yml i have mink: base_url: http://localhost/Symfony_Standard_2.0.15_2/symfony/web/app_test.php default_session: symfony sahi: ~ and in test.feature …
symfounya
  • 23
  • 5
0
votes
2 answers

functionals tests with behat, mink and symfony2

I'm trying to test the bundles Behat and Mink, but I have a problem I well installed the bundles I have launched: php app / console test-e = Behat - init @ AcmeDemoBundle, the folder Features was created I wrote a scenario in essai.feature I have…
symfounya
  • 23
  • 5
0
votes
3 answers

behat mink symfony2 Warning

I try to make functional tests with the bundle Behat and Mink However, after having installed the Bundle and all, I issued the command php app / console test-e = Behat - init @ AcmeDemoBundle but I get this error: PHP Warning: require_once (C: \…
symfounya
  • 23
  • 5
0
votes
1 answer

Behat Installation on Windows

I have been installed behat in xampp (windows). I used a PEAR to install it. but when I am runing with console, its not work, because need some file on Symfony framework. the error message can see on this picture:
Fendi Tri Cahyono
  • 682
  • 1
  • 10
  • 20
0
votes
1 answer

symfony2 / behat / mink login troubles when testing in the browser

I have troubles executing a behat/mink test routine in the browser. I have tried sahi and selenium divers, the result is the same: I run the test, sahi opens the login modal-popup, but does not fill in username and password. Clicking "submit" does…
stoefln
  • 14,498
  • 18
  • 79
  • 138
0
votes
1 answer

Generate custom steps with behat

I try to write a custom step that's generate step my code looks like : /** * @Then /^Check_raoul$/ */ public function checkRaoul() { // grab the content ... // get players ... $to_return = array(); foreach ($players as $player)…
-1
votes
1 answer

Any available reporting tool for Behat/Mink?

Is there any available tools to analyse the output of the functionnal tests i launched with Behat/Mink ? Something like : how many times i launched this scenario how many times it failed how many times it passed maybe even show warning when a…
sf_tristanb
  • 8,725
  • 17
  • 74
  • 118
-1
votes
1 answer

How do I use behat to verify all state listed in the option drop down