I had a bug in the junit plugin due to its inability to find the PsiClass for junit.framework.TestCase.
It would find it if I used the deprecated PsiManager.findClass(String) but would not find it when using
So I used all scopes possible using either the event project or the class found under the cursor (like previously shown). Here is what I found:
Does not find
Could you please tell me what all these scope correspond to and I promise I will document it on intellij.org