[Bug]: --tia option not recognized depending on option order
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 11.7k
- Forks
- 538
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 8
Description
What Happened
When running
php artisan test --tia --parallel
─ Experimental TIA mode enabled / fresh graph.
..
Tests: 2 passed (2 assertions)
Duration: 0.38s
Everything is fine.
But when inverting the two options
php artisan test --parallel --tia
The "--tia" option does not exist.
How to Reproduce
Install a fresh laravel app
initialize a git repository and create a first commit (required for Tia)
run
php artisan test --parallel --tia
# The "--tia" option does not exist.
Sample Repository
No response
Pest Version
5.0.2
PHP Version
8.5
Operation System
macOS
Notes
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with php artisan test --tia --parallel and php artisan test --parallel --tia in a fresh Laravel app with an initial Git commit. Trace the option parsing entry point for php artisan test and parallel execution; done means both option orders recognize --tia and the existing tests still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100