Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.72 KB

File metadata and controls

51 lines (31 loc) · 1.72 KB

Codeception Test Framework Adapter for Infection

This package provides the test framework adapter of Codeception for infection.

Architecture

Installation

In a standard usage, infection should detect codeception/codeception being used and leverage its infection/extension-installer to install this package.

Otherwise, you can still install it as usual:

composer require --dev infection/codeception-adapter

The adapter will be automatically registered in Infection's runtime through its auto-discovery mechanism.

Usage

Once installed, you can run Infection:

vendor/bin/infection # optional: --test-framework=codeception

Infection will automatically detect and use the Codeception adapter when Codeception 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.json5.dist.

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.