A C# solution has thousands of test methods which use randomization to create random inputs to the methods being tested.
-
I would like to run the test methods which have a string in the middle of the test methods' names. There are hundreds of them.
-
I also would like to run them a large number of times, e.g. 100 times, so that the randomization can cover the input space well and failure of any test method will have a better chance to be discovered.
But doing that in the Text Explorer window of visual Studio 2015 by mouse clicking and waiting seems very tedious and inefficient. How can i automate that as much as possible? Is it possible to run the test methods in interest a specific number of times and get the info of which method fails in command line?
Thanks.
Aucun commentaire:
Enregistrer un commentaire