-
-
Notifications
You must be signed in to change notification settings - Fork 53
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 #217 from infection/feature/pest
Document `Pest` test framework support
- Loading branch information
Showing
6 changed files
with
49 additions
and
17 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
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,32 @@ | ||
--- | ||
title: Supported Test Frameworks | ||
type: guide | ||
order: 15 | ||
is_new: false | ||
--- | ||
|
||
Infection supports the following Test Frameworks: | ||
|
||
* [PHPUnit](https://phpunit.readthedocs.io/en/latest/) | ||
* [PhpSpec](http://www.phpspec.net/en/stable/) | ||
* [Pest](https://pestphp.com/) | ||
* [Codeception](https://codeception.com/) | ||
|
||
If you are using [Phar distribution](/guide/installation.html#Phar) (downloading Phar or using [Phive](/guide/installation.html#Phive)), all the test frameworks are bundled into it. | ||
|
||
If you are using `infection/infection` package, only `PHPUnit` and `Pest` are bundled. Additional Test Frameworks will be automatically installed on demand. | ||
|
||
For example, running | ||
|
||
```bash | ||
infection --test-framework=codeception | ||
``` | ||
|
||
will notice that adapter is not installed and it will propose to install it in the same process: | ||
|
||
```bash | ||
We noticed you are using a test framework supported by an external Infection plugin. | ||
Would you like to install infection/codeception-adapter? [yes]: | ||
|
||
Installing infection/codeception-adapter... | ||
``` |
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