That's correct. It's really nothing to do with JUnit nor with unit
testing. It's simply a hook to bootstrap the execution of the stories.
We could try to make it more generic in 4.x, but I'm not entirely sure
it's top priority.
On 02/11/2012 18:09, Alexander Lehmann wrote:
there is a testng example in the examples directory in the
jbehave-core source, this essentially uses a testng @Test annotation
for the run method, inheriting from the Stories class, however I
assume it doesn't call any of the junit methods.
On 01.11.2012 21:36, Justin Holmes wrote:
Hello Devs,
I'm on a project that uses TestNG as its Unit test framework so I'd like
to leverage it for JBehave. I've seen ways to do that (e.g.
http://jbehave.org/reference/preview/faq.html ) but its just seems
unnatural to extend a class "JUnitStories" if I'm not using JUnit. I've
searched through the jira and the mail list, but can't find a specific
reference to this question. Is there a particular reason that
TestNGStory/Stories does not exists in jbehave-core? Maybe dependency
issues? If there is not, I'd be happy to submit a pull request and add
the feature.
- Justin
---------------------------------------------------------------------
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