Closed lkurzyniec closed 4 years ago
Hi @lkurzyniec , I think that you can specify an empty array WithReportFormats(). I will consider adding extension WithoutReports().
Unfortunately, it doesn't work. I have tried both .WithReportFormats()
and .WithReportFormats(new ReportFormat[0])
, but still NBomber produce reports.
Here is my code: https://github.com/lkurzyniec/netcore-boilerplate/blob/master/test/HappyCode.NetCoreBoilerplate.Api.LoadTests/LoadTestsBase.cs
Of course, during tests I added WithReportFormats()
, like:
var stats = NBomberRunner.RegisterScenarios(new[] { scenario })
.WithReportFormats(new ReportFormat[0])
.RunTest();
Is there a way to disable reports generation?
Enum
ReportFormat
do not containNone
. There is no method likeWithoutReports()
.