-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Depend on nose and pytest at installation #57
Comments
This is indeed the plan. Actually, this is what issue #15 is about. But it needs to be programmed.
Yep, these dependencies should be added while the greying out is not yet implemented. |
Thanks for confirming. That's what I have done. |
You can check if packages are available with
This is Python 3.4+, and has the benefit that it does not import the package in question, as opposed to the older try-import-except-ImportError method. |
Right now, the plugin offers to run
pytest
ornose
on a folder or your choice. There is however nothing forcing users to have any, one or both test frameworks available in their environment. Regardless, the selection box offer all test frameworks, which may lead to problems later.Could this be made a bit more adaptive somehow? For instance, by greying out selection of test frameworks for which a test import failed?
Otherwise, perhaps there should be an install dependency on
nose
andpytest
?The text was updated successfully, but these errors were encountered: