Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Statistic verdict for TTCN(Config)
Statistic verdict for TTCN [message #1800827] Tue, 08 January 2019 19:13 Go to next message
David Laurent is currently offline David LaurentFriend
Messages: 68
Registered: September 2018
Member
Hi Elmer,

Would it be possible to display in the logs the following overall general verdict to a specific test case verdict from the [LOGGING] section or other means ?

From:
STATISTICS_VERDICT - Verdict statistics: 0 none (0.00 %), 2 pass (100.00 %), 0 inconc (0.00 %), 0 fail (0.00 %), 0 error (0.00 %)

To: for instance

STATISTICS_VERDICT -
TC_01: 0 none (0.00 %), 1 pass (100.00 %), 0 inconc (0.00 %), 0 fail (0.00 %), 0 error (0.00 %)
TC_02: 0 none (0.00 %), 1 pass (100.00 %), 0 inconc (0.00 %), 0 fail (0.00 %), 0 error (0.00 %)


Regards - David

[Updated on: Tue, 08 January 2019 19:13]

Report message to a moderator

Re: Statistic verdict for TTCN [message #1800857 is a reply to message #1800827] Wed, 09 January 2019 08:08 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi David,

it has not been implemented as each user has different post-processing requirements.

However, there's an Eclipse Titan plug-in named LogViewer which does exactly the same as you requested namely displaying a list of test cases and their verdict, based on the log file generated by Titan.
The documentation of the LogViewer is only available in the Eclipse Help.

The other alternative of course is to do a simple post-processing with grep or awk.


Best regards
Elemer


Re: Statistic verdict for TTCN [message #1800921 is a reply to message #1800857] Wed, 09 January 2019 18:26 Go to previous messageGo to next message
David Laurent is currently offline David LaurentFriend
Messages: 68
Registered: September 2018
Member
Hi Elmer,

Thx....FYI, we used the ttcn3_logformat with option -s to divide the logs verdict per test case. However, the total passing rate is still present in each log.

Regards - David

[Updated on: Wed, 09 January 2019 18:29]

Report message to a moderator

Re: Statistic verdict for TTCN [message #1800993 is a reply to message #1800921] Thu, 10 January 2019 18:29 Go to previous messageGo to next message
David Laurent is currently offline David LaurentFriend
Messages: 68
Registered: September 2018
Member
Hi Elemer,

We were able to produce a separate file with a summary of all test case tittle with the verdict status alone based on your explanation:

https://www.eclipse.org/forums/index.php/m/1720995/?srch=logfilter#msg_1720995

We used the ttcn3_logfilter utility tool.

Regards - David

[Updated on: Thu, 10 January 2019 18:31]

Report message to a moderator

Re: Statistic verdict for TTCN [message #1801017 is a reply to message #1800993] Fri, 11 January 2019 07:35 Go to previous message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi David,

:)

thanks; Titan is rather complex, and usually there are more ways than one to reach the result.

Best regards
Elemer

Previous Topic:USB TestPort for TITAN
Next Topic:RAW: Problem when including length field in LENGTHTO()
Goto Forum:
  


Current Time: Tue Apr 23 12:31:43 GMT 2024

Powered by FUDForum. Page generated in 0.03907 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top