Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 2.32 KB

File metadata and controls

43 lines (30 loc) · 2.32 KB

TESTO

Output capturing & channel messaging plugin

Documentation Support on Boosty


Important

🪞 This is a read-only mirror.

Active development of the Testo project lives in php-testo/testo under plugin/messenger/. This repository is automatically synchronized from there on every release.

File issues and pull requests in the main monorepo, not here.

About

Captures everything a test writes to the output buffer and routes it — together with anything other producers emit — through a channel-based messaging hub.

Each message carries a channel (e.g. stdout, sql-log), a severity level and its content. Messages are recorded per test (attached to the test's result), announced as events in real time, and can be produced from test code, middleware, or other plugins. The hub also exposes a PSR-3 logger per channel, so existing logging code feeds the same stream.

Output renderers (terminal, TeamCity) consume these messages to display per-test output, grouped and highlighted by channel.

Install

composer require --dev testo/messenger

PHP Latest Version on Packagist License Total Downloads