@steveklabnik Lots of little functions: https://github.com/whit537/aspen/blob/0dacfff55b3b258cac09a99bd86abaf64eaf1e07/tests/test_gauntlet.py …. Lots of bloated classes: https://github.com/whit537/www.gittip.com/blob/78b7f5f6b109cf9235aaf183249155852a4919dd/tests/test_billing.py …. /cc @marshall_jones
@whit537 also, you should only mock things you own… but yes, mocks are a design tool, not a testing tool. tons of literature on this.
-
-
@steveklabnik What do I do with things I don't own? E.g.,@balancedpayment's client library features prominently in Gittip's test suite. -
@whit537 you wrap them, integration test the wrappers
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.