0

Why do muted tests that pass automatically become muted again when they next fail?

I am testing the test muting feature before making general use of it.

  1. I created 3 failing tests, ran a build, then muted the failing tests, with "unmute" option set to "when test passes successfully".
  2. I ran another build.  TeamCity reported the build as successful, with 3 muted tests.
  3. I fixed the 3 failing tests, ran a build.  All tests passed, no tests shown as muted.  
    So far, everything is as I expected.

  4. I re-created the same 3 failing tests and ran a build.  TeamCity reported the build as successful, with those 3 tests as muted.  


Is the result in step 4 the correct behaviour?  I had expected TeamCity to forget about the previous "muting" on those tests once those tests had passed, and fail the build.

Also, the muted tests in Step 4 do not have the "muted" icon.

I am running TeamCity 8.0.3 Enterprise.  Screenshot of Step 4 results attached.

TCMutedTestsUnexpected.png

5 comments

Please sign in to leave a comment.