I have moved from eclipse to intellij.
In eclipse, I had two packages:
- src/code
- src/tests
Now i have created an intellij project and copied one of my old eclipse project's src/ into the intellij src/ folder.
In eclipse, if I wanted to add Junit so I did:
Build Path -> Add External Jars -> Junit -> Finish
How to do this in intellij??
Becaue i get the following errors for my junit tests
Error:(3, 24) java: package org.junit does not exist
Error:(3, 1) java: static import only from classes and interfaces
Error:(4, 24) java: package org.junit does not exist
Error:(4, 1) java: static import only from classes and interfaces
Error:(5, 24) java: package org.junit does not exist
Error:(5, 1) java: static import only from classes and interfaces
Error:(6, 24) java: package org.junit does not exist
Error:(6, 1) java: static import only from classes and interfaces
Error:(10, 17) java: package org.junit does not exist
Error:(11, 17) java: package org.junit does not exist
Error:(12, 25) java: package org.junit.runners does not exist