Hi Micael,
Micael Vesterlund wrote:
Hi,
I'm a first time user of JBehave.
I tried the trader example from the source codebase.
When invoking mvn integration-test, you will among others see the
following output in system out
/ [jbehave:run-scenarios {execution: run-scenarios-found}]
Running scenario
org.jbehave.examples.trader.scenarios.StatusAlertCanBeActivated
Running scenario
org.jbehave.examples.trader.scenarios.StatusAlertIsNeverActivated
Running scenario org.jbehave.examples.trader.scenarios.TraderSellsAllStocks
------------------------------------------------------------------------
BUILD SUCCESSFUL
/Thats seems okay but my question are:
Are there no report as a result from the run, like a Junit report?
By default, successful behaviour is passed silent. But you can
configure it to be verbose via the Configuration, or you can implement
your own ScenarioReporter.
For configuration examples refer to:
http://jbehave.org/documentation/scenarios/configuring-scenarios/
To make it successful scenario verbose simply override
MostUsefulConfiguration:
public ScenarioReporter forReportingScenarios() {
return new PrintStreamScenarioReporter();
}
Cheers
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email