• 0
  • 4
  • 0

Unit testing .net cf 3.5

Jul 22 2009 7:59 AM
I would like to test a method, who is save data to an SQLite database....
when i try to run the unit test i got a

Failed    xxx xxx    Test method xxxTest.HashDataSetTest.saveTest threw exception:  System.MissingMethodException: File or assembly name 'System.Data.SQLite, Version=, Culture=neutral, PublicKeyToken=1FDB50B1B62B4C84', or one of its dependencies, was not found..   

So basicly i have a more level deep application, and i would like to make a test in a level, but that level use other underlevels.... so, i would like to save a complex data into database, i call the complex data save method, who inicialise a SQLite connection and store the data to a table(in normal cases) but in the unit test i got that error....

i use VS2008 and .net cf 3.5 with windows mobile 5.0 and the vs2008 inbuild unit test....
how can i resolve that error message ? i tried to add SQLite as reference to the test project....
thx for the answer