Whats the best way to reuse tests made with Xray?
I need to be able to quickly copy standard test sets and plans from project to project.
There is no global test repository and exporting/importing CSVs is a lot of work and test versioning is very difficult.
Is there a way to easily reuse tests between projects or am I stuck manually exporting/importing/copying tests one by one?
Hi @LAL
How come there is no repo, as you have made tests, test sets and test plans, they are in the test repo from Xray by default.
I would urge you to go over the Xray documentation
Why don't you create different test executions for the same test?
You can assign a test execution to different users or via a Test Plan and execute the same Test inside the Test Plan using another Test Execution with a different Test Environment.
Or Clone the test execution
When cloning a Test Execution issue, all the Test issue associations will also be cloned.
However, a new Test Run is created for each Test so that the new Test Execution issue has no execution state.
Test Environment associations will be cloned as well.
Please re-read my question before linking documentation.
My question is not about simple cloning, its cloning from project to project.
Documentation (https://docs.getxray.app/pages/viewpage.action?pageId=66061108) only refers to CSV/JSON exporting/importing which I already mentioned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"Is there a way to easily reuse tests between projects or am I stuck manually exporting/importing/copying tests one by one?"
In your case only export and import will do the trick, as there is no such function in Xray.
After the export, edit it and search and replace the project key, this is the simplest I can do for you
Or contact the vendor with the question, the might give more insight on how or they might see this as an opportunity
By the way, not such a nice reply by the way "Please re-read my question before linking documentation."
People can misread something.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.