I set a system property according to this description:
http://jbehave.org/reference/stable/maven-goals.html

But I could not figure out how to use it then, starting it with Maven goals
clean and integration-test.

I extend JUnitStories. In that class I try to access the property in the
constructor with:
String dryRun =
configuredEmbedder().systemProperties().getProperty("dry.run");

But "dryRun" is null although it is really set by Maven if I look into the
console log.

The confgured embedder is not the same like the configuration in the POM
file for some reason but a kind of initial default embedder.

System.getProperty("dry.run") does not work either.

How to get to the fruit?

Reply via email to