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.
Rather than throwing a regular exception when built-in steps require a driver that isn't configured, would it make more sense to throw a PendingException, which for CI purposes won't mark the test a failure?
http://docs.behat.org/guides/2.definitions.html#pending-steps
Comments
Comment #1
jhedstromPotentially. Are you referring to the exceptions the blackbox driver throws for any steps requiring api access?
Comment #2
eliza411 CreditAttribution: eliza411 commentedYes, sorry that wasn't clear. Those, and also the errors thrown when the Drush driver is configured but the Drupal API steps are called.
In both cases the tests aren't run and so aren't really failures.