zopefoundation / zope.testbrowser

Programmable browser for functional black-box tests
Other
21 stars 16 forks source link

5.0.0 Release available? #11

Closed projekt01 closed 8 years ago

projekt01 commented 10 years ago

When will a release be available for the new wsgi app based 5.0.0 version? I'm asking because It looks very promising.

mgedmin commented 10 years ago

It's seriously incompatible with 4.0.0. To do a proper release I wanted to:

I haven't found the time to do either of these things and therefore haven't released 5.0.0.

I've no objections if anyone else wants to either do them or just release and let the chips fall where they will. (My perfectionism often prevents me from getting stuff done.)

tseaver commented 9 years ago

@mgedmin do you have a list of the dependent projects? I know Zope2 uses it, and presume that grok and bluebream do, but none of the core ZTK projects do.

I think your README changes look good enough for a release.

mgedmin commented 9 years ago

I didn't have a list ready. I intended to do a recursive grep over all zopefoundation projects and a short github search.

Here's a recursive grep (grepall my a wrapper around find + grep that filters out .eggs and .tox and other junk):

mg@platonas ~/src/zopefoundation $ grepall -name '*.py' -o -name '*.txt' -- 'zope.testbrowser.testing.*Browser' | sort
./groktoolkit/doc/groktut/an_empty_grok_project/src/sample/app.txt:23:   >>> from zope.testbrowser.testing import Browser
./groktoolkit/doc/groktut/publishing_a_simple_web_page/src/sample/app.txt:23:   >>> from zope.testbrowser.testing import Browser
./z3c.baseregistry/src/z3c/baseregistry/browser/README.txt:39:  >>> from zope.testbrowser.testing import Browser
./z3c.configurator/src/z3c/configurator/browser/README.txt:9:  >>> from zope.testbrowser.testing import Browser
./z3c.etestbrowser/src/z3c/etestbrowser/testing.py:23:class ExtendedTestBrowser(zope.testbrowser.testing.Browser,
./z3c.jsonrpc/src/z3c/jsonrpc/README.txt:241:  >>> from zope.testbrowser.testing import Browser
./z3c.language/src/z3c/language/negotiator/browser.txt:7:  >>> from zope.testbrowser.testing import Browser
./z3c.testing/src/z3c/testing/BROWSER.txt:5:  >>> from zope.testbrowser.testing import Browser
./zc.catalog/src/zc/catalog/browser/README.txt:10:    >>> from zope.testbrowser.testing import Browser
./zc.resourcelibrary/src/zc/resourcelibrary/README.txt:86:    >>> from zope.testbrowser.testing import Browser
./zope.app.apidoc/src/zope/app/apidoc/browser/nodevmode.txt:12:  >>> from zope.testbrowser.testing import Browser
./zope.app.apidoc/src/zope/app/apidoc/browser/README.txt:7:  >>> from zope.testbrowser.testing import Browser
./zope.app.apidoc/src/zope/app/apidoc/codemodule/browser/introspector.txt:9:    >>> from zope.testbrowser.testing import Browser
./zope.app.apidoc/src/zope/app/apidoc/static.py:148:class PublisherBrowser(zope.testbrowser.testing.PublisherMechanizeBrowser,
./zope.app.applicationcontrol/src/zope/app/applicationcontrol/browser/tests/zodb.txt:7:  >>> from zope.testbrowser.testing import Browser
./zope.app.authentication/src/zope/app/authentication/browser/issue663.txt:17:    >>> from zope.testbrowser.testing import Browser
./zope.app.component/src/zope/app/component/browser/site.txt:6:    >>> from zope.testbrowser.testing import Browser
./zope.globalrequest/src/zope/globalrequest/README.txt:66:  >>> from zope.testbrowser.testing import Browser
./zope.html/src/zope/html/browser.txt:11:  >>> from zope.testbrowser.testing import Browser
./zope.testbrowser/src/zope/testbrowser/testing.py:21:    """zope.testbrowser.testing.Browser is no longer supported.
./zope.testbrowser/src/zope/testbrowser/tests/test_bbb.py:19:        from zope.testbrowser.testing import Browser

I also did a grep for zope.testbrowser.Browser (IIRC that's an alias for zope.testbrowser.testing.Browser) and from zope.testbrowser import Browser, but those produced no results.

There's also z3c.etestbrowser.ExtendedTestBrowser that is a wrapper around zope.testbrowser.testing.Browser and is used by two projects:

mg@platonas ~/src/zopefoundation $ grepall -name '*.py' -o -name '*.txt' -- 'z3c.etestbrowser.*ExtendedTestBrowser' | sort | grep -v ^./z3c.etestbrowser
./z3c.contents/src/z3c/contents/BROWSER.txt:15:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/addressbook/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/calculator/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/message/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/questionnaire/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/spreadsheet/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/sqlmessage/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/widgets/README.txt:12:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser
./z3c.formdemo/src/z3c/formdemo/wizard/README.txt:13:  >>> from z3c.etestbrowser.testing import ExtendedTestBrowser

My own zodbbrowser uses zope.testbrowser.testing.Browser, and I intended to use it as a litmus test for testing the migration documentation.

mgedmin commented 9 years ago

https://github.com/search?utf8=%E2%9C%93&q=%22zope.testbrowser.testing%22+Browser&type=Code&ref=searchresults finds over 2000 matches.

mgedmin commented 8 years ago

I've no idea why this issue doesn't mention #9. Perhaps I'd forgotten it existed.

Lawouach commented 8 years ago

Hello @mgedmin, what's the status of this project nowadays?

I'm asking because I'm interesting in using it with splinter for headless testing in place of phantomjs. But, the latest release here is quite old.

Thanks.

mgedmin commented 8 years ago

zopefoundation packages are maintained collectively by a group of voluneers, with all that implies.

I would say the status for zope.testbrowser is "in maintenance; active development currently stalled". I've projects that use it (on Python 2.x) so I'll fix any potential breakage there. I'm not currently interested in pushing the Python 3 branch to completion (which shouldn't be too hard, but I just can't muster the energy).

Lawouach commented 8 years ago

Thanks for the feedback. That seems totally fair :)

hannosch commented 8 years ago

A 5.0.0 release with Python 3 support is available now.