File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
tests/BenchmarkDotNet.Exporters.Plotting.Tests Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 77using System . IO ;
88using System . Linq ;
99using Xunit ;
10+ using Xunit . Abstractions ;
1011
1112namespace BenchmarkDotNet . Exporters . Plotting . Tests
1213{
13- public class ScottPlotExporterTests
14+ public class ScottPlotExporterTests ( ITestOutputHelper output )
1415 {
1516 public static TheoryData < Type > GetGroupBenchmarkTypes ( )
1617 {
@@ -32,6 +33,10 @@ public void BarPlots(Type benchmarkType)
3233 var filePaths = exporter . ExportToFiles ( summary , logger ) . ToList ( ) ;
3334 Assert . NotEmpty ( filePaths ) ;
3435 Assert . All ( filePaths , f => File . Exists ( f ) ) ;
36+
37+ foreach ( string filePath in filePaths )
38+ logger . WriteLine ( $ "* { filePath } ") ;
39+ output . WriteLine ( logger . GetLog ( ) ) ;
3540 }
3641
3742 [ SuppressMessage ( "ReSharper" , "InconsistentNaming" ) ]
@@ -233,6 +238,7 @@ public class Escape_ParamsAndArguments
233238 [ Arguments ( '\t ' ) ]
234239 [ Arguments ( '\n ' ) ]
235240 [ Benchmark ] public void Foo ( char charArg ) { }
241+
236242 [ Benchmark ] public void Bar ( ) { }
237243 }
238244 }
You can’t perform that action at this time.
0 commit comments