Comment #4 on issue 133 by ChrisPrinos: Remove warning about having same test multiple times in a suite
http://code.google.com/p/robotframework/issues/detail?id=133

I'm not in favor of this change. The way I treat test names is that I rely on the fact that full names (suite path + test name) are unique across all tests, so a duplicate name is a always a mistake (as pointed out in comment 2,
it's usually a result of copy-pasting tests).

Two use cases where having non-unique names is bad:
1) you post process results and save them to a database using fully qualified test name (suite path + test name)
as a primary key
2) you post process multiple results with rebot -- how do you know if multiple entries of tests "foo.a" are because "a" appears multiple times in "foo", or if a single test, "foo.a" was tested over multiple runs, or both?

I think I actually preferred this to be an error, but understand this is not practical as it was previously a warning
and some people may use it in this way. My preference, in order, would be:

1) restore the warning as it was in 2.0.x
2) make the warning optional in a command line flag with the default for the warning to be on

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to