[Pyunit-interest] Re: testRunner argument of unittest.main()
Brought to you by:
purcell
From: Matthew F. B. <mf...@lo...> - 2003-05-13 23:16:14
|
Jim Vickroy said: > Since it gives access to the command line parameters, would sys.argv > meet your needs? Not the most "clean" solution, but it would probably work. By that I mean that generally (for me, anyway) the desire is to parse all the command-line arguments *once* in a program. The unittest.main() routine is already doing that work, and the software engineer in me would hate to see that logic replicated elsewhere in the same program. Of course I wasn't asking for the *best* solution, just *a* solution. So you did answer my question. I appreciate the feedback. Matthew Barnes ma...@ba... |