Kiran Polaki wrote:
Hi
In my case , I do run tests which generates log files containing the sequence of TTCN-3 statements executed.
Not necessarily , a fail verdict but i would be interested to be able to open the location of any TTCN statement from the log file.
Now I understand the philosophy of TRex.As you can see , my requirement can be satisfied if TRex allows it to be opened from the external tool.Can it be done in some other way?
*
""Do you execute tests and like to open the location where a fail verdict was set? Then, add test execution capabilities to TRex.""
*
I did not understand "then" part , what exactly u meant and how to do that ?
Did u mean that I should add my tool as new configuration under Run\External tools??
The best solution would be to fully integrate your tool into TRex. This would allow to run your tool as an external tool from within TRex and since such a solution would also parse the created log files would allow to link log file entries to lines of a TTCN-3 file. (However, parsing your tool's output needs to be manually implemented. As Dominic said: we have demonstrated this approach for the Telelogic TAU TTCN-3 compiler.) Since implementing the parsing of the tool output requires some (but probably not much) efforts, it is unlikely that such an integration will be available soon. Until then, I suggest to run your tool using Run->External tools. If your tool makes output to stdout and stderr, it will be shown in the Eclipse Console View. If it creates files, you may just open these file in Eclipse/TRex. The 'AnyEdit' plugin suggested by Dominic might provide some convenience since it goes into the direction of parsing your tool's output by supporting to click on a file name contained in some text and to open that file in an TRex editor. (However, I never tried the 'AnyEdit' plugin.) Best regards, Helmut -- Helmut Neukirchen mailto:neukirchen@informatik.uni-goettingen.de Institute for Informatics http://www.swe.informatik.uni-goettingen.de University of Göttingen, Lotzestr. 16-18 phone: +49 551 39 14695 D-37083 Göttingen, Germany fax: +49 551 39 14415