Thank you Jason, that's exactly what I was looking for!
But I just tested it with:
var runner = new Runner();
CompileTime.importPackage("grar.parser");
for ( cls in CompileTime.getAllClasses("grar.parser") ) {
runner.addCase(Type.createInstance( cls, [] ));
}
where "grar.parser" is where my test classes are, I've got the good cp set in my HXML file, but I've got this error:
Error #1034: Type Coercion failed: cannot convert []@114f9c151 to List
at CompileTimeClassList$/initialise()
at CompileTimeClassList$/get()
at RunTest$/main()
at boot_2fbc/init()
at flash::Boot/start()
at boot_2fbc()
Where does this come from ?