News for hackers. Stuff that matters.
Re:Ask HN: What developer tools would you like to see? by arinlen on Sunday May 22, 2022 @11:52AM (#31469475)
> I'd love a tool that would observe my code during runtime - capturing all inputs and outputs from every function, as well as the value of each variable at each point in the execution flow. Because this would probably incur a performance hit, I'd want to have the option to toggle it on/off.

There's a class of integration tests dubbed consistency tests, which tracks the output that an interface provides give a specific input in production, and the test consists of playing back a sample of said production traffic to verify if the service remains consistent before promoting/dialing it up in production.

This class of integration tests is also used in UI tests, and Selenium provides explicit support for them.

https://elementalselenium.com/tips/62-web-consistency-testin...

Re:Ask HN: What developer tools would you like to see? by danielvaughn on Sunday May 22, 2022 @12:05PM (#31469627)
Ah very nice, that sounds close to what I'm imagining. Will check it out, thanks.
Re:Ask HN: What developer tools would you like to see? by high_byte on Sunday May 22, 2022 @02:33PM (#31471268)
also perhaps note worthy: "instrumentation", which I guess is a part of it at least. very useful tool.