I'm wondering what kind of setup I need in order to run certain test
cases. I'm thinking of org.eclipse.mylar.tasks.tests.TaskDataExportTest.
When I try to run it (using Eclipse->Run as Unit test) I get a NPE:
java.lang.NullPointerException
at
org.eclipse.mylar.tasks.tests.TaskDataExportTest.setUp(TaskDataExportTest.java:55)
at junit.framework.TestCase.runBare(TestCase.java:125)
It seems that the TasksUiPlugin.INSTANCE member is null. I guess I
missed some init code to get it to work.
Or is it possible to just run one test from Eclipse (Run As->Unit test)?