Unit testing is new to me, and I have this error I don\'t understand. I have 2 TestCases subclasses that work fine when ran standalone, but not in my test suite.
In
If you are using JUnit4 your classes shouldn't extend TestCase
, you just need the annotation @Test
before your test methods.
And your test suite should begin like this:
@RunWith(Suite.class)
@SuiteClasses({TaskTest.class,
ResourceTest.class,
DateForTMSTest.class,
AvailableResources.class,
Model.class})