Skip to content

[Bug]: vendor/pestphp/pest/src/Plugins/Shard.php regex doesnt include modules/**/tests/ directories #1688

Description

@paul-sochiera

What Happened

When trying to generate the shards.json with pest --update-shards, it detects a different set of files than with pest --list-tests.

How to Reproduce

run pest --update-shards with a module structure as described above

Sample Repository

No response

Pest Version

4.6.3

PHP Version

8.5

Operation System

macOS

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions