-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #560 from Landerstraeten/grumpy-seventies
Merge master
- Loading branch information
Showing
30 changed files
with
788 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,6 +110,7 @@ parameters: | |
phpspec: ~ | ||
phpstan: ~ | ||
phpunit: ~ | ||
phpunitbridge: ~ | ||
phpversion: ~ | ||
progpilot: ~ | ||
psalm: ~ | ||
|
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Phpunit bridge | ||
|
||
The Phpunit Bridge task will run your unit tests thanks to the Symfony Phpunit Bridge. | ||
|
||
***Composer*** | ||
|
||
``` | ||
composer require --dev symfony/phpunit-bridge | ||
``` | ||
|
||
***Config*** | ||
|
||
The task lives under the `phpunitbridge` namespace and has following configurable parameters: | ||
|
||
```yaml | ||
# grumphp.yml | ||
parameters: | ||
tasks: | ||
phpunitbridge: | ||
config_file: ~ | ||
testsuite: ~ | ||
group: [] | ||
always_execute: false | ||
``` | ||
**config_file** | ||
*Default: null* | ||
If your phpunit.xml file is located at an exotic location, you can specify your custom config file location with this option. | ||
This option is set to `null` by default. | ||
This means that `phpunit.xml` or `phpunit.xml.dist` are automatically loaded if one of them exist in the current directory. | ||
|
||
|
||
**testsuite** | ||
|
||
*Default: null* | ||
|
||
If you wish to only run tests from a certain Suite. | ||
`testsuite: unit` | ||
|
||
|
||
**group** | ||
|
||
*Default: array()* | ||
|
||
If you wish to only run tests from a certain Group. | ||
`group: [fast,quick,small]` | ||
|
||
|
||
**always_execute** | ||
|
||
*Default: false* | ||
|
||
Always run the whole test suite, even if no PHP files were changed. | ||
|
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
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
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
Oops, something went wrong.