Report duplicate test names
Closed / Invalidf939fed088e64eeefd7d65acd4f91334cb8b0a3bCreated 12 years agoUpdated 12 years ago
Descriptionplain2014-07-09 01:27:24
When copying and pasting tests, it's easy to accidentally use the same test name twice. I'd like for tcltest to (perhaps optionally) report whenever a test name appears more than once so I can rename the duplicates.
dgpplain2014-07-09 02:14:19
That's one of the things the "-debug 1" setting does for you. Combine it with "-singleproc 1" if you are concerned that test name dups may take place in different *.test files of a test suite.
andy (claiming to be Andy Goth)plain2014-07-09 02:22:51
Ah, I did not see that. I searched the documentation for duplicate and repeat and reuse. I did not expect "re-use" which is the spelling actually used in the man page.
Log in (anonymous is fine) to add a comment.