在MSTest中是否存在NUnit [Test, TestCaseSource("PropertyName")]
或xUnit [Theory, PropertyData("PropertyName")]
的类似物 ?
Yes, DataSource (Attribute) is what you are looking for. https://msdn.microsoft.com/en-us/library/ms379625(v=vs.80).aspx Something similar to NUnit TestCaseSource in Visual Studio unit testing
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.