Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to disable test expansion on implementations of ITestDataSource #4269

Merged
merged 15 commits into from
Dec 11, 2024
Prev Previous commit
Next Next commit
Fix some tests
Evangelink committed Dec 10, 2024
commit a200d84f47033ce1725707a839021a975f30f14a
Original file line number Diff line number Diff line change
@@ -393,6 +393,12 @@ private static Mock<TestableAssembly> CreateMockTestableAssembly()
true))
.Returns(Array.Empty<Attribute>());

mockAssembly
.Setup(a => a.GetCustomAttributes(
typeof(TestDataSourceOptionsAttribute),
true))
.Returns(Array.Empty<Attribute>());

mockAssembly
.Setup(a => a.GetCustomAttributes(
#pragma warning disable CS0618 // Type or member is obsolete