Controlling execution order of unit tests in Visual Studio

前端 未结 9 1825
情歌与酒
情歌与酒 2020-11-27 15:44

Okay, I\'m done searching for good information on this. I have a series of Unit Tests that call a static class which, once initialized, sets properties that cannot (or I don

9条回答
  •  心在旅途
    2020-11-27 16:21

    You can Use Playlist

    Right click on the test method -> Add to playlist -> New playlist

    the execution order will be as you add them to the playlist but if you want to change it you have the file

    enter image description here

提交回复
热议问题