This is a migrated thread and some comments may be shown as answers.

Tests on Jenkins

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 02 Apr 2014, 01:52 PM
Hello,
I've recently put some tests on Jenkins to run after a project builds.  The odd thing is that even if 1 test fails the build simply continues to move on to the next test regardless of the results of the previous.

Is there a way for the build to immediately stop if any failure is detected?  So that any issues can be dealt with at a quicker pace.

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 07 Apr 2014, 03:01 PM
Hello Andrew,

I am sorry to hear you are experiencing this problem. However this is specific Jenkins problem which there is almost nothing in common with Test Studio. How exactly you are executing our tests are you using MSBuild or ArtOfTest.Runner and what type of tests you are running, .tstest or nunit tests?

Please check the following articles as a start point on  how you can proceed:

http://jenkins-ci.361315.n4.nabble.com/Failing-build-when-test-fails-td363911.html

and 

http://stackoverflow.com/questions/10418931/how-to-get-jenkins-to-fail-fast-on-maven-2-builds

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or