Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium
New issue 1380 by [email protected]: add support for [id] in test
settings
http://code.google.com/p/robotframework/issues/detail?id=1380
I would like to suggest a new setting for test cases, [id]. This could be
used to add a unique identifier to a test case -- for example, a GUID or
some other test number.
This value should also be sent to the listeners as part of the start_test
and end_test payloads, and possibly a list of these could be sent with
start_suite and end_suite.
Use case: we have created a database to track our testing efforts, and we
use the listener interface to record test runs. Right now, the only way to
uniquely identify a test case is via it's fully qualified name. If somebody
renames a test, renames the file that a test is in, moves the file that the
test is in, or moves the folder that the test file is in, there is no
information in the listener interface to tell us this test already exists
in the database under a different name. The [id] attribute would let us
have a unique identifier for each test.
Another use case: this could be useful for tracking bugs -- one could put
the id of a test case in the bug report, and someone could still find the
test in the future even if it gets renamed (assuming one adopts the rule
that you never change the id once it has been set)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.