Configuration
IntelliPest can be configured through flags to the intellipest command.
--config / -c
Specify the path to the Pest.php configuration file.
Default: tests/Pest.php
./vendor/bin/intellipest --config custom/path/Pest.php--output / -o
Specify the path to write the generated IDE helper file.
Default: .intellipest/_pest-helper.php
./vendor/bin/intellipest --output custom/path/helper.phpYou may also set the output directory via the
INTELLIPEST_OUTPUT_DIRenvironment variable.
--no-expectation-helpers
Don't generate helper methods for Pest's built-in expectations in the helper file.
./vendor/bin/intellipest --no-expectation-helpersSome LSPs like Intelephense Premium support the
@mixinPHPDoc tag, which is used in Pest's source code, making these helper methods redundant for those users.
--shush / -s
Don't show the (beautiful) header and footer in the console output.
./vendor/bin/intellipest --shush--watch / -w
Watch the Pest.php configuration file and automatically regenerate the helper file when changes are detected. Checks for changes every half second.
./vendor/bin/intellipest --watchThe watch process continues running until manually stopped (Ctrl+C). Syntax errors in the config file are reported but don't stop the watcher.
--quiet / -q
Don't output any console messages (useful for CI).
./vendor/bin/intellipest --quiet