We have long used XML suites to run our test and have relied on the delegateCommandSystemProperties attribute to pass some system properties from Ant to our test framework. Recently we have begun experimenting with programmatically selecting tests and creating suites dynamically, but the delegateCommandSystemProperties seems to be a missing option.
XmlSuite suite = new XmlSuite();
suite.setConfigFailurePolicy("continue");
However there doesn't seem to be a setDelegateCommandSystemProperties() function. I assume this might have to do with the fact that we're already in Java by this point and there's no way to reach back and pull the variables in from Ant at this point. Or is there a way to do this?
Thanks
--
Chris