mgivney / easyb

Automatically exported from code.google.com/p/easyb
0 stars 0 forks source link

easyB Maven plugin does not provide mechanism to pass system properties to executed code. #213

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Looking at the plugin docs and the source code I can't see a way to pass 
properties to the executed tests.  Ideally one should be able to write

mvn test -Dfoo=bar

and be able to access $foo from within the test code, even if (because the JVM 
that actually runs the test is forked) I have to write in my POM

<configuration>
  <systemPropertyVariables>
    <foo>${foo}</foo>
  </systemPropertyVariables>
</configuration>

to have the properties be given to the forked JVM.

The acceptance tests I'm writing use Selenium to access web content; being able 
to extract the host/port to properties for use locally or in a CI environment 
would be very handy.

Original issue reported on code.google.com by kierans...@gmail.com on 24 Mar 2011 at 5:39

GoogleCodeExporter commented 9 years ago

Original comment by richard....@gmail.com on 2 Apr 2011 at 7:55

GoogleCodeExporter commented 9 years ago
I agree that this would be a very handy feature.

Original comment by niklas.k...@gmail.com on 31 Aug 2011 at 6:18