Skip to main content



      Home
Home » Eclipse Projects » SWTBot » Regression with SWTBot
Regression with SWTBot [message #1842565] Wed, 23 June 2021 20:41 Go to next message
Eclipse UserFriend
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 10:43 Go to previous messageGo to next message
Eclipse UserFriend
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 18:03 Go to previous message
Eclipse UserFriend
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: Wed May 14 12:06:39 EDT 2025

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

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

Back to the top