palantirnet / palantir-behat-extension

Additional step definitions for testing Drupal sites using Behat.
1 stars 4 forks source link

Add methods to verify the state of Drupal features. #2

Closed becw closed 8 years ago

becw commented 9 years ago

Adds three new statements:

Add the new Palantirnet\PalantirBehatExtension\Context\DrupalSetupContext class to your behat.yml to use these, and then you can do a scenario like:

Scenario: Verify installation.
  Given a Drupal site
  Then the "example" module is installed
  And no Drupal features are overridden
becw commented 9 years ago

@arthur24b6 @labbydev Here's a behat context method for validating the state of features, like we talked about today.

labbydev commented 9 years ago

So real world application would be:

Scenario: Verify installation.
  Given a Drupal site
  Then the "sdsu" module is installed
  And no Drupal features are overridden

?

This looks really great to me