Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend expression language in arquillian configuration #159

Closed
bartoszmajsak opened this issue Jan 30, 2018 · 0 comments · Fixed by #162
Closed

Extend expression language in arquillian configuration #159

bartoszmajsak opened this issue Jan 30, 2018 · 0 comments · Fixed by #162
Assignees

Comments

@bartoszmajsak
Copy link
Member

bartoszmajsak commented Jan 30, 2018

Add ability to refer to a file being available in the project, but expended to the full path during test execution, so we can refer to it in a flexible way.

Current situation

We either provide a full path:

<container qualifier="daemon" default="true">
    <configuration>
      <property name="javaVmArguments">
        -Djavax.net.ssl.trustStore=/home/ike/project/module-a/src/test/resources/store.jks
      </property>
    </configuration>
  </container>

or use environment variables to make it configurable for different enviroments (local, ci, other devs)

<container qualifier="daemon" default="true">
    <configuration>
      <property name="javaVmArguments">
        -Djavax.net.ssl.trustStore=${env.LAUNCHER_TESTS_TRUSTSTORE_PATH}
      </property>
    </configuration>
  </container>

Desired solution

Have a way to refer to either relative location or involving classpath resolution: -Djavax.net.ssl.trustStore=${classpath("file")} to resolve to an absolute path.

Not sure if easily doable, but let's spike it for 2-3d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants