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.
--expectation-helpers
Generate additional helper methods for Pest's built-in expectations in the helper file.
./vendor/bin/intellipest --expectation-helpersPest exposes many of its expectation methods through
@mixinPHPDoc annotations under the hood. If your LSP understands those annotations, such as Intelephense Premium, these generated helper methods are usually unnecessary. If it does not,--expectation-helpersprovides explicit helper methods so those expectations still get autocompleted.
--shush / -s
Hide 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