Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Pass params to tests through Maven
Pass params to tests through Maven [message #1733680] Tue, 31 May 2016 00:43 Go to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Hello,

I'd like to ask whether there is any way to do the following use case:

I need to tell my test what url add to the aut update site repository but this url changes periodically. The idea is to define this url in a continuos integration system and pass it somehow to the test. I have thought in the maven plugin but I did not find something like this.

Is there any way to pass a param to a test through maven?

Regards,

Agustin Celentano
Re: Pass params to tests through Maven [message #1733681 is a reply to message #1733680] Tue, 31 May 2016 00:53 Go to previous messageGo to next message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
Maybe using a java program to obtain that url while running the test?
Re: Pass params to tests through Maven [message #1734165 is a reply to message #1733681] Sun, 05 June 2016 14:52 Go to previous message
Agustin Celentano is currently offline Agustin CelentanoFriend
Messages: 51
Registered: June 2015
Member
I've found a solution using the "substitute-variables" ECL command.

Regards,

Agustin
Previous Topic:Error in loop / recur?
Next Topic:matching complex xml text
Goto Forum:
  


Current Time: Fri Apr 26 04:43:04 GMT 2024

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

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

Back to the top