Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: A danger of test driven development.

by nothingmuch (Priest)
on Oct 07, 2005 at 01:23 UTC ( #498102=note: print w/replies, xml ) Need Help??


in reply to A danger of test driven development.

WRT "someone write me a Test::Test" i have an interesting story:

A month ago or so I was studying forth by writing a forth system... It's test suite is written in Test::Base that contains small programs and expected output.

To help me write the system I would first read a bit about the feature I was planning to add. Then I would start writing tests, and running them against an implementation like gforth, which I know isn't too drunk. By the time tests started accumilating, and were no longer failing I usually understood the feature better due to experimentation. Additionally I would have tests that check that the behavior of a given forth system is consistent with e.g. gforth, for that particular feature.

At that point I would switch the forth backend to use my implementation, with the missing feature, and implement things till they started working.

It was a very nice experience =)

-nuffin
zz zZ Z Z #!perl
  • Comment on Re: A danger of test driven development.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://498102]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2019-12-10 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?