Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » How to re-use ECL scripts across multiple projects?
How to re-use ECL scripts across multiple projects? [message #1710562] Wed, 07 October 2015 14:34 Go to next message
Philip Langer is currently offline Philip LangerFriend
Messages: 99
Registered: March 2015
Location: Vienna, Austria
Member

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


--
Philip Langer

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: How to re-use ECL scripts across multiple projects? [message #1710627 is a reply to message #1710562] Thu, 08 October 2015 03:37 Go to previous message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
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.
Previous Topic:"tear down" context for tests?
Next Topic:[SOLVED] Visit a table line by line
Goto Forum:
  


Current Time: Thu Apr 25 04:29:09 GMT 2024

Powered by FUDForum. Page generated in 0.03089 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top