unable to get the TestPlan version information from the command line interface

Bug #518874 reported by Stephane Mikaty (eCircle AG)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TestPlan
Fix Committed
Wishlist
Unassigned

Bug Description

I've been trying to get the version information from TestPlan in multiple ways, all of them failed.

I expected at the very least to see the the GNU-Style --version parameter supported

mikaty@pcd12527:~/work/qaweb/qa-web$ testplan
An entry point must be specified on the command-line or in System.Main
mikaty@pcd12527:~/work/qaweb/qa-web$ testplan --version
Unrecognized option: --version
mikaty@pcd12527:~/work/qaweb/qa-web$ testplan -version
testplan.auto.TestUnit$NoSuchTestUnitException: undefined test unit: -version
 at testplan.auto.TestUnit.execute(TestUnit.java:669)
 at testplan.auto.Run.run(Run.java:220)
 at testplan.auto.JavaRun.main(JavaRun.java:179)
!!! Exception
Test Execution Trace:
 Run: -version Incomplete
!!! exitCode = EXCEPTION
Finished.

Having this would allow me to show the version info for the version of testplan against which I'm reporting this bug for example.

mikaty@pcd12527:/opt/testplan-main$ bzr info
Standalone tree (format: pack-0.92)
Location:
  branch root: .

Related branches:
  parent branch: http://bazaar.launchpad.net/~testplan-team/testplan/main/
mikaty@pcd12527:/opt/testplan-main$ bzr revno
253

Related branches

Revision history for this message
edA-qa (eda-qa) wrote :

Add a --version. Just use a fixed label plus the bzr revision. such as 1.0.253

Changed in testplan:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
edA-qa (eda-qa) wrote :

Added --version
combines branch and revision number

Changed in testplan:
status: Confirmed → Fix Committed
Revision history for this message
edA-qa (eda-qa) wrote :

Note, bzr version-info may only exist in newer version of bzr.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.