Instead of exclude
, you may use include
. It’ll exactly what you want. Only this test will be executed.
<classes>
<class name="test.IndividualMethodsTest">
<methods>
<include name="testMethod" />
</methods>
</class>
</classes>