My favorites | Sign in
Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 28: Tests and suites don't have unique link targets in log files
  Back to list
Status:  Done
Owner:  jprantan
Closed:  Apr 2009
Type-Defect
Priority-High
Target-2.1


Sign in to add a comment

Blocking:
issue 272
 
Reported by laukpe, Jun 16, 2008
Link targets for test cases and suites in a log file are created so that it
has the test case name prefixed with first letters of parent suite names.
In most cases this creates unique target names, but that is not guaranteed.
For example when running same test cases multiple times with different
variables test cases names are always the same, so duplicate targets are
created if parent suites start with the same letter.

An easy solutions is using the full name of the test case or suite. This
name includes all parent suite names and it is unique (at least in all
meaningful cases). The problem is that these names are quite long, but
probably they don't make log files so much bigger that it would be a problem.
Comment 2 by laukpe, Jul 21, 2008
To be implemented in 2.0.1 version.
Labels: Target-2.0.1
Comment 3 by laukpe, Jul 21, 2008
(No comment was entered for this change.)
Labels: -target-2.1
Comment 4 by laukpe, Jul 23, 2008
Just realized that there might be some features, for example related to splitting
outputs, that expect link targets to be in the 'x.y.z.My Name' format. If that's the
case this issue might be too big for 2.0.1. Need to investigate this a bit more. 
Owner: laukpe
Comment 5 by laukpe, Jul 30, 2008
A bug related to names,  issue 52 , causes test execution to fail totally if a test
suite name ends with a dot. Worth taking that into account when fixing this issue.
Comment 6 by laukpe, Jul 31, 2008
Also statistics have links to suites, and when splitting outputs these link targets
are generated so that the path is expected to be in 'x.y.z.My Name' format. Fixing
the original problem thus requires changes in too many places to be safe for 2.0.1.
Owner: ---
Labels: -Target-2.0.1 Target-2.1
Comment 7 by pekka.klarck, Mar 31, 2009
Resolving this was started by refactoring how suite names are set and get in r1601.
Summary: Tests and suites don't have unique link targets
Status: Started
Owner: jprantan
Labels: -Type-Enhancement Type-Defect
Comment 8 by jprantan, Apr 03, 2009
Implementation r1633 and r1645
Tests r1634
Status: Done
Comment 9 by pekka.klarck, Apr 03, 2009
(No comment was entered for this change.)
Summary: Tests and suites don't have unique link targets in log files
Sign in to add a comment

Hosted by Google Code