I don't know if this exists or not, but it's something I've always wanted. I love and hate unit testing. It's a fantastic idea that I've never seen successfully implemented in practice, mostly because the tests invariably fall by the wayside. At the very least, it's a burden to support them. I'd love a tool that would observe my code during runtime - capturing all inputs and outputs from every function, as well as th…
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...