infection / phpspec-adapter
PHPSpec Test Framework Adapter for Infection
Fund package maintenance!
infection
Open Collective
Installs: 150 136
Dependents: 32
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Type:infection-extension
pkg:composer/infection/phpspec-adapter
Requires
- php: ^7.4 || ^8.0
- infection/abstract-testframework-adapter: ^0.5.0
- infection/include-interceptor: ^0.2.3
- symfony/filesystem: ^4.4 || ^5.0 || ^6.0 || ^7.0
- symfony/process: ^4.4 || ^5.0 || ^6.0 || ^7.0
- symfony/yaml: ^4.4 || ^5.0 || ^6.0 || ^7.0
Requires (Dev)
- php-coveralls/php-coveralls: ^2.5
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^0.12.66
- phpstan/phpstan-phpunit: ^0.12.17
- phpstan/phpstan-strict-rules: ^0.12.8
- phpstan/phpstan-webmozart-assert: ^0.12.8
- phpunit/phpunit: ^9.5
- thecodingmachine/safe: ^1.3
- vimeo/psalm: ^4.12
- dev-main
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.2
- 0.1.1
- 0.1.0
- dev-ci/re-usable-workflow
- dev-refactor/phpstan
- dev-refactor/code
- dev-perf/template-build
- dev-refactor/interceptor-test
- dev-perf/use-the-default-coverage-path
- dev-refactor/coverage-dir
- dev-dependabot/github_actions/dot-github/workflows/dependencies-efe4363fe1
- dev-refactor/remove-fs-layer
- dev-fix/do-not-dump-interceptor
- dev-refactor/framework-name
- dev-refactor/simplify-test-detection
- dev-refactor/simplify
- dev-fix/bailout
- dev-refactor/test-checker
- dev-chore/update-infection-0.32.0
- dev-fix/mutations
- dev-refactor/version
- dev-refactor/command-line
- dev-ci/fix-action
- dev-refactor/builder-location
- dev-refactor/array-key-exists
- dev-refactor/final-readonly
- dev-refactor/filesystem
- dev-cs/fix-line-return
- dev-refactor/exception-throwable
- dev-test/builder-immutable
- dev-refactor/inject-builder
- dev-test/config
- dev-refactor/config
- dev-fix/old-config
- dev-empty-config
- dev-fix/config
- dev-refactor/rename
- dev-test/config-builder
- dev-fix/version-parser
- dev-docs/version-parser-type
- dev-refactor/version-parse
- dev-feat/version-exception
- dev-ci/trigger-update
- dev-refactor/version-parser
- dev-build/phpstan
- dev-test/version-parser
- dev-test/test-location
- dev-docs/readme
- dev-refactor/tweaks
This package is auto-updated.
Last update: 2025-12-30 22:52:00 UTC
README
This package provides the test framework adapter for infection.
Installation
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-adapter
The adapter will be automatically registered in Infection's runtime through its auto-discovery mechanism.
Usage
Once installed, you can run Infection with PHPSpec:
vendor/bin/infection --test-framework=phpspec
Infection will automatically detect and use the PHPSpec adapter when PHPSpec is configured in your project.
Configuration
The adapter works with your existing PHPSpec configuration. No additional configuration is required beyond the standard
Infection configuration file (infection.json.dist or infection.json).
For more information on configuring Infection, see the Infection documentation.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for details.
License
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.
