Re:Ask HN: Writing unit test mocks vs. real dependencies?
by goatcode on Wednesday October 21, 2020 @05:28PM
(#24852399)
Yes, I had a brain fart when I wrote my original comment. I think I should have meant to say mock dependencies (that we have created, not necessarily external ones, unless they're something like network calls), not inputs.
[ Parent
| on HN ]
Re:Ask HN: Writing unit test mocks vs. real dependencies?
by dragontamer on Wednesday October 21, 2020 @06:16PM
(#24852845)
bitonicSort() is a hypothetical dependency. So at least, by my reading of the comment, it seems like you'd be recommending to mock out bitonicSort().