Skip to content

Conversation

@nosachamos
Copy link
Contributor

…ame suite-file to run multiple times (performance testing, resiliency, memory leak testing, etc). Did this by checking for duplicated names, and if one or more are found instead of throwing an exception we change the name to (0), (1), etc... This way they will not conflict internally in any way, results are shown properly across the board, and folks can now repeat test suites if they want to which is extremely useful to make sure you don't have timing issues, memory leaks and other problems that arise from continued use.

…ame suite-file to run multiple times (performance testing, resiliency, memory leak testing, etc). Did this by checking for duplicated names, and if one or more are found instead of throwing an exception we change the name to <suite name> (0), <suite name> (1), etc...
@nosachamos
Copy link
Contributor Author

Oops, typo... if duplicate suite names are found the suite names are changed to "original name (0)", "original name (1)", etc so there are no internal conflicts.

cbeust added a commit that referenced this pull request Oct 19, 2015
Allowing Suites to have duplicated name so people can configure the s…
@cbeust cbeust merged commit 0c374ac into testng-team:master Oct 19, 2015
@cbeust
Copy link
Collaborator

cbeust commented Oct 19, 2015

Can you send a PR that also updates the CHANGES file with a description of your fix and your name?

Thanks, and thanks for the fix!

@nosachamos
Copy link
Contributor Author

Sure thing! Will send in an hour or so.

Thanks for merging!

2015-10-18 21:57 GMT-05:00 Cedric Beust [email protected]:

Can you send a PR that also updates the CHANGES file with your fix and
your name?

Thanks, and thanks for the fix!


Reply to this email directly or view it on GitHub
#829 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants