java - JUnit Test import works, but IntelliJ doesn't see it beforehand -


when creating tests, intellij doesn't seem see junit itself. however, if manually write import, recognized without problem. works fine, it's not big deal, strange behaviour.

when type @test, autocomplete shows:

autocomplete

after writing, , alt+enter:

after alt-enter

after manually writing import:

enter image description here

since maven , intellij work after manually writing import, seems minor configuration problem. have deleted *.iml files in project, it's global configuration?


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -