Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C++ dll in C# code
Message
 
 
To
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:
01599899
Views:
124
>>>>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/

The developer of that C++ library is having the same problem as me. He can only debug in Visual Studio 2010 and in 2012 he is getting the same error. So, for now I don't have another choice than to mock that part.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform