Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: A danger of test driven development.

by nothingmuch (Priest)
on Oct 07, 2005 at 01:23 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://498102]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-04-18 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found