in reply to Re^3: Testing my tests
in thread Testing my tests (mutation testing)
"Right, but I think what he's asking about is whether the return values themselves have been tested against directly."
Don't assume, ASK! But consider that if you test your interfaces then those return values WILL BE IN THE TEST. That's what a test does -- it checks that the return value is what you expected. Coverage shows you which branches have been executed by those tests and which have not.
Testing is simple. People make it complicated.
|
---|