Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C++ dll in C# code
Message
De
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:
01599895
Vues:
141
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/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform