Any Behat examples for testing the RedHen CRM?

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

I am just getting started testing a new Redhen CRM instance using Behat. I'm using the Drupal API. While writing tests is coming along nicely, I don't see how to write tests that target the CRM's native objects, contacts, orgs, and lists.

The only connection that has turned up between Behat and Redhen from searches is three extremely basic tests that were the result of a sprint on Redhen Raiser. These tests don't target anything unique about the CRM but test basic things like logging in to Drupal.

I would like to be able to write a test along the lines of:

Given individuals:
  | name           | mail                     | title      |
  | Joe Octagon | joe@octagon.org | fixer      |
When I do <something>
Then I should see <something-else>

I actually tried the above syntax as well as "contacts" and it didn't work.

Has anyone written any Behat tests for RedHen? Any suggestions?

Behat

Group notifications

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