views:

52

answers:

1

Are there any tools (for C/C++) available to visualize the modules affected or the test cases to be executed when a block of code in changed.

Example, If i modify few lines in a method of a class, I should be able to get metrics on number of calling methods, affected modules. Also If i have a traceability from Code-TestCase, can this be used to provide a subset of Test cases to be executed for Test Completeness

+1  A: 

If you can trace execution of every test, you need just to re-use information you have stored to determine what you need.

When you modify lines, just look, traces of which tests have crossed these lines. These are the tests that need to be re-run. After you re-run them, update tracing information.

Pavel Shved