Skip to content

fix: nested dataset discovery and parallel invalid-dataset reporting#1655

Open
stsepelin wants to merge 3 commits intopestphp:4.xfrom
stsepelin:fix/parallel-empty-suite-reporting
Open

fix: nested dataset discovery and parallel invalid-dataset reporting#1655
stsepelin wants to merge 3 commits intopestphp:4.xfrom
stsepelin:fix/parallel-empty-suite-reporting

Conversation

@stsepelin
Copy link
Copy Markdown

What:

  • Bug Fix
  • New Feature

Description:

This PR follows up on #1427 and fixes two related problems in Pest's parallel execution flow.

First, it fixes nested dataset discovery for datasets stored in nested Datasets/ directories, addressing #1121.

Second, it fixes parallel reporting when a dataset is invalid or missing, so these cases are surfaced correctly as failures rather than being lost in the summary, addressing #1185.

The PR also adds regression coverage for both scenarios and keeps the success snapshot coverage in place with a lower memory limit for the visual snapshot test.

Related:

$output = function () use ($testsPath) {
$process = (new Process(
['php', 'bin/pest'],
['php', '-d', 'memory_limit=256M', 'bin/pest'],
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not quite sure about this change. After the snapshots.txt update, the default PHP config (128M memory limit) started failing with memory limit warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Cannot use Datasets in subfolders

1 participant