-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've (finally!) finished my work to get zope.interface to 100% unit test
coverage without relying on doctests:
http://svn.zope.org/zope.interface/branches/tseaver-better_unittests/
The work is outlined in this document on the branch:
http://svn.zope.org/zope.interface/branches/tseaver-better_unittests/README…
For those who are into sausage factories, the bulk of the work is
available on Launchpad:
https://code.launchpad.net/~tseaver/zope.interface/better_unittests
The branch makes many fewer "Zope-y" assumptions about how it is
developed. In particular, in a fresh checkout, you can run the tests
and build the docs with widely-used 3rd-party tools, without needing
to set up a buildout::
- ------------------------------ %< ---------------------------------------
$ svn co $ZSVN/zope.interface/branches/tseaver-better_unittests
...
U tseaver-better_unittests
Checked out revision 124746.
$ /opt/Python-2.7.2/bin/virtualenv .
New python executable in ./bin/python
Installing setuptools............done.
Installing pip...............done.
$ bin/python setup.py dev
running develop
...
Finished processing dependencies for zope.interface[testing]
$ bin/nosetests --with-coverage
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Name Stmts Miss Cover Missing
----------------------------------------------------------------
zope.interface 30 0 100%
zope.interface.adapter 440 0 100%
zope.interface.advice 69 0 100%
zope.interface.common 0 0 100%
zope.interface.common.idatetime 98 0 100%
zope.interface.common.interfaces 81 0 100%
zope.interface.common.mapping 32 0 100%
zope.interface.common.sequence 38 0 100%
zope.interface.declarations 312 0 100%
zope.interface.document 54 0 100%
zope.interface.exceptions 21 0 100%
zope.interface.interface 378 0 100%
zope.interface.interfaces 137 0 100%
zope.interface.registry 300 0 100%
zope.interface.ro 25 0 100%
zope.interface.verify 48 0 100%
----------------------------------------------------------------
TOTAL 2063 0 100%
----------------------------------------------------------------------
Ran 707 tests in 2.880s
OK
$ bin/python setup.py docs
running easy_install
Searching for zope.interface[docs]
...
Finished processing dependencies for zope.interface[docs]
$ cd docs
$ PATH=../bin:$PATH make html
...
build succeeded.
Build finished. The HTML pages are in _build/html.
- ------------------------------ %< ---------------------------------------
In addition to minimizing "Zope-iness", providing full coverage using
small, descriptively-named unittests makes the code more maintainable.
For instance, I expect to build on top of these improved tests as the basis
for a conversion to a "subset", supporting Python 2.6, 2.7, and 3.x from
a single codebase, without needing a translator like lib2to3.
I think it will also be easier to improve the docs, now that they no
longer bear the burden of supplying coverage / regression testing for
the code. We can remove a bunch of extremely-terse fragments, and have
the examples which remain focus more on improving the reader's
understanding than exercising some corner case.
Unless the consensus is against it, I plan to merge this branch to the
trunk early next week.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver(a)palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9w4b8ACgkQ+gerLs4ltQ5rBQCgtZ1P96SowAzlKvZGVnWu/YM5
bD8AoIJZcL6uEotJMkVxFkLZqeMZCq9R
=uvZm
-----END PGP SIGNATURE-----
This is the summary for test reports received on the
zope-tests list between 2012-03-26 00:00:00 UTC and 2012-03-27 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
Bluebream / Python2.5.5 64bit linux
Bluebream / Python2.6.7 64bit linux
Bluebream / Python2.7.2 64bit linux
ZTK 1.0 / Python2.4.6 Linux 64bit
ZTK 1.0 / Python2.5.5 Linux 64bit
ZTK 1.0 / Python2.6.7 Linux 64bit
ZTK 1.0dev / Python2.4.6 Linux 64bit
ZTK 1.0dev / Python2.5.5 Linux 64bit
ZTK 1.0dev / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.5.5 Linux 64bit
ZTK 1.1 / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.7.2 Linux 64bit
Zope 3.4 KGS / Python2.4.6 64bit linux
Zope 3.4 KGS / Python2.5.5 64bit linux
Zope 3.4 Known Good Set / py2.4-32bit-linux
Zope 3.4 Known Good Set / py2.4-64bit-linux
Zope 3.4 Known Good Set / py2.5-32bit-linux
Zope 3.4 Known Good Set / py2.5-64bit-linux
Zope-2.10 Python-2.4.6 : Linux
Zope-2.11 Python-2.4.6 : Linux
Zope-2.12 Python-2.6.6 : Linux
Zope-2.12-alltests Python-2.6.6 : Linux
Zope-2.13 Python-2.6.6 : Linux
Zope-2.13-alltests Python-2.6.6 : Linux
Zope-trunk Python-2.6.6 : Linux
Zope-trunk-alltests Python-2.6.6 : Linux
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
winbot / ZODB_dev py_270_win32
winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
winbot / ztk_dev py_265_win32
winbot / ztk_dev py_265_win64
winbot / ztk_dev py_270_win32
winbot / ztk_dev py_270_win64
Non-OK results
--------------
On Thu, Feb 23, 2012 at 2:44 PM, Fred Drake <fred(a)fdrake.net> wrote:
> On Thu, Feb 23, 2012 at 2:54 AM, Miano Njoka <mianonjoka(a)gmail.com> wrote:
>> Yes, this is true, but why strip out the meta tag from the resulting HTML?
>
> Two reasons:
>
> 1. It may be incorrect.
>
> 2. If multiple templates are used to construct a response, different
> values may be included from each template, which may be inconsistent.
>
The code as it is now does not take this into account. It parses the
meta content type tag from all the templates passed to it and the
content type header sent in the response will be that of the last
template processed.
> Since the meta element is unnecessary, it seemed better to leave it out
> of the result,
While it is not essential, it is necessary in some cases where the
finished document will be read from disk or is used by other
applications eg. Deliverance[http://packages.python.org/Deliverance/].
In fact w3c's HTML validator throws a warning that one should declare
the character encoding in the document itself if it is missing.
> and rely on other components to render the correct values
> without requiring them to insert correct values into the rendered template.
Rather than removing the meta tag, I think its less complicated to
leave it in the finished HTML and let the developer fix any
inconsistencies that may arise.
This is the summary for test reports received on the
zope-tests list between 2012-03-25 00:00:00 UTC and 2012-03-26 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
ZTK 1.0 / Python2.4.6 Linux 64bit
ZTK 1.0 / Python2.5.5 Linux 64bit
ZTK 1.0 / Python2.6.7 Linux 64bit
ZTK 1.0dev / Python2.4.6 Linux 64bit
ZTK 1.0dev / Python2.5.5 Linux 64bit
ZTK 1.0dev / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.5.5 Linux 64bit
ZTK 1.1 / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.7.2 Linux 64bit
Zope 3.4 KGS / Python2.4.6 64bit linux
Zope 3.4 KGS / Python2.5.5 64bit linux
Zope 3.4 Known Good Set / py2.4-32bit-linux
Zope 3.4 Known Good Set / py2.4-32bit-linux
Zope 3.4 Known Good Set / py2.4-64bit-linux
Zope 3.4 Known Good Set / py2.5-32bit-linux
Zope 3.4 Known Good Set / py2.5-32bit-linux
Zope 3.4 Known Good Set / py2.5-64bit-linux
Zope-2.10 Python-2.4.6 : Linux
Zope-2.11 Python-2.4.6 : Linux
Zope-2.12 Python-2.6.6 : Linux
Zope-2.12-alltests Python-2.6.6 : Linux
Zope-2.13 Python-2.6.6 : Linux
Zope-2.13-alltests Python-2.6.6 : Linux
Zope-trunk Python-2.6.6 : Linux
Zope-trunk-alltests Python-2.6.6 : Linux
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
winbot / ZODB_dev py_270_win32
winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
winbot / ztk_dev py_265_win32
winbot / ztk_dev py_265_win64
winbot / ztk_dev py_270_win32
winbot / ztk_dev py_270_win64
Non-OK results
--------------
This is the summary for test reports received on the
zope-tests list between 2012-03-24 00:00:00 UTC and 2012-03-25 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
[1] Repository policy check found errors in 307 projects
[2] Total languishing bugs for zope2: 9
[3] Total languishing bugs for zope: 72
[4] Total languishing bugs for zopeapp: 1
[5] Total languishing bugs for zopetoolkit: 211
ZTK 1.0 / Python2.4.6 Linux 64bit
ZTK 1.0 / Python2.5.5 Linux 64bit
ZTK 1.0 / Python2.6.7 Linux 64bit
ZTK 1.0dev / Python2.4.6 Linux 64bit
ZTK 1.0dev / Python2.5.5 Linux 64bit
ZTK 1.0dev / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.5.5 Linux 64bit
ZTK 1.1 / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.7.2 Linux 64bit
Zope 3.4 KGS / Python2.4.6 64bit linux
Zope 3.4 KGS / Python2.5.5 64bit linux
Zope 3.4 Known Good Set / py2.4-64bit-linux
Zope 3.4 Known Good Set / py2.5-64bit-linux
Zope-2.10 Python-2.4.6 : Linux
Zope-2.11 Python-2.4.6 : Linux
Zope-2.12 Python-2.6.6 : Linux
Zope-2.12-alltests Python-2.6.6 : Linux
Zope-2.13 Python-2.6.6 : Linux
Zope-2.13-alltests Python-2.6.6 : Linux
Zope-trunk Python-2.6.6 : Linux
Zope-trunk-alltests Python-2.6.6 : Linux
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
winbot / ZODB_dev py_270_win32
winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
winbot / ztk_dev py_265_win32
winbot / ztk_dev py_265_win64
winbot / ztk_dev py_270_win32
winbot / ztk_dev py_270_win64
Non-OK results
--------------
[1] FAILED Repository policy check found errors in 307 projects
https://mail.zope.org/pipermail/zope-tests/2012-March/059741.html
[2] FAILED Total languishing bugs for zope2: 9
https://mail.zope.org/pipermail/zope-tests/2012-March/059732.html
[3] FAILED Total languishing bugs for zope: 72
https://mail.zope.org/pipermail/zope-tests/2012-March/059734.html
[4] FAILED Total languishing bugs for zopeapp: 1
https://mail.zope.org/pipermail/zope-tests/2012-March/059733.html
[5] FAILED Total languishing bugs for zopetoolkit: 211
https://mail.zope.org/pipermail/zope-tests/2012-March/059735.html
This is the summary for test reports received on the
zope-tests list between 2012-03-23 00:00:00 UTC and 2012-03-24 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
ZTK 1.0 / Python2.4.6 Linux 64bit
ZTK 1.0 / Python2.5.5 Linux 64bit
ZTK 1.0 / Python2.6.7 Linux 64bit
ZTK 1.0dev / Python2.4.6 Linux 64bit
ZTK 1.0dev / Python2.5.5 Linux 64bit
ZTK 1.0dev / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.5.5 Linux 64bit
ZTK 1.1 / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.7.2 Linux 64bit
Zope 3.4 KGS / Python2.4.6 64bit linux
Zope 3.4 KGS / Python2.5.5 64bit linux
Zope 3.4 Known Good Set / py2.4-32bit-linux
Zope 3.4 Known Good Set / py2.4-64bit-linux
Zope 3.4 Known Good Set / py2.5-32bit-linux
Zope 3.4 Known Good Set / py2.5-64bit-linux
Zope-2.10 Python-2.4.6 : Linux
Zope-2.11 Python-2.4.6 : Linux
Zope-2.12 Python-2.6.6 : Linux
Zope-2.12-alltests Python-2.6.6 : Linux
Zope-2.13 Python-2.6.6 : Linux
Zope-2.13-alltests Python-2.6.6 : Linux
Zope-trunk Python-2.6.6 : Linux
Zope-trunk-alltests Python-2.6.6 : Linux
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
winbot / ZODB_dev py_270_win32
winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
winbot / ztk_dev py_265_win32
winbot / ztk_dev py_265_win64
winbot / ztk_dev py_270_win32
winbot / ztk_dev py_270_win64
Non-OK results
--------------
This is the summary for test reports received on the
zope-tests list between 2012-03-22 00:00:00 UTC and 2012-03-23 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
ZTK 1.0 / Python2.4.6 Linux 64bit
ZTK 1.0 / Python2.5.5 Linux 64bit
ZTK 1.0 / Python2.6.7 Linux 64bit
ZTK 1.0dev / Python2.4.6 Linux 64bit
ZTK 1.0dev / Python2.5.5 Linux 64bit
ZTK 1.0dev / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.5.5 Linux 64bit
[1] ZTK 1.1 / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.7.2 Linux 64bit
Zope 3.4 KGS / Python2.4.6 64bit linux
[2] Zope 3.4 KGS / Python2.5.5 64bit linux
Zope 3.4 Known Good Set / py2.4-32bit-linux
Zope 3.4 Known Good Set / py2.4-64bit-linux
Zope 3.4 Known Good Set / py2.5-32bit-linux
Zope 3.4 Known Good Set / py2.5-64bit-linux
Zope-2.10 Python-2.4.6 : Linux
Zope-2.11 Python-2.4.6 : Linux
Zope-2.12 Python-2.6.6 : Linux
Zope-2.12-alltests Python-2.6.6 : Linux
Zope-2.13 Python-2.6.6 : Linux
Zope-2.13-alltests Python-2.6.6 : Linux
Zope-trunk Python-2.6.6 : Linux
Zope-trunk-alltests Python-2.6.6 : Linux
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
winbot / ZODB_dev py_270_win32
winbot / ZODB_dev py_270_win64
[3] winbot / zc.ngi_py_265_32
[4] winbot / zope.schema_py_265_32
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
winbot / ztk_dev py_265_win32
winbot / ztk_dev py_265_win64
winbot / ztk_dev py_270_win32
winbot / ztk_dev py_270_win64
Non-OK results
--------------
[1] FAILED ZTK 1.1 / Python2.6.7 Linux 64bit
https://mail.zope.org/pipermail/zope-tests/2012-March/059653.html
[2] FAILED Zope 3.4 KGS / Python2.5.5 64bit linux
https://mail.zope.org/pipermail/zope-tests/2012-March/059668.html
[3] FAILED winbot / zc.ngi_py_265_32
https://mail.zope.org/pipermail/zope-tests/2012-March/059660.html
[4] FAILED winbot / zope.schema_py_265_32
https://mail.zope.org/pipermail/zope-tests/2012-March/059677.html
Hi folks
What needs to be done for a new release of zope.schema? (4.1)
And is there anything I can do to help speed it up?
Even just an alpha/beta release would be very helpful.
Thanks
JC
This is the summary for test reports received on the
zope-tests list between 2012-03-21 00:00:00 UTC and 2012-03-22 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
ZTK 1.0 / Python2.4.6 Linux 64bit
ZTK 1.0 / Python2.5.5 Linux 64bit
ZTK 1.0 / Python2.6.7 Linux 64bit
ZTK 1.0dev / Python2.4.6 Linux 64bit
ZTK 1.0dev / Python2.5.5 Linux 64bit
ZTK 1.0dev / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.5.5 Linux 64bit
ZTK 1.1 / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.7.2 Linux 64bit
Zope 3.4 KGS / Python2.4.6 64bit linux
Zope 3.4 KGS / Python2.5.5 64bit linux
Zope 3.4 Known Good Set / py2.4-32bit-linux
Zope 3.4 Known Good Set / py2.4-64bit-linux
Zope 3.4 Known Good Set / py2.5-32bit-linux
Zope 3.4 Known Good Set / py2.5-64bit-linux
Zope-2.10 Python-2.4.6 : Linux
Zope-2.11 Python-2.4.6 : Linux
Zope-2.12 Python-2.6.6 : Linux
Zope-2.12-alltests Python-2.6.6 : Linux
Zope-2.13 Python-2.6.6 : Linux
Zope-2.13-alltests Python-2.6.6 : Linux
Zope-trunk Python-2.6.6 : Linux
Zope-trunk-alltests Python-2.6.6 : Linux
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
winbot / ZODB_dev py_270_win32
winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
winbot / ztk_dev py_265_win32
winbot / ztk_dev py_265_win64
winbot / ztk_dev py_270_win32
winbot / ztk_dev py_270_win64
Non-OK results
--------------
This is the summary for test reports received on the
zope-tests list between 2012-03-20 00:00:00 UTC and 2012-03-21 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
ZTK 1.0 / Python2.4.6 Linux 64bit
ZTK 1.0 / Python2.5.5 Linux 64bit
ZTK 1.0 / Python2.6.7 Linux 64bit
ZTK 1.0dev / Python2.4.6 Linux 64bit
ZTK 1.0dev / Python2.5.5 Linux 64bit
ZTK 1.0dev / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.5.5 Linux 64bit
ZTK 1.1 / Python2.6.7 Linux 64bit
ZTK 1.1 / Python2.7.2 Linux 64bit
Zope 3.4 KGS / Python2.4.6 64bit linux
Zope 3.4 KGS / Python2.5.5 64bit linux
Zope 3.4 Known Good Set / py2.4-32bit-linux
Zope 3.4 Known Good Set / py2.4-64bit-linux
Zope 3.4 Known Good Set / py2.5-32bit-linux
Zope 3.4 Known Good Set / py2.5-64bit-linux
Zope-2.10 Python-2.4.6 : Linux
Zope-2.11 Python-2.4.6 : Linux
Zope-2.12 Python-2.6.6 : Linux
Zope-2.12-alltests Python-2.6.6 : Linux
Zope-2.13 Python-2.6.6 : Linux
Zope-2.13-alltests Python-2.6.6 : Linux
Zope-trunk Python-2.6.6 : Linux
Zope-trunk-alltests Python-2.6.6 : Linux
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
winbot / ZODB_dev py_270_win32
winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
winbot / ztk_dev py_265_win32
winbot / ztk_dev py_265_win64
winbot / ztk_dev py_270_win32
winbot / ztk_dev py_270_win64
Non-OK results
--------------