Breaking changes:
- add item here
New features:
- add item here
Bug fixes:
- Loosened doctest assertions to keep up with Zope-side changes. [Rotonen]
- Fix most of the code smells Jenkins complains about.
- Fix the Zope exception hook when using the ZServer layer.
- Breaking changes:
- Only support
Zope >= 4
, no longer supportZope2
. - Drop support for Python 2.6.
- Only support
- No longer use deprecated import for getSite/setSite. [jensens]
- Update code to follow Plone styleguide. [gforcada]
- Do not break on import of
plone.testing.z2
when using zope.testbrowser >= 5.0 which no longer depends on mechanize.
- Fix for ZODB 5: Abort transaction before DB close. [jensens, jimfulton]
- Remove BBB code and imports for Zope < 2.13. [thet]
- Fix issue, which prevented using layered-helper on Python 3. [datakurre]
- Fix
.z2.Startup.setUpZCML()
to be compatible with Zope >= 4.0a2. [icemac] - Fix version pins on the package itself to be able to run the tests. [gforcada]
Rerelease of 4.2.0 as 5.0.0.
The version 4.2.0 had changed error handling in the public api, causing exceptions where before everything continued to work.
New:
- Refuse to work if user breaks test isolation. [do3cc]
- Check that tests don't run together with ZopeTestCase [do3cc]
Fixes:
- Fix tests for Zope 4, where the app root Control_Panel is not available anymore. [thet]
Fixes:
- Rename all txt doctest files to rst. Reformat doctests. [thet]
- PEP 8. [thet]
- Depend on zope.testrunner, which was moved out from zope.testing.testrunner. [thet]
- Add support for Zope 4. [thet]
- Prevent exception masking in finally clause of zopeApp context [do3cc]
- Rerelease for clarity due to double release of 4.0.13. [maurits]
- Added
multiinit
-parameter to z2.installProduct to allow multiple initialize methods for a package [tomgross]
- Really fix not to depend on unittest2. [icemac]
- Add tox.ini [icemac]
- Fixed AttributeError when importing
plone.testing.z2
ifzope.testbrowser
4.x is used but notzope.app.testing
. [icemac] - Broke dependency on unittest2 for Python 2.7+ as all features of unittest2 are integrated in unittest there. [icemac]
- Fix z2.txt doctest for FTP_SERVER. [timo]
- Read 'FTPSERVER_HOST' and 'FTPSERVER_PORT' from the environment variables if possible. This allows us to run tests in parallel on CI servers. [timo]
- Replace deprecated Zope2VocabularyRegistry import. [timo]
- Factor test request creation out of addRequestContainer into makeTestRequest. [davisagli]
- Fix quoting of urls by the testbrowser. [do3cc]
- Update manifest.in to include content in src directory. [esteele]
- Fixed an issue where a query string would be unquoted twice; once while setting up the HTTP request and once in the handler (the publisher). [malthe]
- Fixed the cache reset code. In some situations the function does not have any defaults, so we shouldn't try to clear out the app reference. [malthe]
- Fixed class names in documentation to match code. [icemac]
- The defaults of the
ZPublisher.Publish.get_module_info
function cache a reference to the app, so make sure that gets reset when tearing down the app. This fixes a problem where the testbrowser in the second functional layer to be set up accessed the database from the first functional layer. [davisagli]
- Moved readme file containing tests into the package, so tests can be run from released source distributions. Closes http://dev.plone.org/plone/ticket/11821. [hannosch]
- Relicense under BSD license. See http://plone.org/foundation/materials/foundation-resolutions/plone-framework-components-relicensing-policy [davisagli]
- Release 4.0 Final. [esteele]
- Add MANIFEST.in. [WouterVH]
- Fixed Browser cookies retrieval with Zope 2.13. [vincentfretin]
- Add
ZCMLSandbox
layer to load a ZCML file; replacessetUpZcmlFiles
andtearDownZcmlFiles
helper functions. [gotcha]
- Handle test failures due to userFolderAddUser returning the user object in newer versions of Zope. [esteele]
- Add
setUpZcmlFiles
andtearDownZcmlFiles
helpers to enable loading of ZCML files without too much boilerplate. [gotcha] - Add some logging. [gotcha]
- Add the
[security]
extra, to provide tear-down of security checkers. [optilude] - Let the
IntegrationTesting
andFunctionalTesting
lifecycle layers set up requestPARENTS
and, if present, wire upzope.globalrequest
. [optilude] - Make the test browser support IStreamIterators [optilude]
- Make sure ZCML doesn't load during App startup in Zope 2.13. [davisagli]
- Ignore the testinghome configuration setting if present. [stefan]
- Use the new API for getting the packages_to_initialize list in Zope 2.13. [davisagli]
- De-duplicate _register_monkies and _meta_type_regs in the correct module on teardown of the Startup layer in Zope 2.13. [davisagli]
- Allow doctest suites from zope.testing to work with plone.testing.layer.layered. Previously, only doctest suites from the stdlib would see the layer global. [nouri]
- Changed documentation to advertise the coverage library for running coverage tests instead of the built-in zope.testing support. This also avoids using z3c.coverage. The coverage tests now run at the same speed as a normal test run, making it more likely to get executed frequently. [hannosch]
- Correct license to GPL version 2 only. [hannosch]
- Fix some user id vs name confusion. [rossp]
- Add the option to specify ZServer host and port through environment variables - ZSERVER_HOST and ZSERVER_PORT). [esteele]
- Fix a problem that would cause
<meta:redefinePermission />
to break. In particular fixes the use of thezope2.Public
permission. [optilude] - Set the security implementation to "Python" for easier debugging during the z2.STARTUP layer. [optilude]
- Initialize Five in the z2.Startup layer, pushing a Zope2VocabularyRegistry on layer set-up and restoring the previous one upon tear-down. [dukebody]
- Initial release