Download the PHP package schenke-io/test-output-formatter without Composer

On this page you can find all versions of the php package schenke-io/test-output-formatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package test-output-formatter

Version Downloads Tests License PHP

Test Output Formatter

[!WARNING] This package is not needed since we have Pest V5.

Isolates failing test files and under-coverage classes for rapid triage.

Benefits for AI and Triage

Installation

[!WARNING] This package is not needed since we have Pest V5.

Auto-Registration

The package uses standard discovery mechanisms to integrate with your tools:

Features

PHPStan

Pest

Test Output Formatter Skill

[!WARNING] This package is not needed since we have Pest V5.

This package provides a Pest plugin and PHPStan error formatters to isolate failing tests, check coverage, and identify slow tests.

Pest Plugin Flags

--format=json

Returns results as a JSON object. Useful for CI and AI agents.

--cache-dir=<dir>

Specifies a directory to store test results. Required for --rerun-failures, --changed, and --since.

--rerun-failures

Only runs tests that failed in the previous run (requires --cache-dir).

--changed

Runs tests affected by changes in the current Git working tree.

--since=<ref>

Runs tests affected by changes since the specified Git reference (e.g., main).

--under=<percentage>

Reports files with coverage below the specified percentage. Triggers --coverage automatically if not present.

--slowest=<count>

Reports the N slowest tests.

--over=<ms>

Reports tests taking longer than the specified milliseconds.

PHPStan Error Formatters

AI Agent Integration

When working with an AI agent:

  1. Use --format=json to get a machine-readable summary of failures.
  2. Use --cache-dir to maintain state across multiple agent steps.
  3. Use --rerun-failures to quickly verify fixes.
  4. Use --changed or --since to minimize the test suite for the current task.

ErrorFormatter

Public methods of ErrorFormatter

method summary
formatErrors Formats the errors and outputs them to the console.

CompactErrorFormatter

Custom PHPStan error formatter that outputs one line per error

Public methods of CompactErrorFormatter

method summary
formatErrors -

JsonErrorFormatter

Public methods of JsonErrorFormatter

method summary
formatErrors -

Markdown file generated by schenke-io/packaging-tools


All versions of test-output-formatter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
pestphp/pest Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package schenke-io/test-output-formatter contains the following files

Loading the files please wait ...