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 7
7
using System . IO ;
8
8
using System . Linq ;
9
9
using Xunit ;
10
+ using Xunit . Abstractions ;
10
11
11
12
namespace BenchmarkDotNet . Exporters . Plotting . Tests
12
13
{
13
- public class ScottPlotExporterTests
14
+ public class ScottPlotExporterTests ( ITestOutputHelper output )
14
15
{
15
16
public static TheoryData < Type > GetGroupBenchmarkTypes ( )
16
17
{
@@ -32,6 +33,10 @@ public void BarPlots(Type benchmarkType)
32
33
var filePaths = exporter . ExportToFiles ( summary , logger ) . ToList ( ) ;
33
34
Assert . NotEmpty ( filePaths ) ;
34
35
Assert . All ( filePaths , f => File . Exists ( f ) ) ;
36
+
37
+ foreach ( string filePath in filePaths )
38
+ logger . WriteLine ( $ "* { filePath } ") ;
39
+ output . WriteLine ( logger . GetLog ( ) ) ;
35
40
}
36
41
37
42
[ SuppressMessage ( "ReSharper" , "InconsistentNaming" ) ]
@@ -233,6 +238,7 @@ public class Escape_ParamsAndArguments
233
238
[ Arguments ( '\t ' ) ]
234
239
[ Arguments ( '\n ' ) ]
235
240
[ Benchmark ] public void Foo ( char charArg ) { }
241
+
236
242
[ Benchmark ] public void Bar ( ) { }
237
243
}
238
244
}
You can’t perform that action at this time.
0 commit comments