[Idle-dev] Missing unittest.mock in Python2 world be problem in making unitest for IDLE.

Todd V Rovito rovitotv at gmail.com
Mon Aug 19 02:48:25 CEST 2013


Tomoki,
     This summer we are making great progress on unit tests.  For a good example I would look at the unit tests for format paragraph from the latest repository.  You can still "mock" an object with out the mock module.  For next year's GSoC we will evaluate current progress and see what we have left but at this point nobody has decided to do another effort for unit tests in IDLE.

Sent from my iPhone

On Apr 19, 2013, at 8:17 PM, Tomoki Imai <tomo832 at gmail.com> wrote:

> Hi.
> 
> I'm a student thinking of participating in Google Summer of Code.
> And I'm looking for a guidance.
> The proposal that I want to make is "Unit Test framework for IDLE".
> http://wiki.python.org/moin/SummerOfCode/2013/python-core
> 
> I emailed to Todd Rovito and read idlelib for a while,read following link.
> http://bugs.python.org/issue15392
> 
> Using unittest.mock seemed to be good way to test GUI.
> But there is a problem.
> There is no unittest.mock in Python2.
> http://docs.python.org/2/library/unittest.html
> 
> I think using third party mock seemed to be ok, but not best way.
> https://pypi.python.org/pypi/mock
> Because, IDLE is a part of official python.
> I think relying on third party module is not good.
> 
> Do you have any advice?
> 
> Thanks.
> _______________________________________________
> IDLE-dev mailing list
> IDLE-dev at python.org
> http://mail.python.org/mailman/listinfo/idle-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/idle-dev/attachments/20130818/30faefc7/attachment.html>


More information about the IDLE-dev mailing list