Re: [Tutor] Using unittest module for Test Driven Development

2014-08-25 Thread Alex Kleider
On 2014-08-25 01:10, Marc Tompkins wrote: On Mon, Aug 25, 2014 at 12:04 AM, Alex Kleider wrote: I appreciate your further elucidation, like your 'sledge hammer' metaphor and thank you for the fragility warning. I expect within such a limited scope, the dangers are not great. As someone who

Re: [Tutor] Using unittest module for Test Driven Development

2014-08-25 Thread Marc Tompkins
On Mon, Aug 25, 2014 at 12:04 AM, Alex Kleider wrote: > I appreciate your further elucidation, like your 'sledge hammer' metaphor and > thank you for the fragility warning. I expect within such a limited scope, > the dangers are not great. As someone who has been burned by this sort of thinkin

Re: [Tutor] Using unittest module for Test Driven Development

2014-08-25 Thread Alex Kleider
On 2014-08-24 21:30, Danny Yoo wrote: Is there a way that I can provide the file name command line parameters to compare.py so that its get_args function can be tested? sys.argv is writeable, or better still, provide get_args() an optional argument to use instead of sys.argv.o I don't und