DevPinoy.org
A Filipino Developers Community
All Tags » DotNET » TDD (RSS)

>>> First two to make 3 wins! <<<

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • TDD Step by Step, Part 2: The Database

    Welcome to part two of our series on building a Windows application using test-driven development (TDD). In the previous article we drove the design of our entity classes and data access layer by means of unit tests. The unit tests acted more as specifications for the system rather than tests, since...
    Posted to cruizer by cruizer on 11-23-2008
    Filed under: Filed under: , , , , , , , ,
  • TDD Step by Step, Part 1

    In a hot discussion thread in msforums.ph about the value of unit testing and adopting test-driven development (TDD), a suggestion was made to illustrate how TDD is used in creating a simple application, specifically Keith's October code challenge . In response to that, I've decided to write...
    Posted to cruizer by cruizer on 11-23-2008
    Filed under: Filed under: , , , , , ,
  • JP Hamilton on testing WinForms

    JP Hamilton has posted a brief blog post on how he unit tests WinForms . Looks nifty, especially if you use a pattern like Model-View-Presenter for your forms. His rationale is that if you keep on testing only the presenter and mocking out the view in your unit tests, your forms code still gets zero...
    Posted to cruizer by cruizer on 05-29-2008
    Filed under: Filed under: , , ,
  • Microsoft's Updated "Guidelines for Test-Driven Development"

    The previous incarnation of that Microsoft article was heavily panned by critics and in a rare move, Microsoft actually pulled it out of its developer web site. I didn't realise it but Microsoft actually replaced it with one written by Jeffrey Palermo -- http://msdn2.microsoft.com/en-us/library/aa730844...
    Posted to cruizer by cruizer on 12-23-2007
    Filed under: Filed under: , , , ,
  • Weighing in on pipelined continuous integration (CI)

    This InfoQ link on pipelined CI got my attention because it was something that I can relate to. The project we're working on used to build on our CruiseControl.NET build server in only three minutes; now it's taking more than 18 minutes to complete. And it's a dual-core 2 GB machine at that...
    Posted to cruizer by cruizer on 09-30-2007
    Filed under: Filed under: , , , ,
  • Test-First Demo: Developing a User Login Facility, part 1

    OK, so now it's time to "walk the talk." I'll be demo-ing here how to develop a user login facility test first -- how you can begin a test, then code your class to pass that test. Then we'll add one feature or behavior at a time until we completely fulfill the specifications or requirements. Hopefully...
    Posted to cruizer by cruizer on 04-02-2007
    Filed under: Filed under: , , , , ,
  • A test-first demo on the web

    While I was mulling over what to demo for test-first development here in this blog, I chanced upon this CodeProject article . What do you think about this? Actually the same problem was the one I demoed in my previous MSDN Connection events for Microsoft Philippines some months back. I've gotten tired...
    Posted to cruizer by cruizer on 03-28-2007
    Filed under: Filed under: , ,
  • Keeping code close to the data -- how I love refactoring

    I've been doing too much OOP that I've "forgotten" already what makes it different from procedural programming. It was funny when my up-and-coming employer asked me that question during my job interview. :) I kept on saying other things but eventually the interviewer told me that the answer he was waiting...
    Posted to cruizer by cruizer on 12-07-2006
    Filed under: Filed under: , , ,
  • Testing against the database

    In our company we're currently porting a site from old ASP Classic to ASP.NET 2.0. It's virtually a total overhaul, as we're embracing an object-oriented design that we believe will enable us to scale and maintain the application better. I just noticed that it's kinda hard to do test-driven development...
    Posted to cruizer by cruizer on 10-12-2006
    Filed under: Filed under: , , ,
  • Sample NMock code

    Okay, I'm posting here my sample code that uses NMock to dynamically create mock objects from interface declarations. It's a very simple system that provides a ForexConverter class. This ForexConverter class performs conversion of money from one currency to another and defers the retrieval of the exchange...
    Posted to cruizer by cruizer on 09-15-2006
    Filed under: Filed under: ,
  • Makes me cringe...

    It makes me cringe to think that I used to espouse a write-code-first-test-them-later approach that I mistakenly called "TDD." Ugh . (see the latter part of the post ) I haven't been doing MonoRail lately too. Maybe because MonoRail hasn't seen much in the way of progress or innovation since ASP.NET...
    Posted to cruizer by cruizer on 09-11-2006
    Filed under: Filed under: , ,
  • TDD Talk Re-Run

    I'll be having a TDD talk again for MSDN Student Developers' Night on Wednesday, September 13. I'll make sure I'll be early this time If you will be attending, that'll be great Maybe you'd like to give me suggestions on what I can demo. Last time I demoed the construction of a number-to-words converter...
    Posted to cruizer by cruizer on 09-07-2006
    Filed under: Filed under: ,
  • TDD is about design; tests are just side effects

    codebetter.com was down earlier. Dunno why. Anyway, when it went back up I went through some of the posts by Scott Bellware. The following stuff got my attention: Debunking Microsoft's Guidelines for Test-Driven Development and Microsoft Takes It on the Chin over Test-Driven Development Fairly old material...
    Posted to cruizer by cruizer on 08-24-2006
    Filed under: Filed under: ,
  • Preaching TDD to students

    I've always had a soft spot in my heart for students. Maybe my former (programming) students would vehemently disagree with that. But I've always wanted to teach the things I've learned and applied in my craft to students. After all, I've also been a student (and I still am, a student...
    Posted to cruizer by cruizer on 08-16-2006
    Filed under: Filed under: , ,
  • TDD Sample Code

    Looks like I can only include one attachment per blog post, so I was only able to put the presentation in my previous blog entry. Here's the sample code from yesterday...Demo1 is the completed number-to-word conversion class...CurrencyConverter1 is the "god" class implementation of the...
    Posted to cruizer by cruizer on 08-16-2006
    Filed under: Filed under: ,
Page 1 of 2 (16 items) 1 2 Next >

Copyright DevPinoy 2005-2008