Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Code Generation from Test Suites

by dokkeldepper (Friar)
on Sep 14, 2006 at 20:10 UTC ( [id://572996]=note: print w/replies, xml ) Need Help??


in reply to Code Generation from Test Suites

Good idea: "invert, alway invert" as some old algebraist said. However, this is not the way it should be. That the tests are ok does not necessarily mean that the code is correct. To think so is similar to the argument, that the world is flat just because we can do some steps without returning immediately to the starting point.

But I completely agree with the idea that it would be nice to generate test stubs automatically (or method stubs from tests). Sometimes a piece of code requires a very intensive teste so that one easily forgets to test the rest.

Ok, this might be a sign
of bad design.
Or it means simply that the problem to be solved is not really trivial.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-20 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found