diff --git a/Directory.Packages.props b/Directory.Packages.props index 8881283..f28d845 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,23 +1,20 @@ - - true - false - - - - - - - - - - - - - - - - - - - + + true + false + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/TestLogger/TestReporter.cs b/src/TestLogger/TestReporter.cs index 8c1d551..b1778f4 100644 --- a/src/TestLogger/TestReporter.cs +++ b/src/TestLogger/TestReporter.cs @@ -87,14 +87,14 @@ public Task IsEnabledAsync() return Task.FromResult(isEnabled); } - public Task OnTestSessionStartingAsync(SessionUid sessionUid, CancellationToken cancellationToken) + public Task OnTestSessionStartingAsync(ITestSessionContext testSessionContext) { var assembly = Assembly.GetEntryAssembly(); ((TestRun)this.testRun).RunConfiguration = this.testRun.Start(assembly.Location, assembly.GetCustomAttribute()?.FrameworkName ?? "unknown-targetframework"); return Task.CompletedTask; } - public Task OnTestSessionFinishingAsync(SessionUid sessionUid, CancellationToken cancellationToken) + public Task OnTestSessionFinishingAsync(ITestSessionContext testSessionContext) { this.testRun.Complete(this.testAttachmentInfos); return Task.CompletedTask;