Behat 3.0 changes

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by sethcohn on February 5, 2015 at 2:53pm

So I'm working with the new Behat 3.0 (and the latest Drupal Extension), and discovering how much has changed... For example, Metasteps? Gone. Lots of changes to how you call stuff, and so on.

So a lot of the existing (and awesome) code out there you'll find googling no longer works.
One example: take a screenshot when a step fails? The code is obsolete. I know it's doable, but I'm not sure how yet.

Is there a good place (yet?) to discover the 3.0 way of doing things, and a repository of good example code for doing 'all the things'?

Comments

Behatch also has screenshot code

Posted by sethcohn on February 5, 2015 at 4:31pm

https://github.com/Behatch/contexts
Haven't used it much yet, but seems to work alongside of DrupalExtension fine, and includes a variety of nitfy items including screenshot, more wait functions, and JSON steps.

Behat

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /