I would like to know is there any way to lists all classes that use changed methods (after merging changes to master)? Best would be recursively, so if i got class with method that use method that use changed method it would be listed. Question is for C# but if there is universal tool to do this it would be ok. The thing is to check if recent commits does not make regression in project
eg.
class one
{
int something()
{
//method that changes
}
}
class two
{
int doSomethingWithSomething()
{
one objectoOfOne = new one();
return objectoOfOne.something() + 1;
}
}
class three
{
int usingTwoWithSomething()
{
two objectOfTwo = new two();
return objectOfTwo.doSomethingWithSomething() +2;
}
}
class four
{
int independent;
}
I would like to have list of classes one, two, three, when in merged change method something() was modified.