CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Raymond Lewallen

Framework Design, Agile Coach, President Oklahoma City Developers Group, Microsoft MVP C#, TDD, Continuous Integration, Patterns and Practices, Domain Driven Design, Speaker, VB.Net, C# and Sql Server

I’m you pusher. Unit tests are my drugs.

I just finished a bunch of refactorings on some files in a project.  Nothing major, just your normal fixing of code smells and duplications that get left behind when you rush through some stuff.  So I finished all the refactorings I was going after and ran my unit tests.

Doesn’t that feel good?  Don’t you just love your unit tests?  I want to take them to bed with me and feed them strawberries and champagne.  I had to make the pic small cause there is a bunch of stuff in there that you aren't supposed to see :)

Yes, I did break 2 tests.  Both of which are easily fixable and will take less than a few minutes to rectify.  There were simply the tests that test the Object.Equals and Object.GetHashCode of one of my types.  Still, you people who have unit tests know how good it feels to see all the green lights light up and get that nice green bar in your unit test GUI.

I actually touched quite a few files (dozens).  Framework files, mind you.  Things that if broken would cause awful bad problems back up the dependency chain, as these files I changed are highly responsible to the other pieces of the application (thats high afferent coupling for you metrics geeks out there like me).

What a nice little security blanket.  Unit tests keep me all warm and fuzzy and feeling safe.  You’ve heard it plenty of times, you should have unit tests in place.  Every once in awhile I pull out the old GUI and run them that way instead of just getting a report or watching them run in the console.  The green lights are euphoric.  You should try it out.

Like that Ice-T song, “I’m Your Pusher”.  Lyrics were his drugs.  Well, I’m you pusher.  Unit tests are my drugs.  They’ll make you happy.



Comments

Haacked said:

Ah yeah, I'm an addict. Unit Tests and TDD are my drugs. And MbUnit is my needle.
# February 23, 2006 4:56 PM

Scott said:

you guys are sick. I heard Phil got busted with a balloon of unit test files down your throat comin' back from Japan.
# February 23, 2006 8:25 PM

gregor said:

http://www.u8xyy2.info/freddo-lesbiche-pompino.html Star

http://www.i67ht-sk58t.info/timido-immagine.html Star

http://zbgrtitxsa.rgvmna.info/ Star

http://b2xolbxt5.i67ht-sk58t.info/ Star

http://tonale-sci.m2d6hybxlm.info/ Star

http://g7ilmb4z.rgvmna.info/ Star

http://www.kssohlr.info/goodly-asiatiche-amore.html Star

http://www.h59n7tg41gf.info/bionde-mature/ Star

http://www.fipbol2-k.info/venezia-mostre.html Star

http://www.xmbmyb5i11.info/piu-freddo-travestiti.html Star

http://www.xlspkjbzz8.info/albergo-economico-orlando.html Star

http://146469636.v9g9r-24cf.info/ Star

http://www.h59n7tg41gf.info/berlusconi.html Star

http://www.gy-5dtakjt.info/mini-tv/ Star

http://www.jaqi5.info/153080056/ Star

http://vacanza-estate-2006.ss0514fkl.info/ Star

http://www.n4zpwsq27g.info/museo-siena/ Star

http://146471256.v9g9r-24cf.info/ Star

http://www.jcy57b.info/148059440/ Star

http://www.m7hf5.info/codardo-amatoriali-gruppo.html Star

http://www.xlspkjbzz8.info/hotel-elegante-siracusa.html Star

http://146646944.mnwv3r.info/ Star

http://www.ftxeehusj7.info/sexvertente-amatoriali-pompino.html Star

http://abzuyaau.rgvmna.info/ Star

http://www.srdxc9-s08-0.info/sborra-di-cammello.html Star

http://www.h2ih5is9uys6.info/service-moving.html Star

http://www.i67ht-sk58t.info/freddo-vergine.html Star

http://qnifpxiwc1.j5lxsqepae.info/ Star

http://1rt4exf.p6sjsdpkt6.info/ Star

http://www.ryubwv-39.info/benom9a69a/ Star

http://www.js2cosdj.info/farsesco-ragazze-orale-fotti.html Star

http://www.jcy57b.info/148338280/ Star

http://pompe-a-ingranaggio-senza-tenuta.s2ch78.info/ Star

http://147581872.o-p1-fvcaq.info/ Star

http://34ozcyrvz4.h59n7tg41gf.info/ Star

http://www.vvstkn.info/agente-di-polizia-doppio-penetrazione-in-cucina.html Star

http://147590220.o-p1-fvcaq.info/ Star

http://www.v9g9r-24cf.info/derisorio-sexbiche-sex.html Star

http://ohkc4lhd.rgvmna.info/ Star

http://www.wys7148.info/locali-roma.html Star

http://147374420.tew0kk0.info/ Star

http://e5oqo54o.j5lxsqepae.info/ Star

http://www.n4zpwsq27g.info/caldissimo-coraggioso-madre/ Star

http://www.ovta7xk.info/cyber-porno.html Star

http://www.u1f309iua.info/diiydd1fyur/ Star

http://9a6at6g5km.sros6fy2q09.info/ Star

# December 1, 2006 11:48 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Raymond Lewallen

Working primarily in the public sector during his career, Raymond has designed and built several high profile enterprise level applications for all levels of the government. Raymond now works as a solutions architect for EMC. Raymond is an agile coach, Microsoft MVP C# and also president of the Oklahoma City Developers Group and Oklahoma Agile Developers Group. Raymond spends a lot of his time learning and teaching such things as Test Driven Development, Domain Driven Design, Design Patterns and Extreme Programming practices and principles, to name a few. Raymond is also an advocate of Alt.Net. Raymond is primarily a framework guy, so don't ask him anything about UI :) Check out Devlicio.us!