Junit is currently only test on Class level (one or more classes), i.e.
it test all the test methods on the class that extends TestCase. This is
But some times, I wish I could only run one or few particular methods in
the class so I can track down the bugs or specific need.
Of course I can create another Test Class or comment out the other
classes. But none of the above, are flexible enough.
I can also extends the TestSuite to make my own TestSuite and override
the TestSuite constructor to allow not only Class but method name as
But I am also wondering if other developers have such a need ? If many
do, it may be better to add this into Junit framework.