O'Reilly logo

NHibernate 3 Beginner's Guide by Gabriel N. Schenker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – Creating the base for testing

In this exercise, we want to implement the base framework for our mapping tests.

  1. Open Visual Studio and open the OrderingSystem solution from Chapter 5.
  2. Add a second project to the solution. Choose Class Library as the project template and call the project OrderingSystem.Tests.
  3. To the OrderingSystem.Tests project, add references to the assemblies NHibernate.dll, NHibernate.ByteCode.Castle.dll, and FluentNHibernate.dll located in the lib folder.
  4. Make sure that the OrderingSystem project references the two assemblies NHibernate.dll and FluentNHibernate.dll. If not, please add these reference now.
  5. Download NUnit from http://www.nunit.org/?p=download. Only download the binaries. At the time of writing, the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required