-
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...
-
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...
-
See the official announcement from Andy's blog here . You can download the bits here . Nudge to smash , try it and you'll love it.
-
i agree that incorporating code coverage criteria in your build scripts is very restrictive, but you have no choice if your team is just starting out doing tdd or writing plain automated unit tests. how can you force them to learn to write automated unit tests if you will not be pressuring them? without...
-
Our boss asked us developers for our preferred developer books and we submitted our wishlists, weeks later they ordered all 20+ of them, whoa! all the books that we wished for, nice! I'm currently browsing through Michael Feathers' Working Effectively with Legacy Code . So what is legacy code...
-
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...
-
our current project which involves a client .NET windows application which emits data to an excel workbook to render different views of the data. data are written on hidden worksheets which functions as my datasource for the views and graphs being rendered by my vba macros. the excel workbook is my main...
-
By practicing Test Driven Development (TDD), developers will do their best to improve their code without the fear that is normally associated with code changes . It will boost developer’s confidence that the integrity of the code is in place. Writing tests provides another form of “living document” because...
-
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...
-
If you're looking for some guidelines in writing unit tests, i found roy osherove 's compilation to be really helpful. Refer to his Testing Guidelines tag in his blog for archive. I am currently following his test naming guideline - Test name should include name of tested method or class. The said token...