Drush
DrevOps\BehatSteps\Steps\Drupal\DrushTrait - Source, Steps
Run Drush commands and assert their output.
public function drushGetBackend(): DrushCapabilityInterface
Return the backend that runs Drush commands
public function drushGetOutput(): string
Return the output of the most recent Drush command
public function drushRunExpectingFailure(string $command, ?string $arguments = NULL): void
Run a Drush command expecting a non-zero exit, keeping its output