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 ...
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 )...
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#: ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
behat × 5php × 3
automated-testing × 1
java × 1
python × 1
page-objects × 1
continuous-integration × 1
integration-testing × 1
tdd × 1