views:

40

answers:

2

Hi

I want to grab the .dll from a mobile phone application I am making since I want to add it to my nunit so I can write & test my application. Yet I don't see any .dll in the bin folder. How do I unit test it?

A: 

If you are compiling an application (EXE) then no, there is no DLL. If you want a DLL, you have to create a DLL project.

ctacke
I see. So what do I do if I want to unit test my phone application then?
chobo2
I'm not certain about nunit, but since managed assemblies are all loadable via reflection then it should be able to load and test the methods just like it does with DLLs. That's how mstest works. If that doesn't work, break the logic into a DLL that you can test.
ctacke
A: 

NUnit should be able to look at the EXE and run tests against that exe.

McKay