php-testophp-testoOfficialยท11 Agent Skills Included

testo

Write, run, and improve PHP tests with Testo

Writes attribute-based PHP tests, runs suites with structured JSON reports, and migrates legacy PHPUnit tests to Testo. Handles flaky test retries, data-driven cases, async fiber tests, benchmarks, code coverage, and mutation testing without manual setup. Eliminates guesswork about Testo's API so tests are written correctly the first time.
npx skills add php-testo/testo --all -g -y
Available:

Directs the agent to fetch Testo's official API docs before writing tests, warns against assuming PHPUnit semantics, and requires running tests through the Testo CLI with JSON output.

All Skills in This Repository (11)

Pure Emerald Level Indicators
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-increase-coverage

Identify uncovered lines and generate test cases for Testo projects.

Official
Advanced
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-write-tests

Automate test case creation for the Testo PHP testing framework.

Official
Intermediate
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-plugin-author

Develop and configure Testo plugins for extending the testing environment.

Official
Advanced
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-flaky-tests

Retry or repeat Testo tests to stabilize flaky failures and verify fixes.

Official
Intermediate
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-data-driven

Parameterize Testo test cases with data providers for multiple inputs.

Official
Advanced
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-coverage

Automates CodecovPlugin coverage-report setup for Testo projects using Xdebug or PCOV.

Official
Intermediate
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-benchmarks

Execute Testo method benchmarks with BenchmarkPlugin and report Mean, Median, and RStDev metrics.

Official
Intermediate
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-mutation-testing

Run mutation testing on Testo projects with Infection to identify escaped mutants.

Official
Advanced
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-migrate-from-phpunit

Migrates PHPUnit test suites to Testo's attribute-based format using predefined mappings and hybrid Rector/AI rewriting.

Official
Advanced
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-configure

Automate setup and configuration of Testo's testo.php config file via CLI.

Official
Intermediate
๐Ÿ“ฆ In Repo
php-testophp-testo

testo-inline-tests

Attach inline test cases to pure functions for deterministic output validation.

Official
Intermediate

Frequently Asked Questions

FAQPage Schema
How to install Testo skills?โ–ผ

Run `npx skills add php-testo/testo --all -g -y` in your terminal to install all Testo skills globally.

How to write tests with Testo?โ–ผ

Mark classes or methods with the #[Test] attribute and use the Assert facade for checks โ€” no base class is required. The testo-write-tests skill guides your agent through the correct syntax and lifecycle hooks.

Can I migrate PHPUnit tests to Testo?โ–ผ

Yes. The testo-migrate-from-phpunit skill converts existing PHPUnit or Pest suites using automated Rector rules plus a guided rewrite pass, including the assertion argument-order flip.

How do I improve test coverage with Testo?โ–ผ

The testo-increase-coverage skill collects a coverage report, ranks the least-covered files, and writes targeted tests for the gaps. A separate mutation testing skill finds code that is executed but not truly verified.

Does Testo support async and flaky tests?โ–ผ

Yes. Dedicated skills cover fiber-based and Revolt event-loop async tests, plus #[Retry] and #[Repeat] attributes for stabilizing or stress-testing flaky tests.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’