Re: Test doubles (stubs and mocks) for unit testing (was: unit testing)
On Oct 5, 4:51 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > Thanks. -- http://mail.python.org/mailman/listinfo/python-list
Test doubles (stubs and mocks) for unit testing (was: unit testing)
7stud <[EMAIL PROTECTED]> writes: > What are some strategies for unit testing a function that obtains > user input? This is just one example of "how do I unit test a code unit that interacts with something complex outside itself?" You want to test *only* the code unit under test, not the external