NUnit TestCase with Generics

后端 未结 9 849
梦毁少年i
梦毁少年i 2021-01-31 13:53

Is there any way to pass generic types using a TestCase to a test in NUnit?

This is what I would like to do but the syntax is not correct...

<         


        
9条回答
  •  心在旅途
    2021-01-31 14:29

    I have written my own TestCaseGenericAttribute and TestCaseGenericSourceAttribute. https://github.com/nunit/nunit/issues/3580

提交回复
热议问题