degraph
degraph copied to clipboard
Graph on Testfailures should include only violating nodes and edges
Would it be possible (or is it already possible) to limit the graph produced using classpath.printTo in my test to only those nodes and edges that broke the test, i.e. only the packages containing cycles? Cheers!
right now it is not possible. But I think it is a very good idea. Actually I'd like it to extend it:
I imagine something like:
classpath.printTo(PrintConfig(
onFailureOnly=true/false,
slicingsWithFailureOnly=true/false // this would not include for example a slicing by business module if it does not caused a test failure
nodesInvolvedInViolationOnly=true/false // this would do what you are asking for
seperateDiagramPerSlicing=true/false
))
Sounds good! I would gladly contribute... if I would know how to write scala code :(