Skip to main content
1 vote

Behat tests take over an hour to run

Optimalization of the test code is a key. Shorten, remove or replace any fixed wait states. Try to find hints on technology, you have. For example, use CSS instead of XPath, etc. The Paralelism could ...
Dee's user avatar
  • 1,356
1 vote

Behat tests take over an hour to run

One good implementation would be using a selenium grid and try multiple test simultaneously. Next would be carefully debug and examine the places where it take lots of time (eg waitings, DB accessing )...
ChathuD's user avatar
  • 2,145
1 vote
Accepted

Behat, Java or Python

Behat is an implementation of the Gherkin syntax for PHP. Each language has its own implementation. Pyhton: http://pythonhosted.org/behave/tutorial.html#features Java: CucumberJVM or JBehave .Net C#: ...
Niels van Reijmersdal's user avatar
1 vote

Detect unused steps - Behat

One approach is to copy files into a cucumber based project and run cucumber --dry-run -f stepdefs Which will print 'NOT MATCHED BY ANY STEPS' for any non-matches. If you have steps that are only ...
Michael Durrant's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible