Running tests in X509Certificates.Tests gives a few test warnings, I think uncovered when #35285 was merged:
[xUnit.net 00:00:00.72] System.Security.Cryptography.X509Certificates.Tests: Non-serializable data ('System.Object[]') found for 'System.Security.Cryptography.X509Certificates.Test
s.X500DistinguishedNameEncodingTests.EncodeSingleRdn'; falling back to single test case.
[xUnit.net 00:00:00.72] System.Security.Cryptography.X509Certificates.Tests: Non-serializable data ('System.Object[]') found for 'System.Security.Cryptography.X509Certificates.Test
s.X500DistinguishedNameEncodingTests.EncodeWithFlags'; falling back to single test case.
[xUnit.net 00:00:00.72] System.Security.Cryptography.X509Certificates.Tests: Non-serializable data ('System.Object[]') found for 'System.Security.Cryptography.X509Certificates.Test
s.X500DistinguishedNameEncodingTests.CheckParserBoundaryCases'; falling back to single test case.
[xUnit.net 00:00:00.80] System.Security.Cryptography.X509Certificates.Tests: Non-serializable data ('System.Object[]') found for 'System.Security.Cryptography.X509Certificates.Test
s.CertificateCreation.ECDsaX509SignatureGeneratorTests.PublicKeyEncoding'; falling back to single test case.
This leads me to believe that there are theories which, when MemberData returns nonserializable data.
What is the impact of this? Does this mean only a single test case is being run and coverage isn't happening, or does it mean that it "looks" like a single test but is actually running all of the cases?
/cc @ViktorHofer
Running tests in
X509Certificates.Testsgives a few test warnings, I think uncovered when #35285 was merged:This leads me to believe that there are theories which, when
MemberDatareturns nonserializable data.What is the impact of this? Does this mean only a single test case is being run and coverage isn't happening, or does it mean that it "looks" like a single test but is actually running all of the cases?
/cc @ViktorHofer