-
Notifications
You must be signed in to change notification settings - Fork 386
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
"Not a test file" error when running any of the ':Test...' commands #674
Comments
I looked through the vim-test code and noticed that, for javascript at least, the plugin assumes that package.json is in the current working directory, and if it's not there, the plug just says "Not a test file". I'm guessing it's the same for python. I wonder if your problem is along those lines. |
Reproducible with |
It is correct that vim-test does not currently support mono-repos and you need to set the working directory. @JustAChucklin @mihaigalos are you running these tests within a mono-repo or a standard single project? |
A single folder containing 1 source py file with the logic aand another with the test. |
Seems I was missing Also, by default |
I am receiving a
Not a test file
error when I am running the vim-test plugin. This is a fresh install. I am at the early stages of being an intermediate user of NeoVim. The details of the type of tests that I am trying to run are below:1.1 Have tried the
basic
,nose
, andnose2
init.vim
, and it seems right. I am wondering if there is an issue with my python config or something on that side of the fence and not so much to do with my neovimIf there is anything that I can provide to help in resolving this please let me know, I would like to make this as easy as possible for you all :).
Thanks!
The text was updated successfully, but these errors were encountered: