I\'m trying to write my first unit tests for a calculator, but NetBeans says it can\'t find the symbol assertEquals and annotation @Test.
Should i
I was having the same problem cannot resolve symbol Assert i have tried these solutions by adding the different import from the different answers.
but the solution that did the magic was just place the junit-4.12.jar in the app\lib ditectory and just build the project, and import like this
import org.junit.Assert;
you can download the junit-4.12.jar from here