Search   

Sunday, February 05, 2012

Support » Support Forum

Register  Login

 Menu  
 
    

 Welcome!  
 


Welcome to the NDO support forum!

kreis.gif Please register/login at the site if you want to post a thread. We sometimes copy support mails of common interest to the forum. They appear with anonymous sender.
kreis.gif Please post your messages in English language if possible. You can do your posts also in German, we will translate your post and our answer so that all users of the forum can read your posts.
kreis.gif The forum software requires that javascript is enabled.
kreis.gif Please do not insert licence information or licence keys in forum posts.
kreis.gif If you know a good answer to a post of another user, feel free to reply!
kreis.gif The forum is monitored. We reserve the right to remove posts we consider not to be useful for other forum users.

   Print   

      
 NDO Support Forum  
 
SearchForum Home
  NDO-Forum postings in english please, if possible.  Developing with NDO  NUnit...
 NUnit
 
 3/21/2007 9:09:50 AM
mig
9 posts


NUnit
Hallo, I am trying to create Unit Tests for my BL-Classes. Therefore it is neccessary to set the path of the mappingfile. But in my NDO.DLL(1.2.0.0, 18.1.2007) there is definitely no PersistenceManager constructor with a parameter! Do you have any idea where it's gone???

Greetings Michael
 3/23/2007 9:27:51 AM
Mirko
109 posts
5th


Re: NUnit
 Modified By Mirko  on 3/23/2007 10:33:57 AM)

Hi Michael,

you run into a limitation of the NDO Standard Edition. Sorry, the documentation is not clear enough in that point. It says, that only the professional and enterprise editions can manage more than one mapping file. It should state, that the constructor doesn't exist in NDO standard edition. BTW we'll provide this constructor in future versions.

What can you do now? NDO searches for the mapping file in the directory of your application. But all test runners for NUnit make shadow copies of the assemblies so that NDO isn't able to determine this directory. The solution is to write an own test runner application, not using shadow copies. It's easy, because the source code resides in our download section. Just download this file.

Regards:
Mirko

 6/4/2007 12:36:09 PM
haiderle
3 posts


Re: NUnit

I ran in the same problem, using MbUnit. And fortunately there is another solution to do the testing. Running the test using TestRunner works fine.

Just a hint for all who love testing (like me)

Claudia

  NDO-Forum postings in english please, if possible.  Developing with NDO  NUnit...
  SearchSearch  Forum HomeForum Home