Hello Stackfolks,
We have our own unit test framework for blackberry application. And now we need to generate unit test report in text file, before we were just printing on console.
CommandController.java - Sends commands to blackberry simulator and receive response in string format. It displays which commands has sent to simulator and responses on console
TestResults.java - compares the string response received above with expected value and prints success or failure info.
CommandController.java and TestResults.java are invoked from main class SimmTest.java.
Now I want to capture the info from both CommandController.java and TestResult.java in text file and as well as display on console.
Please let me know the best practices or patterns for this scenario. Thanks for help!