testo
Write, run, and improve PHP tests with Testo
All Skills in This Repository (11)
Pure Emerald Level Indicatorstesto-increase-coverage
Identify uncovered lines and generate test cases for Testo projects.
testo-write-tests
Automate test case creation for the Testo PHP testing framework.
testo-plugin-author
Develop and configure Testo plugins for extending the testing environment.
testo-flaky-tests
Retry or repeat Testo tests to stabilize flaky failures and verify fixes.
testo-data-driven
Parameterize Testo test cases with data providers for multiple inputs.
testo-coverage
Automates CodecovPlugin coverage-report setup for Testo projects using Xdebug or PCOV.
testo-benchmarks
Execute Testo method benchmarks with BenchmarkPlugin and report Mean, Median, and RStDev metrics.
testo-mutation-testing
Run mutation testing on Testo projects with Infection to identify escaped mutants.
testo-migrate-from-phpunit
Migrates PHPUnit test suites to Testo's attribute-based format using predefined mappings and hybrid Rector/AI rewriting.
testo-configure
Automate setup and configuration of Testo's testo.php config file via CLI.
testo-inline-tests
Attach inline test cases to pure functions for deterministic output validation.
Frequently Asked Questions
FAQPage SchemaHow 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โopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core