Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: RFC: How did I do writing my first test?

by stevieb (Canon)
on Sep 28, 2020 at 01:51 UTC ( #11122281=note: print w/replies, xml ) Need Help??


in reply to Re^3: RFC: How did I do writing my first test?
in thread RFC: How did I do writing my first test?

"This is why you should write full-coverage testsuites in the course of testing every path, you are likely to find edge cases that you had not recognized before."

An API (or any code) should have tests written before, during and after completion. Especially after the documentation is completed, to verify.

You're right about the edge cases. They get found in testing, and then become tests themselves.

If one doesn't find issues when running their test suites against their code after significant updates, the test suite is insufficient.

  • Comment on Re^4: RFC: How did I do writing my first test?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2021-01-19 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?