Skip to content

Commit

Permalink
reduce flaky (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Nov 20, 2024
1 parent cb40e4a commit e5fc156
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace Reqnroll.VisualStudio.Tests.Diagnostics;

public class LoggingTests
{
[Theory]
[SkippableTheory(Skip = "Flaky, see https://github.com/reqnroll/Reqnroll.VisualStudio/issues/40 @quarantine")]
[InlineData(TraceLevel.Verbose)]
[InlineData(TraceLevel.Info)]
[InlineData(TraceLevel.Warning)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public async Task Warn_if_steps_have_been_defined_already()
Invoke(command, textView);

WarningMessages().Should()
.ContainSingle("All steps have been defined in this file already.");
.Contain(s => s.Contains("All steps have been defined in this file already."));
}

[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Xunit.SkippableFact" Version="1.4.13" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit e5fc156

Please sign in to comment.