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
Convention for naming spec files? #37
Comments
Fixing this. |
Any chance you can clearly document how the watch is intended to work? I have not been able to set it up in any useful manner. |
@cloudhead Is this fixed? |
Watch mode looks out for either coffee-script+javascript: specFileExt = /.(-|_).(js|coffee)$/; Besides that, in bin/vows 381ff testing the specFileExt against file will always result in all tests being run with #337 being in place, heck 👯 - I will look into this ASAP. AFAIC #337 will not break the existing behavior. |
Looks like vows is picking up all files ending in .coffee or .js in the test or spec dir. I'll put command line option for test file pattern in the feature list. |
vows --watch assumes a convention for naming spec files, but generally it loads all the files it finds in spec/test, not just those with test-/spec- in their name.
If it filtered and only loaded files that follow the convention (when not giving explicit file names), it would be easier to work with vows and have unrelated JavaScript files in the spec directory.
My test suite includes JS files that should not be required (I load them separately), but are part of the data used for testing.
The text was updated successfully, but these errors were encountered: