sebastianbenz / Jnario

Executable specifications for Java
136 stars 38 forks source link

testNG support #95

Open msasa opened 10 years ago

msasa commented 10 years ago

I am trying Jnario with eclipse and I am amazed. The only downfall to me is that it couldn't be configured to use testNG instead of jUnit framework.

Some things can be corrected manually (@Test annotation can be used from testNG framework) but others couldn't ( e.g. @RunWith and @Ignore annotations are not supported in testNG ).

Please look into this for future versions.

sebastianbenz commented 10 years ago

It should be fairly easy to also support testNG, as the test runtime is pluggable. The only thing which is required is a mapping of the Jnario execution model to the testNG runtime. However, I don't have any personal experience with testNG, so it would be great if you could provide an example implementation how one would execute specs & features in testNG.