[TIP] Unit and Acceptance testing WxPython

Chuck Esterbrook chuck.esterbrook at gmail.com
Sun Apr 27 08:37:16 PDT 2008


On Sat, Apr 26, 2008 at 6:14 PM, Nate Lowrie <solodex2151 at gmail.com> wrote:
>  Chuck,
>
>  I haven't gotten any responses, but I figured it out.  I am design the
>  GUI as a Humble Dialog.  Essentially, it's a MVC architecture in which
>  the view is as thin a wrapper is possible, with all of the logic
>  implemented in the controller, which is testable.  It has been working
>  out really well so far.  Also, I sort of lied when I said I am using
>  WxPython.  I am actually using Dabo, which is a Pythonic wrapper over
>  WxPython.  The reason I mention this is that the Dabo UI syntax
>  results in far less code to create the same application.  So, I can
>  minimize the view code which means less code overall that is untested.
>   If there is interest I could write an article and post it to my
>  website.
>
>  Nate L.

Sounds interesting. I would definitely like to see the article.

Thanks,
Chuck



More information about the testing-in-python mailing list