|
Browse Blog Posts by Tags
All Tags » .NET » 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 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...
-
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...
-
Man, oh Man, oh Man! Another timesaver to add in my development toolbox. Jerry Jarell has just released NStub which is a Unit Test Generator for .NET Assemblies and man it looks really promising. From the site: NStub is a unit test generator for .NET assemblies. You simply point NStub at the assembly...
-
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...
-
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...
-
We currently have a Singleton class in our application which in the next phase of development will change to a multi-instance. The problem is every class which makes use of it accesses it directly through the exposed static interface. I believe this is a violation of " Push don't pull " law of Jeremy...
-
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...
-
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...
-
My TDD adventure keeps on surprising me dayafterday, I started to lessen the use VS studio debugger and I felt an increased productivity by not having a full build just for testing a single feature in code. With TestDriven.NET plugin installed it was pretty cool. I create a test for a feature, run the...
-
I've been struggling on these past few days doing some unit testing and tdd. hell yeah im starting to love it and now am still waiting for a new project so i can give it a real taste, bitter eh ;). But first i did a search and Jeremy Miller has always been very helpful to me. Not just on testing but...
-
once in a while, i fire up snipper compiler to test the .NET framework classes to investigate how they would behave. just like the unexpected dividebyzeroexception of double data type that i posted before. i usually have this dummy solution to test console apps, windows forms, etc. and when an ex-officemate...
-
i find writing persistence tests for business objects to be tiresome. imagine setting up all the data that a current business object needs, including all the references needed by the test business objects to be saved. initially, the tests assumes a default set of data from our test database and when...
|
|
|