I did not test the new version of Linq tests, but the function CreateNorthwindData with thousands lines of code seems to make visual studio crawl and consume great amount of memory just to enter the function. I spitted the function in many parts and the code run much faster, 5 times or more. I think you could remove the data from C# code and transfer to a xml file and read the data from a file.
On Jun 18, 1:39 am, Fabio Maulo <[email protected]> wrote: > Hi all. > I have refactorized the tests of Linq provider to fill DB before the first > fixture and drop it after the last fixture > NUnit featurehttp://www.nunit.org/index.php?p=setupFixture&r=2.5.5 > > <http://www.nunit.org/index.php?p=setupFixture&r=2.5.5>With NUnit2.5+ > testrunner the old tests crash (confirmed with Richard). > > To run Linq provider integration test for others dialect we have to have 2 > files per dialect: > <dialect-name>LinqReadonlyCreateScript.sql > <dialect-name>DialectLinqReadonlyDropScript.sql > > So far available only for MsSql2008Dialect. > > I'm going to update NUnit of our nhibernate\Tools\nunit to the last version. > > -- > Fabio Maulo
