I have 13 cucumber ruby tests scenarios split among few feature files . As part of the continuous integration with teamcity 9.0 (in Mac OS) , these tests run and if there is any fail then the failed tests run automatically by using (cucumber -p ios @smoke_ios_rerun.txt) where the text file notes down the failed scenarios from first run.
As example say in first instance out of 13 tests, 1 test got failed and as part of rerun that test got passed. Attached is the build log and the test count.
The problem is after rerun all the test got passed but the passed/failed count shows as per the first run . Any idea how to fix it.
From the build log you can see
from first run :- 13 scenarios (1 failed, 12 passed)
from rerun of that failed scenario :- 1 scenario (1 passed)
I've used regex to make the build green but I need the count should come correct as 13 passed.
Attachment(s):Screen Shot 2015-06-10 at 14.03.45.pngbuildlog.zip