title: Testing a Class Library in C#
body: <p>This is a very vague (and noob) question, but.....How would one approach testing a class library in C#?  <strong>I am using nUnit for testing.</strong></p>
  
  <p>What I am trying to do is test database interaction. The input will be a serialized XML object, deserialize it to test it against the code, then the XML object will be re-serialized and outputted. </p>
  
  <p>Hopefully, this gives some insight. I had thought about creating a test app that creates an instance of the library. Is there a different/better/more efficient approach I can take?</p>