ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details
0002808Part 01: TTCN-3 Core LanguageNew Featurepublic31-01-2008 12:1324-04-2008 12:34
Gyorgy Rethy 
Ina Schieferdecker 
normalfeatureN/A
closedfixed 
 
v3.4.1 (published 2008-09)v3.4.1 (published 2008-09) 
Part-1 cl.24, Part-6 cl.7.3.4
Ericsson
0002808: Verdict reason
Today the language does not gives any possibility to identify and handle the reason of assigning a given verdict, though this would be very useful at test execution (especially when the test development and execution are done by different testers).
Similarly to the create operation, a second, optional charstring parameter should be introduced. This parameter is transparent for the language and the test system point of view. Except the implicit component verdict variable, also an implicit component verdict string variable shall be introduced. When a component verdict is overwritten (even with the same verdict value), the component verdict string is overriden as well. When the related setverdict operation contains a string parameter, the old string is overwritten by the new one. If the actual setverdict operation do not have a string parameter, the "old" string is deleted.
The getverdict operation returns a single verdict value, hence cannot be used to retrieve the actual component verdict string value. Either the actual verdict string value is not retrievable or a new operation (e.g. getverdictstring shall be defined. We do not have a strong opinion on this.
When component finishes, its verdict is sent to TM. Whith this improvement, except the final component verdict, also the final component verdict string is sent to TM. Unlike the verdict value, it is shall not be specified by the standard, how to handle the verdict strings of the different components (i.e. there is no test case verdict string).
No tags attached.
doc CR2808-Verdict-Reason-Part1-Resolution.doc (1,690,112) 21-04-2008 18:46
http://oldforge.etsi.org/mantis/file_download.php?file_id=1423&type=bug
doc CR2808-Verdict-Reason-Part6-Resolution.doc (381,952) 22-04-2008 10:40
http://oldforge.etsi.org/mantis/file_download.php?file_id=1425&type=bug
doc CR2808-Verdict-Reason-Part1-Resolution v2byGyorgy.doc (1,728,000) 22-04-2008 12:52
http://oldforge.etsi.org/mantis/file_download.php?file_id=1430&type=bug
doc CR2808-Verdict-Reason-Part6-Resolution_v1.doc (437,760) 23-04-2008 18:52
http://oldforge.etsi.org/mantis/file_download.php?file_id=1447&type=bug
doc CR2808-Verdict-Reason-Part1-Resolution v3.doc (1,730,560) 24-04-2008 12:24
http://oldforge.etsi.org/mantis/file_download.php?file_id=1451&type=bug
Issue History
31-01-2008 12:13Gyorgy RethyNew Issue
31-01-2008 12:13Gyorgy RethyClause Reference(s) => Part-1 cl.24, Part-6 cl.7.3.4
31-01-2008 12:13Gyorgy RethySource (company - Author) => Ericsson
10-03-2008 16:06Thomas DeißNote Added: 0005193
10-03-2008 16:06Ina SchieferdeckerProjectTTCN-3 Change Requests => Part 01: TTCN-3 Core Language
10-03-2008 16:07Ina SchieferdeckerStatusnew => assigned
10-03-2008 16:07Ina SchieferdeckerAssigned To => Jens Grabowski
10-03-2008 16:07Ina SchieferdeckerTarget Version => Edition 4.1.1 (not yet published)
21-04-2008 08:57Ina SchieferdeckerTarget VersionEdition 4.1.1 (not yet published) => Edition 3.4.1 (not yet published)
21-04-2008 18:46Jens GrabowskiNote Added: 0005480
21-04-2008 18:46Jens GrabowskiFile Added: CR2808-Verdict-Reason-Part1-Resolution.doc
21-04-2008 18:48Jens GrabowskiNote Added: 0005481
21-04-2008 18:49Jens GrabowskiAssigned ToJens Grabowski => Thomas Deiß
22-04-2008 10:40Thomas DeißFile Added: CR2808-Verdict-Reason-Part6-Resolution.doc
22-04-2008 10:42Thomas DeißNote Added: 0005486
22-04-2008 10:43Thomas DeißAssigned ToThomas Deiß => Gyorgy Rethy
22-04-2008 12:52Gyorgy RethyFile Added: CR2808-Verdict-Reason-Part1-Resolution v2byGyorgy.doc
22-04-2008 12:54Gyorgy RethyNote Added: 0005495
22-04-2008 12:54Gyorgy RethyAssigned ToGyorgy Rethy => Thomas Deiß
22-04-2008 14:36Thomas DeißAssigned ToThomas Deiß => Jens Grabowski
22-04-2008 15:42Jens GrabowskiAssigned ToJens Grabowski => Ina Schieferdecker
22-04-2008 15:42Jens GrabowskiResolutionopen => fixed
23-04-2008 18:44Ina SchieferdeckerFile Added: CR2808-Verdict-Reason-Part1-Resolution v3.doc
23-04-2008 18:52Ina SchieferdeckerFile Added: CR2808-Verdict-Reason-Part6-Resolution_v1.doc
23-04-2008 19:21Ina SchieferdeckerStatusassigned => resolved
24-04-2008 12:23Ina SchieferdeckerFile Deleted: CR2808-Verdict-Reason-Part1-Resolution v3.doc
24-04-2008 12:24Ina SchieferdeckerFile Added: CR2808-Verdict-Reason-Part1-Resolution v3.doc
24-04-2008 12:34Ina SchieferdeckerStatusresolved => closed
24-04-2008 12:34Ina SchieferdeckerFixed in Version => Edition 3.4.1 (not yet published)

Notes
(0005193)
Thomas Deiß   
10-03-2008 16:06   
Applies to fail, pass, inconc, none.
The remaining verdict reasons should be as expressive as the arguments of the log statement.

Using getverdict as reason returns the previous verdict, i.e. the verdict before the setverdict.

reasons of the error verdict relate to CR 2565 'TTCN-3 exceptions'
This CR and CR 2565 should be resolved consistently.
(0005480)
Jens Grabowski   
21-04-2008 18:46   
Attached a proposal for the resolution in Part 1. Changes related to Parts 5 and/or 6 will be done by Thomas. I assign the CR therefore now to Thomas.
(0005481)
Jens Grabowski   
21-04-2008 18:48   
Additional comment: In the BNF the change is only related to rule 535
(0005486)
Thomas Deiß   
22-04-2008 10:42   
STF 349, Thomas:
Proposal for part 6 added. As the reason strings are not combined, they do not need to be exchanged across test components ==> no change to TCI-CH nor TCI-TM.

The change is limited to extend the tliSetVerdict operation by an additional argument to hold the reason.
(0005495)
Gyorgy Rethy   
22-04-2008 12:54   
See my comments/changes in the document CR2808-Verdict-Reason-Part1-Resolution v2byGyorgy