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...
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 and analyzing source code complexity. Basically...
Technological advancements in micro-processors suggest an imminent paradigm shift in software development. The sudden shift from old architecture to a new breed of multi–core processors dictates the use of concurrency concepts to optimize performance and to get around synchronization abstractions like...
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...
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 attendees were given certificates and I wasn't. Anyway...