outside of having to test against true third party APIs, i don’t think i’ve ever seen a mock that didn’t feel dumb as hell to me. i don’t care if my test is a fraction of a second slower because i queried the database. i’d rather my tests be slower but correct instead of faster but convoluted
Did you like this post, repost it, or respond to it? Let me know by sending a webmention!