I recently gave a presentation about Behat and automated testing of code at the Denver Drupal Meetup. It's basically the style of testing that we've embraced most strongly at CARD.com.
Here are the slides:
I also mentioned a set of steps to get up and running. So, here goes:
- Create a sites/all/tests directory with this composer.json file in it:
- Install composer on your system
composer installin the sites/all/tests/ directory
- Create your features in the features/ directory
- Run tests with