notify doctors work, audit work, new product advisory sprints
This commit is contained in:
@@ -9,6 +9,7 @@ using FluentAssertions;
|
||||
using StellaOps.TestKit;
|
||||
using StellaOps.TestKit.Fixtures;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
|
||||
namespace StellaOps.Scanner.WebService.Tests.Contract;
|
||||
|
||||
@@ -22,10 +23,12 @@ public sealed class ScannerOpenApiContractTests : IClassFixture<ScannerApplicati
|
||||
{
|
||||
private readonly ScannerApplicationFactory _factory;
|
||||
private readonly string _snapshotPath;
|
||||
private readonly ITestOutputHelper _output;
|
||||
|
||||
public ScannerOpenApiContractTests(ScannerApplicationFactory factory)
|
||||
public ScannerOpenApiContractTests(ScannerApplicationFactory factory, ITestOutputHelper output)
|
||||
{
|
||||
_factory = factory;
|
||||
_output = output;
|
||||
_snapshotPath = Path.Combine(AppContext.BaseDirectory, "Contract", "Expected", "scanner-openapi.json");
|
||||
}
|
||||
|
||||
@@ -79,10 +82,10 @@ public sealed class ScannerOpenApiContractTests : IClassFixture<ScannerApplicati
|
||||
// Log non-breaking changes for awareness
|
||||
if (changes.NonBreakingChanges.Count > 0)
|
||||
{
|
||||
Console.WriteLine("Non-breaking API changes detected:");
|
||||
_output.WriteLine("Non-breaking API changes detected:");
|
||||
foreach (var change in changes.NonBreakingChanges)
|
||||
{
|
||||
Console.WriteLine($" + {change}");
|
||||
_output.WriteLine($" + {change}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user