You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discovery plugin can handle folder/file names as testName.
But this event is consumed by other plugins first and event.loader.failedLoadTests(name, e) is returned because of ImportError.
If a plugin cannot handle this kind of event, it should just ignore it. And at the end if it's not handled by any plugins, failedLoadTests should be triggered by hook object or loader itself.
btw I am working on intellij/PyCharm integration. If nose2 can take file names as input, it will make the integration much easier.
The text was updated successfully, but these errors were encountered:
If a plugin cannot handle this kind of event, it should just ignore it.
Plugins could check if the test name is a valid dotted name, and if not just ignore it? Why not. There are a bunch of issues with test loading (stacktraces being swallowed sometimes, making it difficult to see what's wrong) and it's pretty hacky, but I'm not sure how to fix it.
btw I am working on intellij/PyCharm integration.
Cool :) I think some people will be interested: #131
Discovery plugin can handle folder/file names as testName.
But this event is consumed by other plugins first and
event.loader.failedLoadTests(name, e)
is returned because ofImportError
.If a plugin cannot handle this kind of event, it should just ignore it. And at the end if it's not handled by any plugins,
failedLoadTests
should be triggered by hook object or loader itself.btw I am working on intellij/PyCharm integration. If
nose2
can take file names as input, it will make the integration much easier.The text was updated successfully, but these errors were encountered: