Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph on Testfailures should include only violating nodes and edges #59

Open
drosowski opened this issue Mar 13, 2015 · 2 comments
Open

Comments

@drosowski
Copy link

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!

@schauder
Copy link
Collaborator

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
))

@drosowski
Copy link
Author

Sounds good! I would gladly contribute... if I would know how to write scala code :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants