Any test cases should write output to target/ instead of src/test that way it's ignored by git. The only thing that really is writing output is the GeneralTestCase under DirectedGraph which is a just a visual respresentation of the graph in the .dot form.