views:

39

answers:

1

I discovered [Theory] and [Datapoint] attributes in NUnit. I am not very sure about how should I use these. I think they can be used for data-driven testing and this has got me interested. There aren't many resources available on the same. Can someone explain to me how to use them or point me to resources? Thanks.

A: 

Have you looked at the online NUnit docs? There's an example here that shows you how you can use the [Theory] and [Datapoint] attributes:

http://www.nunit.org/index.php?p=theory&r=2.5.3

Paddyslacker