-
Over the past few weeks I have worked on a few products for my client that will be used as API's. These API's will be used by either their own (external) clients or other internal departments. Working on these projects made me think about testing in a little different light compared...
-
Let me just say this slowly.... Simply because your tests 'pass' does not mean your code has been proven correct or that it works. I know from time to time the notion that 'because I test, my code is solid' floats around the blog-a-sphere. Well, I am here to say, that is a 100%...
-
***** Update ***** This issue is directly related to a #R 4 EAP issue. I was using build 755 and this was an issue. As of build 762, this is no longer an issue. ******************** Today I encountered some odd behavior when trying to run some tests against my configuration object. I am hoping that someone...
-
How many times as developers have we made list of things we needed to work on. Most of the time they are 'tasks' in some sort of task management system. However, we do not have one of these such systems at work. So I decided to use 'ignored' tests as my tasks. ...
-
Test first Test during Test after Answer, Test. No matter what style of testing you believe in, they all share one common trait. They all test your code. So, what is the point of this post you may ask? Simple. To me, it does not matter how your tests come to be, but having tests is what is important...
-
A buddy of mine decided to finally give testing a try (not true TDD, but still writing tests) and he made me laugh by some of the statements/observations he made. Where do I start? This feels weird! Am I doing this right? How much is enough? When he mentioned these to me I had to laugh. Why, not because...
-
***** DISCLAIMER ***** The techniques and information here were not all thought up by me. I got a lot of this from Scott Hanselman's screencasts, and at looking at other MVC projects. I am only putting this into a post to have a single point of reference for the next guy. ***** END DISCLAIMER **...
-
Recently I was chatting with a friend of mine and he asked if a single developer could be successful following TDD on a team that does not follow TDD. My simple answer was YES, they can. But there are a few things you must consider..... How can they make a difference I am a firm believer that someone...
-
Over on the Alt.Net mailing list ( here ) the topic of where to put your unit tests was the hot topic a few days ago. This is a topic that I have debated with various people over the past few years. With all the debates I have had, it is clear to me that there really is no right or wrong way do to this...
-
Phil Haack has an interesting post on some research regarding the effectiveness of Test Driven Development. I'm really glad to know that this sort of work is going on, and the results are, er, moderately encouraging to the TDD enthusiast. This topic of research supporting methodologies has been a...
-
I finally got around to upgrading to the most recent version of NUnit recently (Yea I know, bout time) and found out that there is a new way of doing assertions. The new model is referred to as the 'constraint' model and follows a more fluent style interface. Below are some examples...
-
I came across some comments by Charlie Poole today (via the alt.net news group) about the future of NUnit. As devoted user of NUnit, I am always interested in the direction of the product. Here is the posting, give it a read - here Till next time,
-
I'm sure that everyone has heard the riddle ' If a tree falls in a forest and no one is around to hear it, does it make a sound?' . This riddle is all about observation and knowledge of reality. Well, I have a riddle for software teams following TDD. 'If a build fails and no-one fixes...
-
I've always thought of myself as a decent programmer. I'm able to find solutions for people and I get rave reviews on how great something works. However, there's always been a part of me that knows that I can program it better using agile methods and sound fundamentals. I haven't taken...
-
When following TDD, using mocking tools like RhinoMocks ( here ) or NMock ( here ) is a critical part of the process. By utilizing mocking tools you can better isolate your tests to only test the code that you have direct control over. This can prove to be critical component to building out your test...