Re: [junit-remote-discuss] getting stack traces from remote tests
Status: Beta
Brought to you by:
totten_s
From: Steven S. <sta...@oc...> - 2009-10-21 17:30:03
|
Dan Keshet wrote: > How much work would it be to include stack traces on failures in remote > tests? Any work started on this? Any pointers on where I could start? Hello Dan, Thanks for your interest in the project! Unfortunately, due demands on other funded projects, I have not had any time to complete any work on the project since the initial release. If you are interested in adding support for remote stack traces that would be very helpful! Probably the best place to get started is to look at how the RemoteTestResult class is used. Up until this point, the messages passed back to remote client has been simple text in the HTTP response. What I would like to see added first is to convert all responses to an XML format. Once that is done, it should be trivial to add an additional element which contains the stack trace output (i.e. you could simply dump the results of a e.printStackTrace() call). To get started, you can check out the junit-remote trunk from SourceForge, see: https://sourceforge.net/projects/junit-remote/develop Once you have completed your changes, please prepare a diff (svn diff should be just fine) and respond to the list. I'll then review and integrate your changes. Of course, if you would like to become a regular contributor to the project, once you have a commit under your belt I would be more than happy to add you to the project. Cheers, -- Steven Stallion Senior Software Engineer Object Computing, Inc. http://www.ociweb.com |