Reputation: 8815
I am having problem loading the testdata.xml into ndbunit, I followed http://code.google.com/p/ndbunit/wiki/QuickStartGuide, but the test data is not loaded when I run my unit test in NUnit.
Is there any gotcha that I am not aware of ?
Upvotes: 1
Views: 359
Reputation: 51
I had the same problem. Then I noticed that my xml file did not have the namespace in it i.e.
<?xml version="1.0" standalone="yes"?>
<NewDataSet>
instead of
<?xml version="1.0" standalone="yes"?>
<NewDataSet
xmlns="http://tempuri.org/Database.xsd" >
Once I put the namespace in, my tests were happy again.
Upvotes: 1