Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TestCase: add
willPluginOutputShow()
method
In very select circumstances (PHP 5.5 with Composer 1.x on Windows) and sometimes even only with select PHPCS versions, the plugin output will not be shown in the transcript from Composer, even though the plugin _does_ actually run. Instead of skipping those tests completely, I'm suggestion to selectively skip the output expectation for the `composer install/update` run instead. That way we can still verify that the plugin _has_ actually done its job by checking that paths have been registered with PHPCS. I would recommend to only implement the use of this method for those select tests where we have actually seen failures due to this Composer bug and to just leave the other tests alone.
- Loading branch information
Showing
2 changed files
with
23 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters