vendredi 7 août 2015

xunit test Fact multiple times

I have some methods that rely on some random calculations to make a suggestion and I need to run the Fact several times to make sure is ok.

I could include a for loop inside the fact i want to test but because there are several test where I want to do this I was lookup for a cleaner approach, something like this Repeat attribute in junit: http://ift.tt/1IRRI4y

Can I easily implement something like this in xunit?




Aucun commentaire:

Enregistrer un commentaire