There is a method in TelluriumDataDrivenTest that can be used to control whether to abort the test when an exception is thrown.
public void useAbortOnException(boolean isUse) Please post your future questions to Tellurium users group at http://groups.google.com/group/tellurium-users Thanks, Jian On Wed, Mar 2, 2011 at 5:02 AM, Gabor Szekeres <[email protected]> wrote: > Hi John, > > We are using Tellurium through Maven as automated testing framework for our > project. The problem we are facing is that while the tests are picked up by > Surefire as they extend JUnit we haven't found any simple solution to fail > the build when any step fails. This is working as intended according to the > data driven module description: > > > http://code.google.com/p/aost/wiki/DataDrivenTesting#Tellurium_Data_Driven_Module > > "Like "compareResult", "checkResult" will capture all assertion errors. The > test will resume even the assertions fail and the result will be reported in > the output." > > We would like the JUnit tests to fail whenever there is a failed assertion. > This is important because we use Hudson for continuous integration and it > understands the JUnit result XML format produced by Surefire. > > Do you have any idea how to solve this simply without some sort of > conversion between XML formats? > > Thanks in advance for your help. > > Regards, > Gabor > -- You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en.
