Dynamically create tests in NUnit

后端 未结 4 1115
被撕碎了的回忆
被撕碎了的回忆 2021-02-02 07:27

Using Nunit, I want to be able to write a test fixture that will read all the filenames in a particular directory and create a test for each file.

I could quite easily w

4条回答
  •  情歌与酒
    2021-02-02 08:00

    I know this is a little obscure but I have used a script in the past to generate code for me which I can then execute as individual test cases.

提交回复
热议问题