it should limit the processes to the value specified. However, it ignores the option entirely.
How to Reproduce
Running the above command.
Sample Repository
No response
Pest Version
3.0.1
PHP Version
8.3.10
Operation System
macOS
Notes
Looking at the source for the plugin, the ProcessesOption@match() function seems to be a bit greedy. Locally adjusting the function to the following seems to resolve the issue:
public static function match(string $argument): bool
{
return $argument === str_starts_with($argument, sprintf('--%s=', self::ARGUMENT));
}
What Happened
When you run Pest 3 with the following options:
it should limit the processes to the value specified. However, it ignores the option entirely.
How to Reproduce
Running the above command.
Sample Repository
No response
Pest Version
3.0.1
PHP Version
8.3.10
Operation System
macOS
Notes
Looking at the source for the plugin, the
ProcessesOption@match()
function seems to be a bit greedy. Locally adjusting the function to the following seems to resolve the issue: