Marnee Dearman (KG7SIO)

F# and xUnit Class Fixtures

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 . . .

Read More

January 22, 2017


Cover image credit:,0090,1,1,0,0,1