Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Abstract Testframework Adapter Laravel Package

infection/abstract-testframework-adapter

Shared abstractions for Infection test framework adapters. Provides the TestFrameworkAdapter and TestFrameworkAdapterFactory interfaces so custom adapters can translate Infection's test execution requests into target framework commands and return collected test locations.

View on GitHub
Deep Wiki
Context7

Abstract TestFramework Adapter for Infection

This package provides the shared abstractions used by Infection test framework adapters.

graph TB
    Project["Any project that uses Infection"]
    Infection["infection/infection"]
    AbstractAdapter["infection/abstract-testframework-adapter<br/>TestFrameworkAdapter"]
    PhpspecAdapter["infection/phpspec-adapter"]
    CodeceptionAdapter["infection/codeception-adapter"]
    OtherAdapters["Other test framework adapters<br/>..."]

    Project --> Infection
    Project -.-> PhpspecAdapter
    Project -.-> CodeceptionAdapter
    Infection --> AbstractAdapter
    Infection --> PhpspecAdapter
    Infection --> CodeceptionAdapter
    Infection --> OtherAdapters
    PhpspecAdapter --> AbstractAdapter
    CodeceptionAdapter --> AbstractAdapter
    OtherAdapters --> AbstractAdapter

    style AbstractAdapter fill:#e1f5fe
    style Infection fill:#f9f9f9
    style PhpspecAdapter fill:#f9f9f9
    style CodeceptionAdapter fill:#f9f9f9
    style OtherAdapters fill:#f9f9f9,stroke-dasharray: 5 5

Please read documentation here: infection.github.io

Installation

This package is meant to be used by Infection test framework adapters. In a standard usage, it is installed as a dependency of a concrete adapter such as infection/phpspec-adapter or infection/codeception-adapter.

If you are building a custom adapter, you can install it as usual:

composer require infection/abstract-testframework-adapter

Usage

Implement TestFrameworkAdapter and TestFrameworkAdapterFactory to expose a test framework integration to Infection.

The concrete adapter is responsible for translating Infection's test execution requests into the target test framework commands and for returning the collected test locations.

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator