Over the last few years I’ve been working on AuthorizationHub, and I’ve really become a convert of using integration tests to validate that my code works properly. It’s a unique project because the software supports multiple databases, and obviously I’m keen on implementing authorization correctly.
All the time spent continuously improving those tests has led me to a pretty good understanding of how to setup integration tests, write short simple tests, and get the most out of them.
Last night I had the pleasure of talking with the folks at the Wisconsin .Net Users Group, about integration tests. There was plenty of great discourse, which I think is really one of the hallmarks of a good user group. If you get a chance to attend their meetings, please do. They are wonderful, kind and engaged.
Here is a link to the demo project here if you care to peruse.