Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Maybe someone can tell me how this is actually supposed to work in TFS. We had it setup so that we would only retain the last four successful builds.

In Test Manager you put in a build you want to test against. So now all those test runs are tied to the build.

We changed the build retention policy to keep Test Results.

But whenever the build is removed all the Test Runs are deleted.

That seems to be something you really don't want to do??? Am I wrong?

Wasn't sure if this was the correct place for this or not.

share|improve this question
add comment

1 Answer

You've actually answered your own question here:

In Test Manager you put in a build you want to test against. So now all those test runs are tied to the build

TFS is designed so that there must be a build associated to a test run. In order to keep test results but not the build itself, you have a couple of options:

  • Create a "dummy" build to run tests against. This requires coding against the TFS API.
  • Run tests against a designated default build. This is available in later versions of TFS/Test Manager. I'm not sure if it's in 2010 or not.
  • Export your test results to a report and save the report. This won't keep the test results themselves, but it will keep a record of what those results were.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.