Hi Sheldon,
the core JBehave functionality is independent of any unit-testing
framework. It does leverage JUnit to provide a simple integration layer
with IDEs and it can do the same with TestNG.
There is an example showing you how to configure the use of TestNG:
https://github.com/jbehave/jbehave-core/tree/master/examples/trader-testng
What you use is a matter of preference. If you use TestNG for your unit
testing, you're more likely to want to use it to integrate the running
of JBehave.
Also, there is more support for JUnit-based runners, both in the JBehave
codebase and externally, e.g.
https://github.com/codecentric/jbehave-junit-runner.
That said, to get a proper integration with IDEs the more proper
solution is the IDE plugin, and we are working to provide that.
Cheers
On 07/06/2012 03:30, Sheldon wrote:
I've read comments by some users of JBehave that they also use TestNG
with JBehave. I can understand using TestNG for unit tests and
JBehave for acceptance tests, but I think the context of the comments
were around leveraging the tools simultaneously in the same tests.
Is there an advantage using JBehave with TestNG? If there is, what
would that look like?
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email