[wingide-users] Using doctests with WingIDE

Michael Yurko myurko at gmail.com
Thu Apr 8 12:48:48 MDT 2010


On Thu, Apr 8, 2010 at 11:06 AM, Wing IDE Support <support at wingware.com>wrote:

> On 4/7/10 7:03 PM, Michael Yurko wrote:
>
>> I have been using WingIDE for about a month. I decided to try the
>> integrated testing support since it has nice integration with the rest
>> of the IDE (jump to the offending code, debugging, etc). However, I have
>> run into a bit of an issue. I am using the doctest framework for all of
>> my code. However, many of my doctests need to use the ELLIPSIS option to
>> be checked correctly. I have set the default testing framework for my
>> project to doctest, but I can't find any place to set additional
>> options. Has anyone else encountered this issue before? Is it not
>> possible to use the doctest integration in this case?
>>
>
> Are you using the #doctest: +ELLIPSIS directive as described in
> http://docs.python.org/library/doctest.html#doctest-options ?
>
> Thanks,
>
> John
>


Ah. I had been setting +ELLIPSIS globally in my doctesting script, but I
didn't know that you could set it in the doctest itself. It would still be
nicer to be able to set the option globally from within WingIDE, but that
will work.

Thanks for the help,
Mike Yurko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20100408/474ac41a/attachment.html


More information about the wingide-users mailing list