Comments (9)
It's seriously incompatible with 4.0.0. To do a proper release I wanted to:
- make sure there are clear docs with examples on migrating from zope.testbrowser 4.x to 5.x
- test all ZF packages that use testbrowser and either migrate or make them depend on <5.0.0dev
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.)
from zope.testbrowser.
@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.
from zope.testbrowser.
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.
from zope.testbrowser.
https://github.com/search?utf8=%E2%9C%93&q=%22zope.testbrowser.testing%22+Browser&type=Code&ref=searchresults finds over 2000 matches.
from zope.testbrowser.
I've no idea why this issue doesn't mention #9. Perhaps I'd forgotten it existed.
from zope.testbrowser.
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.
from zope.testbrowser.
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).
from zope.testbrowser.
Thanks for the feedback. That seems totally fair :)
from zope.testbrowser.
A 5.0.0 release with Python 3 support is available now.
from zope.testbrowser.
Related Issues (20)
- displayValue setter silently ignores values which are not in displayOptions HOT 1
- Sphinx doctests are broken in Python 3 HOT 2
- Fix DeprecationWarnings
- Careless use of CSS selectors breaks with new BeautifulSoup HOT 1
- Tests are broken on master HOT 3
- Cookie tests fail in different locales
- ItemControl.click() lets you uncheck radio buttons
- getLink() used to see iframes, now it doesn't
- Value of unchecked checkboxes changed from False to [] in zope.testbrowser 5.0.0 HOT 2
- getControl('Label') cannot find hidden inputs any more
- .reload() fails if the previous request was a POST HOT 1
- .reload() does not follow redirects nor does it raise exceptions for bad HTTP statuses HOT 1
- getLink() used to consider the whole enclosed text content, now it only looks at the directly contained text
- Allow option to prevent auto redirection HOT 1
- Python 3.8 support HOT 2
- getLink now tests regexes using .match, not .search HOT 1
- getLink uses stale cached HTML after goBack
- Browser._preparedRequest is a bit overenthusiastic about setting Referer HOT 1
- Browser._findAllControls() has wrong behaviour with no-name inputs and checkboxes HOT 1
- Replace `.browser.SetattrErrorsMixin` with `__slots__`?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zope.testbrowser.