Testo PHP – is a modern PHP testing library
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "testo-plugin" > Install
-
Using JetBrains Marketplace:
Go to JetBrains Marketplace and install it by clicking the Install to ... button in case your IDE is running.
You can also download the latest release from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Build the OpenIDE variant with ./gradlew buildPlugin -PphpApi=openide. It uses PHP for OpenIDE 0.9.7 and
OpenIDE 2026.2.1. Install the ZIP from build/openide/distributions/ through Install Plugin from Disk.
The PhpStorm builds remain selected by -PphpApi=252 and -PphpApi=262.
Runs use the project's active PHP interpreter. Infection retains the interpreter selected for the original test run.
On macOS, Linux, Docker/Compose and WSL, that interpreter needs the pcntl and posix extensions so Testo can stop
Infection and its child processes. PHP for OpenIDE checks these requirements before starting Infection; ordinary
Testo test runs do not require those extensions.
If the connection to an interpreter is lost, Testo keeps the temporary reports and blocks rerun. Use Stop to retry stopping the same process. After restarting the IDE, check the processes in that interpreter before starting a new test run if the previous run could not be confirmed as stopped.
Plugin based on the IntelliJ Platform Plugin Template.