aurbroszniowski / Rainfall-core

Rainfall is an extensible java framework to implement custom DSL based stress and performance tests
Apache License 2.0
11 stars 16 forks source link

Add a NoOpReporter, for scenarios where we don't want any reporting #34

Closed squirrelala closed 9 years ago

squirrelala commented 9 years ago

e.g. loading data for the actual read-write test Also, should we build this functionality into ScenarioRun, so that if a ReportingConfig is not specified, we automatically fall back to this instead of throwing NPE?

aurbroszniowski commented 9 years ago

If you don't call the log() method it will not output the results: e.g. ReportingConfig reportingConfig = ReportingConfig.report(EhcacheResult.class);

squirrelala commented 9 years ago

ah ok I see; I had tried to not create a config at all and then got into the NPE so went down this route but didn't realize there was this option