protected TestReport run(Element testRunElement, String[] ids)
throws TestException{
//
// First, build entire suite of tests
//
Test testRun
= buildTestRunTestSuite(testRunElement);
//
// Filter testSuite if necessary
//
Test filteredTestRun = testRun;
if(ids != null && ids.length > 0){
IdBasedTestFilter filter = new IdBasedTestFilter(ids);
filteredTestRun = filter.filter(testRun);
String unusedIds = filter.traceUnusedIds();
if(unusedIds != null){