Re: Load test dll dynamically at runtime

"Charlie Poole" <[email protected]> Mon, 25 Aug 2008 10:12:31 -0700
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <006a01c906d5$c52d4990$6401a8c0@ferrari>
Of course, I may not have understood your question, but it seems that NUnit
already does what you want.
 
The user can use File | Open to navigate to a particular assembly and open
it.
 
Dlls are closed from the menu or when loading a new one.
 
NUnit also supports loading multiple dlls.
 
If I misunderstood, please try again. :-)
 
Charlie


  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Monday, August 25, 2008 6:20 AM
To: [email protected]
Subject: [Nunit-users] Load test dll dynamically at runtime




Hi, 

I am using Nunit 2.4.7. I have many .dll files which contain a number of
test cases. I was trying to develop an application which would allow the
user to choose the .dll file whose test cases are then executed. 

I am using the Nunit GUI, which is instantiated when the application is
initialized. I was wondering if there is any option to unload the current
dll from the nunit.exe and load the new dll (selected by the user) into the
same nunit.exe? (without using the manual intervention). I specifically do
not want to close the GUI and open it again. Nor can multiple .exe files can
be invoked. 

I was playing around the idea of combining all the test cases across
multiple dlls into a single dll, but again I have no leads on how to
dynamically mask and unmask certain suite of test cases without restarting
the Nunit exe. 

Any help would be appreciated, 

Regards, 
Grishma Khandwalla

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users