Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Regression with SWTBot
Regression with SWTBot [message #1842565] Thu, 24 June 2021 00:41 Go to next message
Дарья Федорова is currently offline Дарья ФедороваFriend
Messages: 6
Registered: May 2021
Junior Member
I am working on automating regression test plan for one application. There are several tests already written, but the problem is that if one of them crashes, then the whole regression crashes.
The question is: is there a way to force Bot to continue going through the regression tests, even if one of them fails?
Thanks in advance!
Re: Regression with SWTBot [message #1842614 is a reply to message #1842565] Fri, 25 June 2021 14:43 Go to previous messageGo to next message
Patrick Tasse is currently offline Patrick TasseFriend
Messages: 80
Registered: July 2009
Member
Hi Дарья,

How are you running your tests?

In some of our SWTBot Jenkins jobs we have the following settings:

In Build > Invoke top-level Maven targets > Advanced... > Properties:
maven.test.error.ignore=true
maven.test.failure.ignore=true

I have also read about -fae and -fn options in Maven:
https://maven.apache.org/ref/3.6.3/maven-embedder/cli.html

Patrick
Re: Regression with SWTBot [message #1842728 is a reply to message #1842614] Tue, 29 June 2021 22:03 Go to previous message
Дарья Федорова is currently offline Дарья ФедороваFriend
Messages: 6
Registered: May 2021
Junior Member
The solution is so simple, but it works! Thanks so much!
Previous Topic:Example for running SWTBot tests with Tycho for an Eclipse 4 RCP app
Next Topic:How to click on minimize/maximize view buttons
Goto Forum:
  


Current Time: Sat Oct 16 00:59:03 GMT 2021

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

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

Back to the top