public void CanCreateGraph() { // Arrange var fixture = new Fixture(); var graphologist = new Graphologist(new MinimalTypeExclusions() { Exclude = new ExactNamespaceTypeExclusion("System") }); // Act var graph = graphologist.Graph(fixture); // Assert }
public void WriteGraphologistGraph() { // Arrange var projectPath = @"..\Graphology"; var graphName = "Graphologist"; var graphologist = new Graphologist(new MinimalTypeExclusions() { Exclude = new ExactNamespaceTypeExclusion("System") }); var target = graphologist; // Act graphologist.WriteGraph(target, projectPath, graphName); // Assert }
public void WriteGraph() { // Arrange var projectPath = @"..\Graphology.AutoFixture"; var graphName = "Fixture"; var fixture = new Fixture(); var graphologist = new Graphologist(new MinimalTypeExclusions() { Exclude = new ExactNamespaceTypeExclusion("System") }); // Act var graph = graphologist.Graph(fixture); graphologist.WriteGraph(fixture, projectPath, graphName); // Assert }
public void WriteDefaultGraphVisualizationGraph() { // Arrange var projectPath = @"..\Graphology"; var graphName = "DefaultGraphVisualization"; var graphologist = new Graphologist(new MinimalTypeExclusions() { Exclude = new ExactNamespaceTypeExclusion("System") }); // This would be the evaluation of your composition root, like an IoC container resolution. var target = new DefaultGraphVisualization(); // Act graphologist.WriteGraph(target, projectPath, graphName); // Assert }