Open mlsomers opened 9 months ago
Hi @mlsomers,
Generics are indeed not supported at the moment. Marking this as a feature request.
In the meantime, you will have to work with object
.
@Youssef1313 could you please do a quick investigation on complexity there?
Assigning myself so that I don't forget. I'll validate how much work is needed here.
Describe the bug
A test marked with the [DataTestMethod] attribute cannot have a generic parameter. It will not be recognized by the test runner.
Steps To Reproduce
Expected behavior
The test framework should invoke the method of type T with the correct type of the given argument in DataRow.
Actual behavior
The test framework ignores the whole test.
Additional context
Ran into this limitation while migrating my LsMsgPack project from NUnit to MsTest. The last 100 or so tests in MpIntTest.cs are ignored. The old tests in Nunit are working.