... I'm not suggesting that white is better than black, or that TDD is better than something else. I'm just pointing out that TDD is a white box activity,...
... When I'm doing TDD, often when I think about what test to write next, I look at the code and think about what test would likely fail and therefore force me...
XP Day 2005 : 28th & 29th November, London, U.K. ================================================ ~~ More than XP. More than one day ~~ XP Day is a two day...
From Ron's quote of the wikipedia ... The test data should be selected by what the unit tested is supposed to do, not by its internals. At least that's how I...
... Personally, I look at what the unit that I'm testing is still NOT doing that it NEEDS to do, and I write the test. This is how my code evolves, not by ...
Lets say you have build an application using Struts and you specified in validation.xml that the password field is between 6 and 8 chars long. Would you have...
... Really? How do you choose what would make a good next test? I make that determination based on what I did to implement the previous test, and what seems...
... How do you know what it's not doing, other than by looking at the code? Ron Jeffries www.XProgramming.com Make it real or else forget about it -- Carlos...
It depends on how brave I feel at that moment... I can choose a path that will add new functionality - which might cause me to create some new code with the...
... Amir, when I make those choices, I consider what the code does, as well as what the tests say. I suspect that you do so, as well, unless you have someone...
... about what is in it. Translation: When we [developers] [claim to] do TDD, we are also writing the program. So we [developers] [think we] know everything...
Wikipedia:>[5] White box testing does not account for errors caused by omission, and all visible code must also be readable. ... we're working toward readable...
We're currently using Fitnesse for specifying business behavior. The business analysts are trying to write end to end tests. That is the way they think about...
... In my experience, this would lead to very complex and difficult to maintain tests unless the system is very simple and the states it can be in are very...
I wouldn't test it unless you care if it breaks. ;) Jared Ship It! is shipping! http://www.jaredrichardson.net <BLOCKED::http://www.jaredrichardson.net> ...
Jared, That is indeed the question -- do I care? It seems that there are two possible scenarios: 1. This is a custom application with a single configuration....
Let me as this. Given a method: void f(someObject x) { x.doSomething(); } Would you, after carefully regarding f, say: "hmmm, it might be that this here x be...
Two comments: 1. Try to get the environment - the context of the test - to be disposable. That is, work the setup so that when you're done with the test you...
[snip] "I think, hope, he would agree that there is a huge variance in what people mean when they say something like "we've done unit testing"." [snip] Where I...
... I agree. Are you changing positions? ;-> Ron Jeffries www.XProgramming.com Improvement stops when we start believing that ideas about how to improve are...
... Of course. Indeed. Ron Jeffries www.XProgramming.com I must create a system, or be enslaved by another man's; I will not reason and compare; my business is...
... here x be null. Might be y'all should write a test that will get this in?" ... But we haven't.... The question I ask is: "What is the range of valid values...
... Well, Amir, I'd write different tests given knowledge of the code. I guess you wouldn't. That's OK. Ron Jeffries www.XProgramming.com No one expects the...
Learn Innovative Ways to Find the Right Balance of Plan-Driven and Agile Approaches at the Better Software Conference & EXPO... Traditional software...
... Good! ... [ ... ] ... I'm guessing that the fixtures written in C++ test code written in C++, and that the fixtures written in C# test code written in C#. ...
Does anybody have any suggestions for organization of tests or other, preferably open source, solutions that will allow us to test C++, C#, and possibly Python...
The fellows from Atomic Objects showed me a very quick demo of SysTIR. Does anyone else have any experience with it? http://atomicobject.com/systir.page Note:...