Hello,
I would like to know whether it is correct from a BDD point of view to use
JUnit's assertXX methods in my steps or selenium pages (mine is a webapp).
Regards,
Julien.
Any assertion mechanism is allowed. What matters is that in case of
failures a Throwable instance is thrown.
On 02/10/2012 09:21, Julien Martin wrote:
Hello,
I would like to know whether it is correct from a BDD point of view to
use JUnit's assertXX methods in my steps or selenium pages (mine
Thank you Louis, :-)
I rather meant is there a jbehave-specific way to throwing the error?
For instance if I have an assertEqual(expected, actual) that evaluates to
false what is meant by Mauro's statement in his prior email?
Regards,
Julien.
2012/10/2 louis gueye louis.gu...@gmail.com
Hi
Hi,
it means: you can use JUnit asserts methods :)
in addition, every method that has a throw statement, that is not caught,
can be used to let a scenario fail.
Andreas
2012/10/2 Julien Martin bal...@gmail.com
Thank you Louis, :-)
I rather meant is there a jbehave-specific way to throwing
Btw, You can use any other asserting library, as the one provided by the
Hamcrest project.
Every time an assert fails, jbehave will catch and properly report it...
regards,
Cristiano
On 02/10/12 07:51, Julien Martin wrote:
Thank you Louis, :-)
I rather meant is there a jbehave-specific way
I see... Thanks.
2012/10/2 Cristiano Gavião cvgav...@gmail.com
Btw, You can use any other asserting library, as the one provided by the
Hamcrest project.
Every time an assert fails, jbehave will catch and properly report it...
regards,
Cristiano
On 02/10/12 07:51, Julien Martin