This package provides the test framework adapter of PHPSpec for infection.
In a standard usage, infection should detect phpspec/phpspec being used and
leverage its infection/extension-installer to install this
package.
Otherwise, you can still install it as usual:
composer require --dev infection/phpspec-adapterThe adapter will be automatically registered in Infection's runtime through its auto-discovery mechanism.
Once installed, you can run Infection:
vendor/bin/infection # optional: --test-framework=phpspecInfection will automatically detect and use the PHPSpec adapter when PHPSpec is configured in your project.
The adapter works with your existing PHPSpec configuration. No additional configuration is required beyond the standard
Infection configuration file infection.json5.dist.
For more information on configuring Infection, see the Infection documentation.
Contributions are welcome! Please see CONTRIBUTING.md for details.
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.
