-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 pass a path to a specific test file you want to run #5735
Comments
So your solution is to close the thread with "We failed to make it work so no one will"? Amazing. |
I think this is just a lack of feature. @rickhanlonii could close this issue just because it doesn't conform to provided issue template, so don't blame him ;) I'll tag it as a feature request. Please provide how would you like this to work, e.g.:
|
Hi and thanks for reopening this. CLI should work more or less just like any other test runner, mocha or similar. Your little example demonstrates how it should work. One should simply be able to provide a path to a file and run that specific test. This shouldn't involve any pattern-matching but simply read the file path and execute that specific file. |
I never said that that running a test by a filePath should exclude a config file. You can still pass a config file via --config flag. What I said is, it would be nice to provide a full path to a file that I want to run, without recursively running through every single folder looking for the string to match. |
Are there any updates on this? |
If you want to pass file paths in instead of pattern matching (for programmatic runs or similar), there is: Not sure I'm seeing the point of this feature request, but maybe I'm missing something? |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'd be willing to do the PR for this one and make it work. I'm mind blown that the entire library is based on regular expressions when it comes to resolving paths. I'm not really sure who made those decisions and why but not being able to pass a relative path to the file you want to run is mind-blowing.
The text was updated successfully, but these errors were encountered: