|
|
Re: Is it possible to execute ttcn3 test cases via cli? [message #1735620 is a reply to message #1735539] |
Tue, 21 June 2016 12:51 |
|
Hi Raymund,
Titan has a core part that can be used via CLI; in fact this is the default usage;
The Eclipse plug-ins are merely a front-end to this core part.
Titan logs are produced in a proprietary text format, but it is possible to create logger plug-ins to generate any format, e.g. XML.
Some example logger plugins are published together with the Titan code, see https://github.com/eclipse/titan.core/tree/master/loggerplugins
Two of them are using sightly different JUnit XML formats , which Jenkins can process. Pls. take a look, these might be interesting for you.
For more info about logger plug-ins, see
https://www.eclipse.org/forums/index.php/t/1074250/
and the reference guide.
In fact we ourselves are using Jenkins to run Titan daily/regression/performance etc. tests.
For execution via CLI, please take a look in this forum, I have published several examples of command line executable code.
Best regards
Elemer
[Updated on: Tue, 21 June 2016 12:53] Report message to a moderator
|
|
|
|
|
Re: Is it possible to execute ttcn3 test cases via cli? [message #1736168 is a reply to message #1736150] |
Mon, 27 June 2016 08:36 |
|
Hi Raymund,
well, exactly what it says;
Titan is primarily intended for Linux/Unix. Cygwin represents a compromise that is not always suitable.
Is there any reason you started with dynamic logger plug-ins?
In most cases dynamic linking is not needed, and the code will work seamlessly on Cygwin.
Best regards
Elemer
|
|
|
|
Re: Is it possible to execute ttcn3 test cases via cli? [message #1736172 is a reply to message #1736171] |
Mon, 27 June 2016 09:31 |
|
Hi Raymund,
sorry, of course you have started with dynamic logger plug-ins as I have pointed to that direction.
"Is there other way to generate XML file in Windows platform?"
Yes there is;
- you can use a virtual Linux machine in which you execute your Titan binary; this usually takes its toll on the memory usage, but if your Titan executable is not large , it may work; depends on your environment
-you can also to to solve your problem outside the logging subsystem:
-write directly to a file some user messages formatted as XML
-send the above XML through a test port
However all these are more contorsionate and complicated than using
Linux.
Best regards
Elemer
|
|
|
Powered by
FUDForum. Page generated in 0.05010 seconds