Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Unit Testing is Overrated (2020). Parent comment
So how do you test private methods? You don't, with the exception of testing during development, but those aren supposed to be kept around.
There are no comments on this comment yet.
So how do you test private methods? You don't, with the exception of testing during development, but those aren supposed to be kept around.