Data-driven testing
Peter Hansen
peter at engcorp.com
Thu Apr 24 19:34:13 EDT 2003
More information about the Python-list mailing list
Thu Apr 24 19:34:13 EDT 2003
- Previous message (by thread): Data-driven testing
- Next message (by thread): Data-driven testing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alex Martelli wrote: > > Peter Hansen wrote: > > throwaway than the ones I "know" are not. If I'm wrong... no big deal: > > I rewrite as a real script with proper tests. Since the script was > > only twenty or thirty lines of code (any more and it could not possibly > > be throwaway, right?) it isn't really a big deal. > > Wrong. "Throwaway" means "I [think I] am going to need to run this > only once". Whether it's 30 or 60 lines has nothing to do with it. This is getting us nowhere. I'm asserting that I have actually seen "throwaway" scripts, even predicted their imminent development, and subsequently have actually thrown them away. I'm not asserting I do this with 100% accuracy. I'm asserting that I very infrequently do decide that a script will be throwaway, and that in those rare cases I often turn out to be right, and often enough that it seems worth continuing to make such predictions in order to save myself some time. These I believe are facts about *me*. You're asserting that you have never accurately predicted this, or at least not accurately enough to make prediction worthwhile, or at least that even when you predict correctly it you discount the prediction and proceed on the assumption that you are wrong. (Or something like that... I'm unsure it's actually relevant to my point.) Neither of us can assert anything about the other's real situation, nor presumably about Aahz' (though I admit I did... maybe I was wrong). I can't see any point in continuing the discussion, can you? -Peter
- Previous message (by thread): Data-driven testing
- Next message (by thread): Data-driven testing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list