Intro to Behat, setup, examples...

Events happening in the community are now at Drupal community events on www.drupal.org.
sethcohn's picture

There is a lot of info out there for behat... might be nice to compile a list of Intros, setup tips/walkthroughs, and other examples (especially Drupal-y ones)

This discussion can be the start, and we'll turn it into a wiki shortly.

Comments

Of course, there is the

matt2000's picture

Of course, there is the excellent presentation that spawned this group:

https://portland2013.drupal.org/session/behat-behavioral-driven-developm...

Intro article

tunic's picture

Behat and Mink (by Melissa Anderson)
http://drupalwatchdog.com/2/2/behat-mink

Good intro to Behat an d Drupal, covering from configuration to writting your own step definitions. This article tests Drupal 7 contact module as example.

I think is a very good article to get introduced to the Behat world.

Of course, we also have the official documentation:

http://docs.behat.org/#guides
http://mink.behat.org/

I've just proposed a session for NYCCamp

sethcohn's picture

It'll be an intro to Behat, but my goal is to focus on the Drupal-ly bits.
So I'll be spending some time working on this in the next month...
and of course, I'll post the presentation when it's ready.

Tutorials by Jean-François Lépine

frank ralf's picture

There's a nice four part tutorial by Jean-François Lépine (in French) at http://blog.lepine.pro/php/behat-liens-et-ressources-utiles

Examples and source code are available as download.

Behat and Travis CI

mile23's picture

I made a project to figure out how to use Behat with Drupal under Travis-CI (and github).

It could be easily modified to fit a bunch of other scenarios.

https://github.com/paul-m/drupal-travis-ci

Originally it was a fork of this: https://github.com/unn/drupal-travis-ci but has kind of taken on a life of its own.

The main thing to read is: https://github.com/paul-m/drupal-travis-ci/blob/master/.travis.yml

robert castelo's picture

We have a training workshop for Drupal Behat and Quality Assurance, and for anyone who can't make it to London we're writting a series of articles:

Behat

Group notifications

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