-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Sometimes unit tests are dicovered sometimes no #469
Comments
Please could you provide (upload or provide a link to the repo) a sample project that we could use to replicate this issue. |
Well, I made a project with just the structure (at least the one for tests) of mine. If you need me to upload more code I can see what can I do. I can't public all the code. |
How do you run these tests from the terminal? What's the command line? |
But I can launch them too with: Yesterday I could launch tests with your plugin, today not. I would like to help you making a djangotest module for your visual code testing. I clone your(Microsoft) repository and I want to try. I even wrote you an email :P But menawhile I would like to try with unittest |
Closing in favor of #73 |
Environment data
VS Code version: 1.19.0
Python Extension version: Version 0.9.1
Python Version: 3.5
OS and version: 4.10.0-42-generic 6~16.04.1-Ubuntu SMP
Actual behavior
Sometimes tests are dicovered and some no. With the same code
Steps to reproduce:
Configurations:
{
"python.pythonPath": "${workspaceFolder}/venv/bin/python",
// tests options
"python.unitTest.pyTestEnabled": false,
"python.unitTest.unittestEnabled": true,
"python.unitTest.nosetestsEnabled": false
}
Folders:
rootprogram
-- djangoapp
---- tests
------ test.py
Where the file with tests is test.py
I know it's a django test. But if I change class for unittest.TestCase it doesn't discover the test either. Yesterday, it found them. Today when I opened the editor (before doing any change), not.
The text was updated successfully, but these errors were encountered: