Implement parameters into test names
I use parameters both to allow for flexible test reuse but also to help identify which portion of an app I'm testing, when different sections are similar. In some cases, this would allow me to use a parameter in the test name instead of in every step of a test.
It would also help with JIRA integrations where the specific section (defined as a parameter in the title) would automatically be added to the issue ticket summary field during the 'Fail & Issue' process.
-
Luke Walsh commented
I think this need to be talked about a lot more... Instead of adding the same test case to a test set X number of times with the same title, it would be much easier to understand at a high level the purpose and action behind the repeated test cases.
-
Michael Derry commented
The second part was just explaining a beneficial side-effect. If a parameter is in the title of a test, it would appear in the subject of the JIRA ticket, since the test title is included in the default ticket that is created under the current process.
Sorry for any confusion.
Thank you for looking into this.