Skip to content

Conversation

@jBorkowska
Copy link
Collaborator

@jBorkowska jBorkowska commented Dec 30, 2025

This PR fixes #2835

Test finder, which validates if passed target is a patrol tests, was searching for test files in parent directory of the directory set as test dir, which now can be custom. If nested dir was set, eg. test/e2e, test finder was searching in <project's root>/test instead of project's root.

@github-actions github-actions bot added the package: patrol_cli Related to the patrol_cli package label Dec 30, 2025
@jBorkowska jBorkowska force-pushed the fix/test-finder-cant-find-tests-in-nested-dirs branch from e30e070 to b52b210 Compare December 30, 2025 15:12
@jBorkowska
Copy link
Collaborator Author

test comment, please ignore

@jBorkowska jBorkowska added the waiting for response Waiting for user's response label Jan 5, 2026
@jBorkowska
Copy link
Collaborator Author

another test comment, please ignore

@jBorkowska jBorkowska removed the waiting for response Waiting for user's response label Jan 5, 2026
@pdenert
Copy link
Collaborator

pdenert commented Jan 7, 2026

Dart tests are failing

@jBorkowska
Copy link
Collaborator Author

fixed tests and added a test for this edge case

Copy link
Collaborator

@pdenert pdenert left a comment

Choose a reason for hiding this comment

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

LGTM

@jBorkowska jBorkowska merged commit 3949a16 into master Jan 12, 2026
9 of 17 checks passed
@jBorkowska jBorkowska deleted the fix/test-finder-cant-find-tests-in-nested-dirs branch January 12, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: patrol_cli Related to the patrol_cli package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_bundle has invalid import when tests are inside test/ folder and use CLI --target option

3 participants