Usecase:
Trying to assert that a drush output should not contain a string, when it does not output anything, the test should pass. In the current state of drush command steps implementation, it's like no drush command was launched.

To fix this I set $this->drushOutput to TRUE when drush output is blank. Here is the patch.

CommentFileSizeAuthor
problem-asserting-blank-drush-output.patch1.02 KBb2f
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

  • jhedstrom committed c7a197b on 1.0 authored by B2F
    Issue #2350661 by B2F: Fixed Problem asserting drush output when it's...
jhedstrom’s picture

Status: Needs review » Fixed

Thanks!

  • jhedstrom committed baa7576 on master authored by B2F
    Issue #2350661 by B2F: Fixed Problem asserting drush output when it's...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.