Connecting Tech Pros Worldwide Forums | Help | Site Map

keep unittest results in a file

Newbie
 
Join Date: Sep 2008
Posts: 1
#1: Sep 1 '08
Hi,

I am new to unittest and i would like to know if it is possible to catch the results(which are shown in the console) of the tests in a separate file (text file for example).
I would like to keep track of the results but in a easier and more significant manner, something like:

test_function1.........FAIL
test_function2........ok
and so on

I write the code in eclipse.

Does anyone have any idea if this is possible?

Thank you in advance

bvdet's Avatar
Moderator
 
Join Date: Oct 2006
Location: Nashville, TN
Posts: 1,564
#2: Sep 1 '08

re: keep unittest results in a file


Whatever can be displayed in the console can be written to a text file.
Reply