Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore hidden files #1405

Merged
merged 1 commit into from May 7, 2024
Merged

ignore hidden files #1405

merged 1 commit into from May 7, 2024

Conversation

ewollesen
Copy link
Contributor

Hidden files are defined here as those beginning with '.' or '_'.

This is a departure from previous behavior, where hidden source and test files were evaluated via watch. Evaluating hidden files is undesirable because some editors create hidden temporary files, and these files shouldn't trigger test runs.

No flag is added to restore the original behavior at this time as the new behavior is the same as "go test", and it is not expected that it will cause problems. If this change affects you, consider opening a PR to add a CLI flag to restore the previous behavior.

#1401

Hidden files are defined here as those beginning with '.' or '_'.

This is a departure from previous behavior, where hidden source and test files
were evaluated via watch. Evaluating hidden files is undesirable because some
editors create hidden temporary files, and these files shouldn't trigger test
runs.

No flag is added to restore the original behavior at this time as the new
behavior is the same as "go test", and it is not expected that it will cause
problems. If this change affects you, consider opening a PR to add a CLI flag
to restore the previous behavior.
@onsi
Copy link
Owner

onsi commented May 7, 2024

This looks great! I’ll pull it in and cut a release once CI goes green.

@onsi onsi merged commit bde6e00 into onsi:master May 7, 2024
6 checks passed
@ewollesen ewollesen deleted the ignore-hidden-tests branch May 7, 2024 14:38
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.

None yet

2 participants