I was just reviewing the tests in the NHibernate.Tests.Linq namespace.
Actually I wanted to add a couple of tests related to NH-2416, but I
found that the Northwind domain model that the Linq tests use is
really rather basic. I couldn't find a Dictionary mapping, or even an
existing collection mapping that would make sense as a Dictionary
mapping, except by adding new entities of my own. Is the intention to
keep the Northwind domain model unchanged, or was it just used as a
starting point?

I could add my tests to the Linq namespace as a new fixture that
inherits from TestCase, but this would seem to break the current
convention of Linq tests inheriting from LinqTestCase.

The domain model in NHibernate.DomainModel is much richer/complex and
more appropriate for testing trickier issues, so wouldn't this have
been a better choice?

Also, I don't want to put all Linq tests into the NHSpecificTest
namespace if they test common use-cases. IMO NHSpecificTests should be
reserved mainly for unusual edge-case scenarios.

Reply via email to