<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-23470706.post4190396402295385539..comments</id><updated>2012-01-24T18:05:36.392-08:00</updated><category term='Crystal Reports'/><category term='NMock'/><category term='Windows Authentication'/><category term='redis'/><category term='Podcast'/><category term='.Net'/><category term='Moq'/><category term='AltNet5'/><category term='RubyOnRails'/><category term='TestsEx'/><category term='ASP.NET MVC'/><category term='ASP.NET'/><category term='Coca-Cola'/><category term='MongoDB'/><category term='MEF'/><category term='TDD'/><category term='Cucumber'/><category term='BDD'/><category term='DBX4'/><category term='e-mail'/><category term='Delphi'/><category term='Unity'/><category term='Visual Basic'/><category term='Refactorización'/><category term='Office 2007'/><category term='IBExpert'/><category term='Cdf'/><category term='LinqToSql'/><category term='TJNET'/><category term='NUnit'/><category term='Trabajo'/><category term='jQuery'/><category term='personal'/><category term='IoC'/><category term='OpenXML'/><category term='Unit Test'/><category term='QUnit'/><category term='Sql Server'/><category term='programacion'/><category term='MVP'/><category term='XML'/><category term='Munq'/><category term='dev3cast'/><category term='NetBeans'/><category term='Web 2.0'/><category term='C#'/><category term='CodeGear'/><category term='FluentValidation'/><category term='moking'/><category term='NuGet'/><category term='Ruby'/><category term='teclado'/><category term='Database'/><category term='Linq'/><category term='razor'/><category term='OpenOffice.org'/><category term='NancyFx'/><category term='XML Literals'/><category term='Firebird'/><category term='JavaScript'/><category term='magmarails'/><category term='C++ Builder'/><category term='base de datos'/><category term='Database Mail'/><title type='text'>Comments on Mario H. Cornejo: Probando sin mocking framework</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.developeando.com/feeds/4190396402295385539/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23470706/4190396402295385539/comments/default'/><link rel='alternate' type='text/html' href='http://www.developeando.com/2012/01/probando-sin-mocking-framework.html'/><author><name>Mario Cornejo</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-oBZqmGRDwak/TWIPkQuMwuI/AAAAAAAAAOk/4gcu3V58etA/s220/69341_1389519672571_1669494616_885056_6723990_n.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-23470706.post-1373568585541523119</id><published>2012-01-24T18:05:36.392-08:00</published><updated>2012-01-24T18:05:36.392-08:00</updated><title type='text'>Muy bien! Me parece lo mejor usar la menos cantida...</title><content type='html'>Muy bien! Me parece lo mejor usar la menos cantidad de herramientas posibles.&lt;br /&gt;&lt;br /&gt;Otra cosa, a veces utilizo las dependencias reales en mis tests, no los llamo de integración para mi son todas especificaciones, si en algunas necesito uso stubs, y en otras puedo usar hasta la bd...&lt;br /&gt;&lt;br /&gt;Por otro lado a mi me gusta mas TDD top-down la mayoría de las veces. Por lo tanto al principio de un proyecto no empiezo escribiendo un test de un controller con un mock de un query object... Por que el query object lo hago nacer despues con algún refactoring, entonces es probable que empieze usando la bd o alguna cosa externa. Con esto quiero decir que al principio necesito menos mocks/stubs.&lt;br /&gt;&lt;br /&gt;Y lo ultimo, utilizo muchos mas stubs que mocks. Solo podría usar un mock cuando el sistema bajo test es un Command (CQS). Por ejemplo necesito verificar que si el usuario contesta NO a un message box que pide confirmación para eliminar algo, realmente no se elimine.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23470706/4190396402295385539/comments/default/1373568585541523119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23470706/4190396402295385539/comments/default/1373568585541523119'/><link rel='alternate' type='text/html' href='http://www.developeando.com/2012/01/probando-sin-mocking-framework.html?showComment=1327457136392#c1373568585541523119' title=''/><author><name>José</name><uri>http://www.blogger.com/profile/00939999997597980426</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_rSoz3n_P560/SsCm-hGm5pI/AAAAAAAAAGU/D9v6ADdtd2g/S220/57ac07650c741a53f8dec8d8f67e074a.jpeg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.developeando.com/2012/01/probando-sin-mocking-framework.html' ref='tag:blogger.com,1999:blog-23470706.post-4190396402295385539' source='http://www.blogger.com/feeds/23470706/posts/default/4190396402295385539' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1118708859'/></entry></feed>
