How to apply tests in the NSQLObjects.Tests solution?

  • Download and unzip the NSQLObjects source code as well as the NSQLObjects.Test sources from the CodePlex site.
    • The NSQLObjects.Tests directory should be located at the same directory level as the NSQLObjects_CodePlex solution.
  • Open NSQLObjects.Tests solution.
  • Deploy the NSQLObjects.TestDB project
    • As default the project uses the local SQLExpress instance
    • If you want to use any other connection, edit the appropriate fields in the Deploy tab in NSQLObjects.TestDB Properties.
  • Rebuild the solution
    • Prior to that verify the connection string in the Default.dbmodel file in the NSQLObjects.Tests project.
  • Run tests Test -> Run -> Tests in Current Context
    • Prior to that verify the connection string in the DefaultSetup.cs file in the NSQLObjects.Tests project.

Last edited Nov 11, 2010 at 9:43 AM by Rosback, version 1

Comments

No comments yet.