Akce
Připravované akce
Starší akce
Uživatelé
Vytvořit uživatele
Zapomenuté heslo
Partnerské weby
Altairis
Video archiv
ASPNET.CZ
.NET Group
Nepřihlášený uživatel
Přihlásit se heslem
Vytvořit nový účet
Zapomenuté heslo
Reklama
Mock-n-roll (an overview of mocking frameworks available for .NET)
Datum:
11.11.2009 18:00 - 19:30
vložit do Outlooku...
Místo:
Praha - Microsoft
podrobnější informace...
Pořadatel:
Microsoft
Přednášející:
Andrew Kazyrevich
Vstup:
je nutno se předem registrovat
Stav:
akce již proběhla
Mock-n-roll (an overview of mocking frameworks available for .NET)
Unit testing means verifying a piece of code in isolation. If the code you test communicates with a dozen of other components, you need to isolate them all - otherwise the test may get slower and a failure may not necessarily reveal a bug in
your
code.
That's where mocking comes to rescue. With it, you can easily imitate any interactions, return the data you want, throw exceptions you want, etc. You can test scenarios that are difficult even to reproduce in real life.
However, with at least five decent mocking frameworks on .NET, choice becomes a challenge.
This presentation will give you some ideas if you haven't yet decided which mocking framework to use. Or, if you already use one, it would be an opportunity to look at other interesting options.