Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^5: What to test in a new module

by stonecolddevin (Parson)
on Mar 14, 2023 at 23:45 UTC ( #11150988=note: print w/replies, xml ) Need Help??

in reply to Re^4: What to test in a new module
in thread What to test in a new module

Yea what I've been trying to get across in this thread but apparently failing to do so is that it's a waste of time to write tests for a POC (unless you have like, a wrapper around a low level HTTP client that you have say, a GET and POST method, there's nothing wrong with writing simple tests for that since that's not going to change) until after you've gone through enough review iterations to confirm with all involved that everything looks good. If something comes up after that, I think it's a scope change and an entirely different can of worms.

For personal projects I feel like a hard spec outside of a braindump of what you want to do really hinders you even more. Unless you have a good deal of experience in the domain you're working in I feel like you end up "prematurely optimizing" your API ergonomics because you've written out a bunch of API endpoint/method definitions without letting a workflow emerge.

Long story short, make it work, make it clean, make it fast.

Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2023-09-25 09:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found