|
aspiring to free and open the mind of .NET developers
Browse by Tags
All Tags » TDD ( RSS)
-
|
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...
|
-
|
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...
|
-
|
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...
|
-
|
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...
|
-
|
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...
|
-
|
Have you heard of the term cyclomatic complexity ? I had my first encounter with it in the current project we're doing at work. One of the senior guys in our project set up our build server, with CruiseControl.NET invoking a tool called SourceMonitor...
|
-
|
Yesterday I had the privilege of speaking about Test Driven Development in front of PHP developers. I had a bit of trouble at first with the projector not playing nice with my cheapo notebook. Too bad that we didn't have much time to cover necessary...
|
-
|
I made that observation, while doing PHP TDD-style, in my previous post . In this interview with Dave Astels and Steven Baker , they also note that TDD is a necessity in dynamic languages such as Ruby. Let me quote: It (the compiler, in statically-typed...
|
-
|
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...
|
-
|
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...
|
-
|
If you've read my previous post s here, you'll notice that I advocate code testability and TDD. One of the key design concepts in achieving this is "inversion of control" or the dependency injection pattern . While I do mostly .NET stuff these days, I...
|
-
|
Because it's better than having tests that pass first then fail later. No kidding. This is true. At first I couldn't understand why TDD evangelists would say that a test should start at "red" (or even fail to compile at all) before you put in code that...
|
-
|
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...
|
-
|
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...
|
-
|
Yesterday's MSDN event was tiring but I guess it was worth it. Hopefully these slides and demo code help convince you to adopt the test-driven approach to coding. Too bad there were not enough shirts/jackets for everyone. Hmm, I feel envious that the...
|
More Posts Next page »
|
|
|