Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
What is the correct way to run features contained already in Drupal Extension directories?
I was looking for examples in readthedocs but couldn't find exactly what I want .... intend to add when I sus I'm doing the right thing.
$ bin/behat /Users/iainhouston/Documents/web/BABuild/vendor/drupal/drupal-extension/features/
No scenarios
No steps
0m0.06s (13.75Mb)
[Behat\Testwork\Tester\Exception\WrongPathsException]
No specifications found at path(s) `/Users/iainhouston/Documents/web/BABuild/vendor/drupal/drupal-extension/features/`.
behat [-s|--suite SUITE] [-f|--format FORMAT] [-o|--out OUT] [--format-settings FORMAT-SETTINGS] [--init] [--lang LANG] [--name NAME] [--tags TAGS] [--role ROLE] [--story-syntax] [-d|--definitions DEFINITIONS] [--append-snippets] [--no-snippets] [--strict] [--rerun] [--stop-on-failure] [--dry-run] [--] [<paths>]
Comments
Comment #2
jhedstromThe features contained in the Drupal Extension's
features
directory are for testing the extension itself. They can be used as an example, but aren't intended to run against real sites. If you do want to run them, the.travis.yml
file shows how they are run on Travis CI.Comment #3
iainH CreditAttribution: iainH as a volunteer commentedI've been meaning to move my project to Travis CI for some time since it's hosted on GitHub; now that I can see how drupalextension is using it I shall give it proper attention. Many thanks @jhedstrom.
Comment #4
jonathanshaw