Startup and teardown test modules
Why am I doing this?
I use a combination of F#, xUnit, and FsUnit to do my unit testing on .NET. I want to run a database setup script at the start of some test modules. In this case, according to the xUnit documentation, I need to use IClassFixture (or ICollectionFixture). I recently wanted to figure out how to make this happen in my unit . . .
Cover image credit: http://sciencevsmagic.net/fractal/#0060,0090,1,1,0,0,1