I fixed the problem by creating an own TestCase class, which subclasses from the original one. In here, we override the getTestMethodNames function to work with DescribeType instead of for each.
This is also done in as3mock.
Here is what it looks like:
public override function getTestMethodNames():Array
{
var methodNames:Array = new Array();
var typeDesc:XML = describeType(this);
var item:XML;
for each (item in typeDesc.elements("method")){
var att:XML;
for each (att in item.attribute("name")){
var name:String = att.toXMLString();
if (0 ==name.indexOf("test")){
methodNames.push(name);
}
}
}
return methodNames;
}