3 ms·
The problem is that 100% code coverage is not nearly enough. Take this Python function: def f(x, y): return x + y and this test function: def test_f(
by fauigerzigerk 17y ago
The problem is that 100% code coverage is not nearly enough. Take this Python function:
def f(x, y):
return x + y
and this test function:
def test_f():
assertEqual(2, f(1, 1))
There you go, 100% code coverage. Unfortunately we have covered next to 0% of what could possibly go wrong here.