1

Every time a new version of software is released, we need to do a full run of all the existing test cases. It's very time consuming. Is it possible to find out the modified parts of the code base and only execute test cases related to those parts. And only conduct regression tests which is affected by those modified parts.

I want to write a tool to for that. And I want it to be as automatic as possible.

It should be not too difficult to do. And only .NET managed code is considered for now. Or is there any exsiting tools for that?

Lieven Keersmaekers
  • 57,207
  • 13
  • 112
  • 146
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
  • Really, great! Could you point me some reference? And I will add a TFS tag for this question. – smwikipedia Apr 24 '12 at 05:57
  • Thanks, I will take a look. And I'd like to see more answers to this question still. – smwikipedia Apr 24 '12 at 06:04
  • Very unfortunate, Test Impact Analysis is only availabe with TFS2010, but we are using TFS2008. – smwikipedia Apr 24 '12 at 09:51
  • I strongly suggest you to upgrade to TFS2010, writing an impact test analysis tool won't be a easy task. By the way, which kind of test are you talking about? Unit Test, Test Case, ... ? – Nock Apr 24 '12 at 11:17
  • Test case. Currently, there're too many test cases and we don't have time to run all of them for every release. I need to figure out the necessary ones. – smwikipedia Apr 27 '12 at 08:24

1 Answers1

1

I suggest you to read this blog post series. You can do Test Impact Analysis with MTM and Test Case but it requires some knowledge to setup and rigor to be able to use it in the real world.

Nock
  • 6,561
  • 1
  • 28
  • 27