protected TestLogger( IFileSystem fileSystem, IConsoleOutput consoleOutput, ITestResultStore resultStore, ITestResultSerializer resultSerializer) { this.fileSystem = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem)); this.consoleOutput = consoleOutput ?? throw new ArgumentNullException(nameof(consoleOutput)); this.resultStore = resultStore ?? throw new ArgumentNullException(nameof(resultStore)); this.resultSerializer = resultSerializer ?? throw new ArgumentNullException(nameof(resultSerializer)); }
public ITestRunBuilder WithSerializer(ITestResultSerializer serializer) { this.testRun.Serializer = serializer ?? throw new ArgumentNullException(nameof(serializer)); return(this); }
protected TestLogger(ITestResultSerializer resultSerializer) : this(new FileSystem(), new ConsoleOutput(), new TestResultStore(), resultSerializer) { }
public ValidTestLogger(ITestResultSerializer serializer) : base(serializer) { }