-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Differentiate normal source files from test files #216
Comments
This is something I had considered... however it falls down where some languages have the tests inline such as rust. I was looking though the V test code and annoyingly there isn't any import or such I can see that would allow you to do this sort of remap either using I think the ability to remap via filename regex or some such might be worthwhile though... I just need to think about the implementation some more. |
I have a similar problem. My test files are Typescript with extension |
I think this is possible for some languages, but inline would be problematic, due to inline tests. However that might also be possible... Its something I am considering adding in, although it might need language specific code to achieve and not the generic one that is currently implemented. |
In my eyes it would be a nice metric to see how many lines my program code has and how big my testing suite is.
In some languages this might be already possible when all test files are located in a
tests
folder but I mainly use V, where tests and source files are next to each other.I would expect something like
Maybe another flag could be added for this.
The text was updated successfully, but these errors were encountered: