This project is read-only.

Not found error

Aug 26, 2009 at 12:54 AM

When I follow the instructions, I get this error after codign the XML file:

Metadata file 'C:\Work\NUnit-2.5.1.9189\bin\net-2.0\nunit.framework.dll' could not be found

Aug 26, 2009 at 1:10 AM
Edited Aug 26, 2009 at 1:10 AM

Ok - figured out the path was to be specified in the QueryUnitPOC.exe.config file.  I changed it to where my nunit framework file was: C:\Program Files\NUnit 2.5.2\bin\net-2.0\framework\nunit.framework.dll

I removed the MDX test and have just one simple test:

QueryUnit>
<TestSets>
<TestSet name="DB" type="TSQL">
<Configuration>
   <DatabaseConnection>Data Source=ctedutolydvs01; Initial Catalog=ctedDW; Integrated Security=SSPI;</DatabaseConnection>
 </Configuration>
<TestFixture>
<Test name="Test1">
 <Query>SELECT COUNT(*) FROM dwCASO.FundFact</Query>
<ExpectedResults>
 <ResultSet ordinal="0" type="Decimal" assertion="AreEqual" value="138037"/>
 </ExpectedResults>
 </Test>
 </TestFixture>
 </TestSet>
 </TestSets>
 </QueryUnit>

Now when I drag the DLL that QueryUniPOC creates onto the Nunit GUI I get this error:

System.IO.FileNotFoundException: Could not load file or assembly 'nunit.framework, Version=2.5.2.9222, Culture=neutral, PulikkeyToken..xxxxxxxx or one of its dependencies.  The System cannot find the file specified.

Oct 10, 2009 at 6:43 PM

You have to put the nunit.framework in the GAC