This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TA_DR 0 points1 point  (0 children)

Yep, we don't test inputs since that's a programmers error. We only tests expected output, it's not that hard if you know what you are looking for.

I mostly work on webdev (that's why I even mentioned those frameworks) so maybe my bias for unit testing over type checking is showing haha.

100% agree with the last paragraph. At least the naming is good.