Like many Drupal development teams, the New Target web team is working to bring automated testing into our development and maintenance workflow.
Before being presented recently at the 2016 Bay Area Development Camp in Berkeley, CA, the presentation below was first given at 2016’s Drupal GovCon in Washington, DC.
Are you doing automated testing? What kinds of tests do you write? Have you found some tests to be more helpful than others? Does the benefit of writing tests offset the expense of maintaining them? If these are your areas of interest, then the slides and presentation below are for you.
In this behavior-driven Drupal development and automated testing talk, one of New Target’s senior Drupal developers shares current thinking on the following issues:
1. Why behavior-driven development is essential
2. Limits of using the Behat Drupal Extension for behavior-driven development
3. Why even the best behavior-driven development practices will not guarantee full regression test coverage
He then demonstrates a behavior-driven development tool of choice, PHPSpec, and explains how to write Drupal 7 hooks that can be tested without bootstrapping Drupal.
With offices in Washington, D.C. and Los Angeles, Ca., New Target provides digital strategy, digital marketing, web design, web development, branding, website hosting, and creative services for prominent nonprofits, companies, and government.