How to use combinations of sets as test data

前端 未结 5 1347
陌清茗
陌清茗 2020-12-05 13:45

I would like to test a function with a tuple from a set of fringe cases and normal values. For example, while testing a function which returns true whenever giv

5条回答
  •  萌比男神i
    2020-12-05 14:23

    I think you can do this with the Row Test Attribute (available in MbUnit and later versions of NUnit) where you could specify several sets to populate one unit test.

提交回复
热议问题