We are looking to run a large amount of data through some unit tests. We would like to define this in some sort of excel spreadsheet or XML document.
Is there away to get the unit testing framework to load this data as input and expectations.
I can foresee this having issues with exception catching. Any comments on this are appreciated as well.
nUnit fixtures are just POCO’s so you can really set it up however you like using .NET classes. Because it could be a lot of data I would probably set it up in a TestFixtureSetUp which is run once for the entire suite: