title: How can I unit test my FluentMigrator migrations?
body: <p>The general advice is I should always test my database migrations, but how to do it seems to be a well kept secret ;)</p>
  
  <p>My chosen framework is FluentMigration.</p>
  
  <p>What I think I want to do is:</p>
  
  <ol>
  <li>Migrate database to N-1.</li>
  <li>Save some data.</li>
  <li>Migrate database to N.</li>
  <li>Read data and verify it's not lost.</li>
  <li>Verify other relevant changes</li>
  </ol>
  
  <p>But I can't figure out how to run the migrations from my unit tests.</p>