As the message header suggests, I have an outdated database (not sure if this is important), I'm using Fluent NHibernate, and I'm trying to check my mappings using the Fluent NHincernate PersistenceSpecification class .
My question is really a process, I want to test them when I create locally in Visual Studio using the built-in module testing platform. Obviously, this implies (I think) that I will need a database. What are some features for this in the assembly? If I use a database in a database, does NHibernate or Fluent NHibernate have some mechanism for sucking the database schema from the target database, or maybe the database in the database can do this? Do I need to manually get a schema to feed into the database in memory?
Ideally, I would like to get this setting where other developers really donโt need to think about it, except when they break the build because the tests fail.
source
share