Download the PHP package qase/pest-reporter without Composer
On this page you can find all versions of the php package qase/pest-reporter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package pest-reporter
Qase TMS Pest Reporter
A Qase TMS reporter for Pest PHP testing framework.
Installation
Configuration
1. Add PHPUnit Extension
Add the Qase extension to your phpunit.xml:
2. Create Configuration File
Create qase.config.json in your project root:
If your workspace is on the EU cluster (you open Qase at app-eu.qase.io), set host to eu.qase.io. The default, qase.io, is the US cluster.
Or use environment variables:
Usage
Fluent API (Recommended)
Static Facade
API Reference
Fluent API Methods
| Method | Description |
|---|---|
caseId(int ...$ids) |
Link test to Qase test case(s) |
title(string $title) |
Set custom test title |
suite(string ...$suites) |
Set suite hierarchy |
field(string $name, string $value) |
Set custom field |
parameter(string $name, string $value) |
Set test parameter |
comment(string $message) |
Add comment |
attach(mixed $input) |
Add attachment |
step(string $action, ?callable $callback, ?string $expectedResult) |
Add test step |
Static Facade Methods
| Method | Description |
|---|---|
Qase::caseId(int ...$ids) |
Link test to Qase test case(s) |
Qase::title(string $title) |
Set custom test title |
Qase::suite(string ...$suites) |
Set suite hierarchy |
Qase::field(string $name, string $value) |
Set custom field |
Qase::parameter(string $name, string $value) |
Set test parameter |
Qase::comment(string $message) |
Add comment |
Qase::attach(mixed $input) |
Add attachment |
Qase::step(string $action, ?callable $callback, ?string $expectedResult) |
Add test step |
Attachments
File Attachment
Multiple Files
Content Attachment
Steps
Add test steps to structure your test execution in Qase TMS.
Simple Step Markers
Steps with Callbacks
Callbacks provide automatic timing and status tracking (passed/failed):
Nested Steps
Steps with Expected Result
Static Facade Steps
Steps in Fluent Chain
Data Providers
The reporter automatically extracts parameters from Pest's data providers:
Suite Hierarchy
Use describe() blocks for automatic suite hierarchy, or set manually:
Running Tests
Requirements
- PHP 8.2+
- Pest 2.0+ or 3.0+
- PHPUnit 10, 11, or 12
License
Apache License 2.0
Links
All versions of pest-reporter with dependencies
phpunit/phpunit Version ^10 || ^11 || ^12
qase/php-commons Version ^2.1.18