PyUnit with wxWindows

Hi,

Can I use PyUnit to test a wxPython program ? If not, is there a
wxPyUnit available ? Is PyUnit used to test the wxPython ?

TIA,

Ionutz

Ionutz Borcoman wrote:

Hi,

Can I use PyUnit to test a wxPython program ?

You can use it to test just about anything, but the trick with using it for gui apps is finding ways to test your program that don't require user interaction with the mouse or keyboard, otherwise you can't run the tests in an automated fashion. You can generate and send events to test your event handlers, but those events won't get sent to the native controls so they won't update themselves the way you might expect...

Is PyUnit used to test the wxPython ?

No. :frowning:

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!