[jbosstools-issues] [JBoss JIRA] (JBIDE-17095) Cannot create 2 launchers for one test with different maven profiles selected
Snjezana Peco (JIRA)
issues at jboss.org
Fri May 16 08:11:56 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968374#comment-12968374 ]
Snjezana Peco edited comment on JBIDE-17095 at 5/16/14 8:10 AM:
----------------------------------------------------------------
{quote}
wait - so the profile option in the launch is not "please make sure this profile is selected and built before launch" ?
What is the profile selection then good for ?
{quote}
When a user starts an arquillian test using Run(Debug) As>Arquillian JUnit Test, Arquillian Eclipse checks if the environment is set correctly and if not, enables a user to:
- add a new profile to pom.xml (Add Arquillian Profiles)
- change a default profile (Select Maven profiles)
Both of the actions change a project, not a launch configuration.
{quote}
Sounds like it shuold be enables aread only instead ?
{quote}
Not sure what would read-only be.
We could add a new property (default profiles) to the Arquillian tab. However, since we don't have a separate Arquillian launch configuration anymore, we would have to intercept a JUnit launch configuration if we want to change a default profile(s) before starting a test. I have to check if it is possible to do so.
was (Author: snjeza):
{quote}
wait - so the profile option in the launch is not "please make sure this profile is selected and built before launch" ?
What is the profile selection then good for ?
{quote}
When a user starts an arquillian test using Run(debug) As>Arquillian JUnit Test, Arquillian Eclipse checks if the environment is set correctly and if not, enables a user to:
- add a new profile to pom.xml (Add Arquillian Profiles)
- change a default profile (Select Maven profiles)
Both of the actions change a project, not a launch configuration.
{quote}
Sounds like it shuold be enables aread only instead ?
{quote}
Not sure what would read-only be.
We could add a new property (default profiles) to the Arquillian tab. However, since we don't have a separate Arquillian launch configuration anymore, we would have to intercept a JUnit launch configuration if we want to change a default profile(s) before starting a test. I have to check if it is possible to do so.
> Cannot create 2 launchers for one test with different maven profiles selected
> -----------------------------------------------------------------------------
>
> Key: JBIDE-17095
> URL: https://issues.jboss.org/browse/JBIDE-17095
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: testing-tools
> Affects Versions: 4.2.0.Beta1
> Reporter: Lucia Jelinkova
> Assignee: Snjezana Peco
> Priority: Critical
> Fix For: 4.2.0.Beta2
>
>
> I want to create 2 launchers to run the same test but with different maven profiles selected. Currently, when I select the profile on one launcher the second is changed too.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jbosstools-issues
mailing list