I'm trying to automate some manual tests for a desktop app written in Java. I'm using FEST to do this. Is it possible to execute some parts of the code on the app being tested from FEST and get the results back in a stream or something. Or is there any other testing framework that lets you do it?
A:
I'm currently using JUnit for testing everything in any Java application, it writes the results in a hmtl set of documents for an easy consulting.
Try use this framework. For a good ref i advice you O'Reilly Pocket Ref.
Dario
2010-06-18 23:57:59
A:
Using FEST reflection module.
There is a method called staticMethod
that lest you do it.
Example
String xml = staticMethod("staticMethodName")
.withReturnType(String.class)
.in(Class.forName("com.package.className"))
.invoke();
return xml;
tou
2010-06-23 20:59:57