Re: [jbehave-user] How to define test run configurations with JBehave?

2013-09-27 Thread Mauro Talevi
Steps classes are pojos and you configure/inject configuration as you prefer.

There is no specific framework for this in JBehave.

Cheers 

On 27 Sep 2013, at 10:54, Hans Schwäbli bugs.need.love@gmail.com wrote:

 What is the JBehave way to use test configurations?
  
 For instance I want to configure the base URL, the browser(s) to be used, 
 some common data like username and password and so on.
  
 I could write an Environment class and put it in it or write property 
 files. Someone even wrote a Step for this, which imports such configuration 
 data.
  
 But maybe there exists a feature in JBehave for such things?

-
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email




[jbehave-user] Better JUnit reporting result view

2013-09-27 Thread Hans Schwäbli
As it seems some people from Codecentric have written a custom JUnit-Runner
for JBehave.

It shows what stories and scenarios are run in the Eclipse JUnit view, even
hierarchical.

https://github.com/codecentric/jbehave-junit-runner
https://blog.codecentric.de/files/2012/06/JBehave_JUnit_Results_for_Scenarios_and_Steps.png

But it does not seem to work correctly for jbehave-web-3.6 since a
exception occurs.

Maybe some talented guy can contribute such an feature to JBehave?

I would contribute it myself, but I don't know the JBehave and JUnit
details good enough.


Re: [jbehave-user] Better JUnit reporting result view

2013-09-27 Thread Robert Hostlowsky
Hi Hans,

thanks for your description. So there is a problem when running this
in the Eclipse junit view, right?
Can you provide a short snapshot, or just the stacktrace from the console view?

Thx, Robert
-- 

Robert Hostlowsky | Senior Software Developer | Agile Software Factory

codecentric AG | Landsberger Straße 302 | 80687 München | Deutschland
www.codecentric.de

| blog.codecentric.de
| www.meettheexperts.de
| www.more4fi.de

2013/9/27 Hans Schwäbli bugs.need.love@gmail.com:
 As it seems some people from Codecentric have written a custom JUnit-Runner
 for JBehave.

 It shows what stories and scenarios are run in the Eclipse JUnit view, even
 hierarchical.

 https://github.com/codecentric/jbehave-junit-runner
 https://blog.codecentric.de/files/2012/06/JBehave_JUnit_Results_for_Scenarios_and_Steps.png

 But it does not seem to work correctly for jbehave-web-3.6 since a exception
 occurs.

 Maybe some talented guy can contribute such an feature to JBehave?

 I would contribute it myself, but I don't know the JBehave and JUnit details
 good enough.

-
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email