JUnit library present; it's in pom.xml, it's in Project -> External Libraries, it's in Project Settings -> Libraries, it shows when typing Ctrl-N, etc., but symbol TestName not found
Answered
I'm utterly baffled. I do not have this problem in various other projects, but I cannot seem to fix it in this one. Is this illustration enough?
Please sign in to leave a comment.
Make sure it's added to the module dependencies: http://www.jetbrains.com/idea/webhelp/configuring-module-dependencies-and-libraries.html.
I had already ensured that (and I had invalidated the cache through restarting a couple of time too just in case). However, I discovered that I had marked the JUnit JAR's scope as "test" and the code using it was not test code a priori. Sorry for the miscue. Thanks.