-
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...
-
I couldn't believe it: read ScottGu's blog post . Finally, Microsoft is getting *it*. No need to fight it, no need to exhibit their traditional NIH mindset and create their own (as they have demonstrated many times, not only in the .NET platform). They're finally including a useful open source...
-
Just in case you haven't seen this yet: http://www.codethinked.com/category/IronRuby-via-C-Series.aspx I'm sure it's a handy tutorial for learning Ruby (using IronRuby for .NET) the language if you've already got C#/.NET background. I personally think the DLR will become a huge thing...
-
I really like continuous integration . Having come from a company that didn't practice it at all (this was a time I used to regularly work 12 to 16 hours a day), I was so happy when I got into a company that actually practiced it. I found it to be a really effective mechanism to ensure that developers...
-
It was my first time to join a community event in Singapore during yesterday's Heroes Community Launch and it was a blast! It was also cool to see that of nine presentors during the event, three of us are Pinoys. I definitely am looking forward to meeting more of the community people soon. First...
-
I will be speaking tomorrow at the Heroes Community Launch 2008 here in Singapore with my favourite (boring?!) topic...Unit Testing! Only this time it's about the testing framework that comes with Silverlight 2's beta release. Kinda excited and nervous at the same time, since it'll be my...
-
Wow, I've been in a black hole for months! The usual excuse -- busy at work on projects. Now that we've gotten our app into production, we're now into firefighting, er... I mean maintenance work for that app. Here are some of the lessons I've learned in optimising and debugging our Windows...
-
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...
-
We encountered a strange thing in our current project: there are times our client will bomb out with a web exception when a web service call is cancelled. We found it strange because we enclosed our web service call within a try-catch block, specifically looking for a WebException and testing if the...
-
Just when you thought I've crossed over to the dark side , I guess it wasn't complete yet. This one takes it further. My peers in the office often express amazement at my Visual Studio color theme. Maybe they weren't born yet during DOS (those) days of green on black, or better yet yellow...
-
In my early years of programming, performance was everything. These days, since I don't do system-level programming anymore, code maintainability is more important. Of course that doesn't mean to say that it's OK for my code to suck so many CPU cycles doing trivial things. It just means 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...
-
Download the slides in PowerPoint format , OpenDocument format or PDF . I still do not know what to expect for tomorrow's event. Hopefully the attendees will be able to learn fast and that I will be able to explain things clearly. These part 2 slides may be covered if we can get along well during the...