Skip to content

Commit

Permalink
fix: Exclude Xunit test from database tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HofmeisterAn committed Sep 18, 2024
1 parent 4f8394f commit 3eb96b5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public static TheoryData<Type> GetContainerImplementations(bool expectDataProvid
var theoryData = new TheoryData<Type>();

var testAssemblies = Directory.GetFiles(".", "Testcontainers.*.Tests.dll", SearchOption.TopDirectoryOnly)
.Where(fileName => !fileName.Contains("Testcontainers.Xunit.Tests"))
.Select(Path.GetFullPath)
.Select(Assembly.LoadFrom)
.ToDictionary(assembly => assembly, assembly => assembly.GetReferencedAssemblies()
Expand Down

0 comments on commit 3eb96b5

Please sign in to comment.