[Webtest] [webtest][JIRA] Created: (WT-118) Run-time Version info for WebTest
Denis N. Antonioli (JIRA)
webtest@lists.canoo.com
Tue, 22 Nov 2005 12:13:34 +0100 (CET)
Run-time Version info for WebTest
----------------------------------
Key: WT-118
URL: http://webtest-community.canoo.com/jira/browse/WT-118
Project: WebTest
Type: New Feature
Reporter: Denis N. Antonioli
Copy to the report xml the implementation title and version from webtest's jar.
That same information could afterward be displayed for example in the footer
of the html report.
I see two possibilities
(1) Add the information to the summary of the report.
This would add following declaration to results.dtd:
<!ATTLIST summary
Implementation-Title CDATA "Canoo WebTest"
Implementation-Version CDATA "development"
This implies that all the test runs in a report use the same webtest version.
Although this is at first reasonable, this may not be the case
if reports are merged over a many days, weeks, ... or aggregated over
different test systems.
(2) Add the information to each testresult.
This would change this declaration of results.dtd:
<!ATTLIST testresult
testspecname CDATA #REQUIRED
location CDATA #REQUIRED
starttime CDATA #REQUIRED
endtime CDATA #IMPLIED
succesfull ( yes | no ) #REQUIRED
Implementation-Title CDATA "Canoo WebTest"
Implementation-Version CDATA "development"
This second solution allows reports to be aggregated in all cases,
but at the cost of slightly larger report files.
PLAN
+ Implement 1st proposal. Handling many reports is a different story ;-)
+ Hard-code a ant property: webtest.version, as proposed by Paul.
+ Print the version to the log at the end of a test run, as suggested by Marc.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira