How to re-use ECL scripts across multiple projects? [message #1710562] |
Wed, 07 October 2015 10:34  |
Eclipse User |
|
|
|
Hi,
is there a way to easily share ECL scripts containing several procedures (i.e., a library in some way) across multiple RCPTT projects? What are the best practices to do that?
We could have these scripts in an own RCPTT project hosted in a repo, import the project in each workspace that uses those scripts, add the project references etc. to be able to use the script in the context of RCPTT tests. But it seems to be cleaner to provision them in a more managed way, e.g., as a plug-in.
I've seen the extension point to add custom ECL commands, but is there something comparable for providing custom context scripts?
Thanks for your feedback!
Philip
|
|
|
Re: How to re-use ECL scripts across multiple projects? [message #1710627 is a reply to message #1710562] |
Wed, 07 October 2015 23:37  |
Eclipse User |
|
|
|
Hi Philip,
You can do it by setting <projects> element in pom.xml:
Extra projects
In case of using linked projects or folders in Workspace context, it might be required to specify an extra projects to be imported into RCPTT Runner workspace. This can be done by using projects element:
<projects>
<project>${project.basedir}/../otherProject</project>
</projects>
Kind regards,
Ulyana.
|
|
|
Powered by
FUDForum. Page generated in 0.41134 seconds