News for hackers. Stuff that matters.
Re:Tests aren’t enough: Case study after adding type hints t... by elzbardico on Monday October 18, 2021 @01:51PM (#28908379)
This was probably just a silly example for a quick explanation.

  But all it takes is a method that expects an integer Id to receive a string representation of said id because of some obscure path in code that notwithstanding your 100% line coverage the team is so proud of, was never exercised on tests because nobody can have 100% branch coverage

There are no comments on this comment yet.