-
Notifications
You must be signed in to change notification settings - Fork 323
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
How to get a report for only .test.ts
files in a /test
directory?
#211
Comments
Here is a test run on the gitinspector repo targeting the
Note that this is the relative path from the root of the project directory. If you want to be more broad and catch all Also note there might be a difference between using single quotes vs double quotes depending on what terminal you are using. In your case I would guess |
Thank you - it worked with |
Hello - thanks for making and contributing gitinspector!
My students have to write tests, too, and they're in
.test.ts
files in a/test
directory, e.g.,test/useCase01.test.ts
. I have tried to get a report for only tests, and haven't succeeded yet:-f test.ts
as an extension, but it's not recognized.-x "author:^(?!(John Smith))"
in the documentation, I tried something similar:-x "file:^(?!(test))"
but it doesn't match the files, even though it will exclude them with-x file:test
.Is there another way?
The text was updated successfully, but these errors were encountered: