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

Ability to warn about @testitem calls not in *_test.jl files #181

Open
nickrobinson251 opened this issue Sep 11, 2024 · 0 comments
Open
Labels
speculative a feature idea that we are undecided about

Comments

@nickrobinson251
Copy link
Collaborator

What if you write test-items but forget to put them in a "test file" i.e. a file with the suffix _test.jl? These test-items won't be run. It'd be good to have a built-in option to safe-guard against this, e.g. an option to parse all files in the directory tree down from the given paths and assert that non-test-files don't contain @testitem or @testsetup calls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
speculative a feature idea that we are undecided about
Projects
None yet
Development

No branches or pull requests

1 participant