infection/codeception-adapter

Codeception Test Framework Adapter for Infection

Maintainers

👁 borN_free

Package info

github.com/infection/codeception-adapter

Type:infection-extension

pkg:composer/infection/codeception-adapter

Fund package maintenance!

infection

Open Collective

Statistics

Installs: 330 094

Dependents: 15

Suggesters: 0

Stars: 10

Open Issues: 3

0.4.7 2026-05-17 11:55 UTC

Requires

Suggests

None

Provides

None

Conflicts

Replaces

None

BSD-3-Clause 7bf2123b9ddc725c3f6f20772ab7041564b8b14e

  • Maks Rafalko <maks.rafalko.woop@gmail.com>

README

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.