Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C++ dll in C# code
Message
From
12/05/2014 19:11:13
John Baird
Coatesville, Pennsylvania, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01599867
Message ID:
01599895
Views:
139
This message has been marked as a message which has helped to the initial question of the thread.
>>>So, should I ask developer for PDB files or what should I do in order to debug the code using tests ?
>>
>>
>>Mock the dll....
>
>What exactly do you mean? Also, I do need the actual output of the Invoke1 call in order to proceed with the test.


I'm not going to write the code for you, but you can mock outside depencies for testing purposes. You eliminate classes outside of your control and feed the "mock" data to your test engine. I don't think you understand what "testing" really means. Here's the link: http://nmock.sourceforge.net/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform