[TIP] Fwd: An OO API for doctest / unittest integration...
Olemis Lang
olemis at gmail.com
Wed Sep 3 09:00:03 PDT 2008
2008/8/15, Michał Kwiatkowski <constant.beta at gmail.com>:
> 2008/8/15 Olemis Lang <olemis at gmail.com>:
>
> > > Is there a similar way to execute those doctests via dutest, so I can
> > > check out its new features?
> >
> > I prefer you to read the article (see the links below), because there
> > is comprehensive documentation and examples there...
>
>
> I skimmed through it and on page 47 there's code looking like this:
>
> import dutest
>
> if __name__ == "__main__":
> dutest.main()
>
> That clearly doesn't work giving me an exception:
>
> AttributeError: 'module' object has no attribute 'main'
>
>
Release 0.1.1 is available now and it fixes these issues. You can
download it now and try it out.
PD: Notice that the files in release 0.1.1 have been recently updated.
If any of you downloaded it before then try the latest version.
Otherwise some issues may show up.
--
Saludos,
Olemis.
More information about the testing-in-python
mailing list