[wingide-users] Testing Problem

Wingware Support support at wingware.com
Fri Feb 15 11:46:58 MST 2008

Joel Parke wrote:
> def _test():
>    import doctest
>    doctest.testmod()
> if __name__ == "__main__":
>    _test()
> I have added this file to the tests to be run.  BUT when I run within 
> the IDE nothing appears to happen.  When Run standalone all works 
> properly.  I introduced an error which is not seen within Wing but is 
> seen properly outside.  So what gives - how are unit tests to be 
> structured within Wing?

Wing 3.0's testing tool only supports unittest derived tests.  You can 
run the file in the debugger to debug it.

Future Wing versions will support doctest.



More information about the wingide-users mailing list