Unit tests using NUnit & Devart's LINQ to SQL ?
Posted: Thu 18 Feb 2010 19:19
Hiya, I'm currently having some fun with one of the trials for MySQL's dotConnect versions.
[C#]
I've created an assembly which is supposed to perform IO operations on an MySQL database using devart's linq to sql model, and a separate assembly to host unit tests using NUnit.
I've referenced assembly #1 in NUnit's assembly, created some basic tests for IO operations - and got a lot of failures. apparently there's an exception being thrown saying :
"Connection string \"DataContextConnectionString\" could not be found in the configuration file."
I'd apreciate some advice how to solve this, as this is getting increasingly frustrating.
[C#]
I've created an assembly which is supposed to perform IO operations on an MySQL database using devart's linq to sql model, and a separate assembly to host unit tests using NUnit.
I've referenced assembly #1 in NUnit's assembly, created some basic tests for IO operations - and got a lot of failures. apparently there's an exception being thrown saying :
"Connection string \"DataContextConnectionString\" could not be found in the configuration file."
I'd apreciate some advice how to solve this, as this is getting increasingly frustrating.