Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C++ dll in C# code
Message
 
 
À
12/05/2014 19:11:13
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01599867
Message ID:
01599899
Vues:
125
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform