|
Browse Site by Tags
Showing related tags and posts accross the entire site.
All Tags » TDD » DotNET (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 for the system rather than tests, since...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
|
|
|