Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking test cases to another test suite #2591

Closed
edsdame opened this issue May 5, 2017 · 3 comments
Closed

Linking test cases to another test suite #2591

edsdame opened this issue May 5, 2017 · 3 comments

Comments

@edsdame
Copy link

edsdame commented May 5, 2017

I was wondering, if there is a chance to do something like that:
I have a multiple suites, and lets say three of them contains the same test case. Question is, if I can "link" one test case to another suite, so if I change one, the other automatically changes too. It's hard to keep track of the changes if I need to change the same case in multiple suites.

@bkhouri
Copy link

bkhouri commented May 5, 2017

Maybe my comment doesn't make sense, but are the test steps the same for each test case? if so, can't you just create a Keywords in a resource file and have each suite test case call the keywords?

@edsdame
Copy link
Author

edsdame commented May 5, 2017

I get what you mean. My tcs are all keyword-focused, so that's not an issue, but there's a fair amount of old ones made by different people which have keywords and separate steps. It would be still a solution to make a mega-keyword from each of the old cases and let them handle the changes.

@pekkaklarck
Copy link
Member

No, this is not possible. You can only share keywords, not tests. Depending on your actual use case, generating tests based on a model might be one solution as well.

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

No branches or pull requests

3 participants