PHP
Failed line in test
Warning
Last modified: 03 December 2024Reports failed function calls or assertions in Pest tests. It helps detect the failed line in code faster and start debugging it immediately.
Example:
test("1 is 2", function() {
expect(1)->toBe(2); //highlighted
}
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
PestTestFailedLineInspection
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Pest, 243.23148 |
Thanks for your feedback!
Was this page helpful?