Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » How to continue test execution after few test fails
How to continue test execution after few test fails [message #1462223] Wed, 05 November 2014 10:48 Go to next message
Vipin Sharma is currently offline Vipin SharmaFriend
Messages: 40
Registered: February 2014
Member
I want to continue my test suite execution once one test case fails. Currently if one test case fails, Jubula stops execution.
Re: How to continue test execution after few test fails [message #1462229 is a reply to message #1462223] Wed, 05 November 2014 10:55 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi there,

You can use Event Handlers to do this. An Event Handler is a normal test case that only gets executed when an error occurs.

Documentation on using Event Handlers is here:
http://help.eclipse.org/luna/topic/org.eclipse.jubula.client.ua.help/html/manual/node290.html?cp=36_2_25

There is also an article on best practices for using event handlers to ensure that each individual test case in your test suite can run. The main ideas are:

- build test cases that test one function and have no dependencies to other test cases
- provide each test case with event handlers that perform e.g. a restart (or some other tear down) then re-setup the application in the state you require it to be for the next test case

The full details are here:
http://testing.bredex.de/test-cases-for-continuous-integration.html

And a general article about it is here:
http://testing.bredex.de/test-design.html?file=files/content_closed/documents/publications/testingexperience01_10_Imrie_Tiede.pdf

Hope that helps!
Alex
Re: How to continue test execution after few test fails [message #1462237 is a reply to message #1462229] Wed, 05 November 2014 11:01 Go to previous message
Vipin Sharma is currently offline Vipin SharmaFriend
Messages: 40
Registered: February 2014
Member
Thanks Alexandra.
Previous Topic:Is it possible to verify an Icon od a TreeItem?
Next Topic:Strange behaviour of data sets
Goto Forum:
  


Current Time: Thu Apr 18 14:40:06 GMT 2024

Powered by FUDForum. Page generated in 0.01857 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top