-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump zope.testrunner / fix test isolation problems #155
Conversation
Ok, so nothing wrong: jenkins does something like:
On the pull request job it already gives an (unrelated) error on the third command (bin/alltest --all) and for whichever reason the build stops and does not run the last command. |
My finding so far on what's failing: the errors are while running Products.CMFDiffTool and plone.app.testing tests. It looks like there are layer setup/teardown mistakes in CMFDiffTool: On zope.testrunner 4.4.4 the AT layer is the first layer to be run, works perfectly and the rest of the layers run fine as well. On zope.testrunner > 4.4.4 the AT layer is ran after other layers have been executed and it fails with a Minimal way to trigger it:
|
We see these kind of problems all the time. Most of our old tests just pass because they are ran in a specific order. Changing the order when older packages are involved almost always leads to problems. We have tons of test isolation issues hidden in our setup. So far we were just able to fix the most obvious ones. The error "ValueError: undefined property 'content_meta_type'" is also well known. See plone/Products.CMFPlone#382 for details. |
@tisto ok, thanks, so at least I'm right on diagnosing the problem. I will try to work on it if nobody is faster than me :-) |
12d9a03
to
6b67c85
Compare
Important progress update. |
I am giving up here for now.
Mac specific! Without a real counting, just by looking, it seems that about 10% of packages use both systems. I can't just kick them all out :-( They all need to be converted to plone.app.testing, step by step. |
The packages with problems and the script to find them. Only on mac
@gforcada moved the list of packages on the first message, so that github show the nice progress bar |
@do3cc could we add a command line switch to plone.app.testing to log somewhere which tests use ZopeTestCase? That would make things much easier to know what has to be fixed/changed, as it is not as simple as to grep through a package looking for ZopeTestCase. plone.app.testing has a bbb module that uses ZopeTestCase... |
You mean the test runner itself, no? You can find out from the output of the testrunner. The patching happens in the zopelite Layer. So you look for setup ZopeLite and then for the next occurrence of Running...tests above that line Von meinem iPhone gesendet Am 30.01.2016 um 02:48 schrieb Gil Forcada Codinachs <notifications@github.commailto:notifications@github.com>: @do3cchttps://github.com/do3cc could we add a command line switch to plone.app.testing to log somewhere which tests use ZopeTestCase? That would make things much easier to know what has to be fixed/changed, as it is not as simple as to grep through a package looking for ZopeTestCase. plone.app.testing has a bbb modulehttps://github.com/plone/plone.app.testing/blob/master/plone/app/testing/bbb.py that uses ZopeTestCase... Reply to this email directly or view it on GitHubhttps://github.com//pull/155#issuecomment-177044675. ________________________________________________________ The contents of this e-mail and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this e-mail is received in error, please immediately notify the sender and delete the e-mail and attached documents. Please note that neither the sender nor the sender's company accept any responsibility for viruses and it is your responsibility to scan or otherwise check this e-mail and any attachments. |
@do3cc yes sorry, you are totally right (writing at 3AM is probably not the best time :-), zope.testrunner should have this option. |
The But still: A registered type should not leak to other tests. |
I guess some caching of stuff happens in GS |
This will help identify all tests that rely on it. Specially meant for plone/buildout.coredev#155
I just thought, that specially for the tests that are not directly importing/deriving from ZopeTestCase, but instead doing it through plone.app.testing.bbb module, this branch can be really helpful identifying all tests that need to be updated: plone/plone.app.testing@7259887 |
Branch: refs/heads/master Date: 2017-07-18T11:58:09+02:00 Author: Christian Geier (geier) <geier@lostpackets.de> Commit: collective/icalendar@9a03ff1 Allow ignoring of TZ offsets > 24h fixes #155 Files changed: M CHANGES.rst M src/icalendar/prop.py M src/icalendar/tests/test_unit_cal.py Repository: icalendar Branch: refs/heads/master Date: 2017-08-16T23:35:39+02:00 Author: Christian Geier (geier) <github@lostpackets.de> Commit: collective/icalendar@68e33af Merge pull request #235 from collective/fix/155 Allow ignoring of TZ offsets > 24h Files changed: M CHANGES.rst M src/icalendar/prop.py M src/icalendar/tests/test_unit_cal.py
Branch: refs/heads/master Date: 2018-04-04T00:57:10+02:00 Author: Gil Forcada (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.upgrade@2dd2203 Update i18n domain for some actions See plone/plone.app.event#204 Files changed: A plone/app/upgrade/v51/final.py M CHANGES.rst M plone/app/upgrade/v51/configure.zcml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-04-09T10:59:32+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.upgrade@25ef84d Merge pull request #155 from plone/gforcada-update-domain Update i18n domain for some actions Files changed: A plone/app/upgrade/v51/final.py M CHANGES.rst M plone/app/upgrade/v51/configure.zcml
Branch: refs/heads/master Date: 2018-04-04T00:57:10+02:00 Author: Gil Forcada (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.upgrade@2dd2203 Update i18n domain for some actions See plone/plone.app.event#204 Files changed: A plone/app/upgrade/v51/final.py M CHANGES.rst M plone/app/upgrade/v51/configure.zcml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-04-09T10:59:32+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.upgrade@25ef84d Merge pull request #155 from plone/gforcada-update-domain Update i18n domain for some actions Files changed: A plone/app/upgrade/v51/final.py M CHANGES.rst M plone/app/upgrade/v51/configure.zcml
Branch: refs/heads/master Date: 2018-04-04T00:57:10+02:00 Author: Gil Forcada (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.upgrade@2dd2203 Update i18n domain for some actions See plone/plone.app.event#204 Files changed: A plone/app/upgrade/v51/final.py M CHANGES.rst M plone/app/upgrade/v51/configure.zcml Repository: plone.app.upgrade Branch: refs/heads/master Date: 2018-04-09T10:59:32+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.upgrade@25ef84d Merge pull request #155 from plone/gforcada-update-domain Update i18n domain for some actions Files changed: A plone/app/upgrade/v51/final.py M CHANGES.rst M plone/app/upgrade/v51/configure.zcml
Branch: refs/heads/master Date: 2018-09-12T15:45:22+02:00 Author: Peter Holzer (agitator) <peter.holzer@agitator.com> Commit: plone/plonetheme.barceloneta@62cb35c Integrated plone.app.event styles and further cleanup. Files changed: M CHANGES.rst M plonetheme/barceloneta/theme/less/barceloneta-compiled.css M plonetheme/barceloneta/theme/less/barceloneta-compiled.css.map M plonetheme/barceloneta/theme/less/event.plone.less M plonetheme/barceloneta/theme/less/main.plone.less M plonetheme/barceloneta/theme/less/portlets.plone.less M plonetheme/barceloneta/theme/less/type.plone.less M setup.py Repository: plonetheme.barceloneta Branch: refs/heads/master Date: 2018-09-14T10:15:50+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plonetheme.barceloneta@10bc749 Merge pull request #155 from 'event-styles' Files changed: M CHANGES.rst M plonetheme/barceloneta/theme/less/barceloneta-compiled.css M plonetheme/barceloneta/theme/less/barceloneta-compiled.css.map M plonetheme/barceloneta/theme/less/event.plone.less M plonetheme/barceloneta/theme/less/main.plone.less M plonetheme/barceloneta/theme/less/portlets.plone.less M plonetheme/barceloneta/theme/less/type.plone.less M setup.py
Branch: refs/heads/master Date: 2018-09-12T15:45:22+02:00 Author: Peter Holzer (agitator) <peter.holzer@agitator.com> Commit: plone/plonetheme.barceloneta@62cb35c Integrated plone.app.event styles and further cleanup. Files changed: M CHANGES.rst M plonetheme/barceloneta/theme/less/barceloneta-compiled.css M plonetheme/barceloneta/theme/less/barceloneta-compiled.css.map M plonetheme/barceloneta/theme/less/event.plone.less M plonetheme/barceloneta/theme/less/main.plone.less M plonetheme/barceloneta/theme/less/portlets.plone.less M plonetheme/barceloneta/theme/less/type.plone.less M setup.py Repository: plonetheme.barceloneta Branch: refs/heads/master Date: 2018-09-14T10:15:50+02:00 Author: Sune Broendum Woeller (sunew) <sune@woeller.dk> Commit: plone/plonetheme.barceloneta@10bc749 Merge pull request #155 from 'event-styles' Files changed: M CHANGES.rst M plonetheme/barceloneta/theme/less/barceloneta-compiled.css M plonetheme/barceloneta/theme/less/barceloneta-compiled.css.map M plonetheme/barceloneta/theme/less/event.plone.less M plonetheme/barceloneta/theme/less/main.plone.less M plonetheme/barceloneta/theme/less/portlets.plone.less M plonetheme/barceloneta/theme/less/type.plone.less M setup.py
Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@1ca7ff6 fix comparing string to int in py3 Files changed: M plone/app/content/browser/templates/content_status_history.pt Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@1820684 fix dumping VocabLookupException in py3 Files changed: M plone/app/content/browser/vocabulary.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Thomas Lotze (tlotze) <thomas@thomas-lotze.net> Commit: plone/plone.app.content@200a03e update deprecated assert method calls Files changed: M plone/app/content/tests/test_folder.py M plone/app/content/tests/test_widgets.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@8e176b2 fix ObjectCutView in py3 Files changed: M plone/app/content/browser/actions.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@4f7fb87 add forgotten import Files changed: M plone/app/content/browser/actions.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@6a42ccb fix all tests for py3 Files changed: M plone/app/content/basecontent.rst M plone/app/content/browser/contents/paste.py M plone/app/content/browser/contents/rename.py M plone/app/content/browser/tableview.py M plone/app/content/container.py M plone/app/content/namechooser.txt M plone/app/content/testing.py M plone/app/content/tests/test_actions.py M plone/app/content/tests/test_adding.py M plone/app/content/tests/test_folder.py M plone/app/content/tests/test_reviewlist.py M plone/app/content/tests/test_selectdefaultpage.py M plone/app/content/tests/test_widgets.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@63541ae fix behavior-tuple Files changed: M plone/app/content/tests/test_contents.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:41:10+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@1819ec7 add changenote and classifiers Files changed: M CHANGES.rst M setup.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-17T06:18:22+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@6a09f21 Merge pull request #155 from plone/python3 Python3 Files changed: M CHANGES.rst M plone/app/content/basecontent.rst M plone/app/content/browser/actions.py M plone/app/content/browser/contents/paste.py M plone/app/content/browser/contents/rename.py M plone/app/content/browser/tableview.py M plone/app/content/browser/templates/content_status_history.pt M plone/app/content/browser/vocabulary.py M plone/app/content/container.py M plone/app/content/namechooser.txt M plone/app/content/testing.py M plone/app/content/tests/test_actions.py M plone/app/content/tests/test_adding.py M plone/app/content/tests/test_contents.py M plone/app/content/tests/test_folder.py M plone/app/content/tests/test_reviewlist.py M plone/app/content/tests/test_selectdefaultpage.py M plone/app/content/tests/test_widgets.py M setup.py
Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@1ca7ff6 fix comparing string to int in py3 Files changed: M plone/app/content/browser/templates/content_status_history.pt Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@1820684 fix dumping VocabLookupException in py3 Files changed: M plone/app/content/browser/vocabulary.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Thomas Lotze (tlotze) <thomas@thomas-lotze.net> Commit: plone/plone.app.content@200a03e update deprecated assert method calls Files changed: M plone/app/content/tests/test_folder.py M plone/app/content/tests/test_widgets.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@8e176b2 fix ObjectCutView in py3 Files changed: M plone/app/content/browser/actions.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@4f7fb87 add forgotten import Files changed: M plone/app/content/browser/actions.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@6a42ccb fix all tests for py3 Files changed: M plone/app/content/basecontent.rst M plone/app/content/browser/contents/paste.py M plone/app/content/browser/contents/rename.py M plone/app/content/browser/tableview.py M plone/app/content/container.py M plone/app/content/namechooser.txt M plone/app/content/testing.py M plone/app/content/tests/test_actions.py M plone/app/content/tests/test_adding.py M plone/app/content/tests/test_folder.py M plone/app/content/tests/test_reviewlist.py M plone/app/content/tests/test_selectdefaultpage.py M plone/app/content/tests/test_widgets.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:33:56+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@63541ae fix behavior-tuple Files changed: M plone/app/content/tests/test_contents.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-16T18:41:10+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@1819ec7 add changenote and classifiers Files changed: M CHANGES.rst M setup.py Repository: plone.app.content Branch: refs/heads/master Date: 2018-09-17T06:18:22+02:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/plone.app.content@6a09f21 Merge pull request #155 from plone/python3 Python3 Files changed: M CHANGES.rst M plone/app/content/basecontent.rst M plone/app/content/browser/actions.py M plone/app/content/browser/contents/paste.py M plone/app/content/browser/contents/rename.py M plone/app/content/browser/tableview.py M plone/app/content/browser/templates/content_status_history.pt M plone/app/content/browser/vocabulary.py M plone/app/content/container.py M plone/app/content/namechooser.txt M plone/app/content/testing.py M plone/app/content/tests/test_actions.py M plone/app/content/tests/test_adding.py M plone/app/content/tests/test_contents.py M plone/app/content/tests/test_folder.py M plone/app/content/tests/test_reviewlist.py M plone/app/content/tests/test_selectdefaultpage.py M plone/app/content/tests/test_widgets.py M setup.py
Branch: refs/heads/master Date: 2018-12-31T00:13:23+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.theming@2605734 test_transform: import transaction globally, instead of 30 times. Files changed: M src/plone/app/theming/tests/test_transform.py Repository: plone.app.theming Branch: refs/heads/master Date: 2018-12-31T00:27:03+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.theming@d2ef2f0 Fixed ResourceWarnings for unclosed files in tests. Files changed: A news/154.bugfix M src/plone/app/theming/tests/test_transform.py Repository: plone.app.theming Branch: refs/heads/master Date: 2019-01-01T21:35:58+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.theming@9a979ff Merge pull request #155 from plone/issue-154-open-files Fixed ResourceWarnings for unclosed files in tests. Files changed: A news/154.bugfix M src/plone/app/theming/tests/test_transform.py
Branch: refs/heads/master Date: 2021-09-15T22:25:16+02:00 Author: Érico Andrei (ericof) <ericof@gmail.com> Commit: plone/plone.app.portlets@fb648f6 Fix #155: Remove cyclic dependency with plone.app.event. Files changed: A news/155.bugfix M setup.py Repository: plone.app.portlets Branch: refs/heads/master Date: 2021-09-16T00:23:34+02:00 Author: Érico Andrei (ericof) <ericof@gmail.com> Commit: plone/plone.app.portlets@1a3c1dd Merge pull request #156 from plone/issue-155-remove-cyclic-dependency Remove cyclic dependency with plone.app.event. Files changed: A news/155.bugfix M setup.py
Branch: refs/heads/master Date: 2021-09-21T12:05:36+02:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.dexterity@9cabb70 Fix recursion in FTI lookup Files changed: A news/155.bugfix M plone/dexterity/content.py Repository: plone.dexterity Branch: refs/heads/master Date: 2021-09-21T12:06:10+02:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.dexterity@4caa6a9 fix tests and enable FTI lookup caching in tests by providing a global TestRequest Files changed: M plone/dexterity/content.py M plone/dexterity/tests/case.py M plone/dexterity/tests/test_content.py M plone/dexterity/tests/test_schema_cache.py M plone/dexterity/tests/test_security.py Repository: plone.dexterity Branch: refs/heads/master Date: 2021-09-21T12:13:12+02:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.dexterity@a679a8e rethink recursion fix -> catch earlier instead of caching FTI lookup Files changed: M news/155.bugfix M plone/dexterity/content.py Repository: plone.dexterity Branch: refs/heads/master Date: 2021-09-27T10:36:23+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.dexterity@b004e2f Merge pull request #155 from plone/fix-plone-dx-siteroot-recursion Fix recursion in FTI lookup Files changed: A news/155.bugfix M plone/dexterity/content.py M plone/dexterity/tests/case.py M plone/dexterity/tests/test_content.py M plone/dexterity/tests/test_schema_cache.py M plone/dexterity/tests/test_security.py
Branch: refs/heads/master Date: 2021-09-21T12:05:36+02:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.dexterity@9cabb70 Fix recursion in FTI lookup Files changed: A news/155.bugfix M plone/dexterity/content.py Repository: plone.dexterity Branch: refs/heads/master Date: 2021-09-21T12:06:10+02:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.dexterity@4caa6a9 fix tests and enable FTI lookup caching in tests by providing a global TestRequest Files changed: M plone/dexterity/content.py M plone/dexterity/tests/case.py M plone/dexterity/tests/test_content.py M plone/dexterity/tests/test_schema_cache.py M plone/dexterity/tests/test_security.py Repository: plone.dexterity Branch: refs/heads/master Date: 2021-09-21T12:13:12+02:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.dexterity@a679a8e rethink recursion fix -> catch earlier instead of caching FTI lookup Files changed: M news/155.bugfix M plone/dexterity/content.py Repository: plone.dexterity Branch: refs/heads/master Date: 2021-09-27T10:36:23+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.dexterity@b004e2f Merge pull request #155 from plone/fix-plone-dx-siteroot-recursion Fix recursion in FTI lookup Files changed: A news/155.bugfix M plone/dexterity/content.py M plone/dexterity/tests/case.py M plone/dexterity/tests/test_content.py M plone/dexterity/tests/test_schema_cache.py M plone/dexterity/tests/test_security.py
Branch: refs/heads/master Date: 2023-03-23T10:00:56+01:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.app.z3cform@bb8efeb takeover plone.app.widgets utils and base classes Files changed: A plone/app/z3cform/converters.zcml A plone/app/z3cform/tests/test_utils_patterns.py A plone/app/z3cform/tests/test_widgets_patterns.py A plone/app/z3cform/widgets.zcml A plone/app/z3cform/widgets/__init__.py A plone/app/z3cform/widgets/base.py A plone/app/z3cform/widgets/datetime.py A plone/app/z3cform/widgets/link.py A plone/app/z3cform/widgets/patterns.py A plone/app/z3cform/widgets/querystring.py A plone/app/z3cform/widgets/relateditems.py A plone/app/z3cform/widgets/richtext.py A plone/app/z3cform/widgets/select.py A plone/app/z3cform/widgets/singlecheckbox.py M plone/app/z3cform/configure.zcml M plone/app/z3cform/tests/test_widgets.py M plone/app/z3cform/utils.py M plone/app/z3cform/widget.py D plone/app/z3cform/widget.zcml Repository: plone.app.z3cform Branch: refs/heads/master Date: 2023-03-23T10:01:26+01:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.app.z3cform@2db4edf do not depend on plone.app.widgets anymore Files changed: M setup.py Repository: plone.app.z3cform Branch: refs/heads/master Date: 2023-03-23T10:01:26+01:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.app.z3cform@e55bdf4 changenote Files changed: A news/19.feature Repository: plone.app.z3cform Branch: refs/heads/master Date: 2023-03-23T10:01:26+01:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.app.z3cform@df1dac2 fix import and mocked querystring_options in patterns tests Files changed: A plone/app/z3cform/tests/test_patterns.py M plone/app/z3cform/tests/test_widgets.py D plone/app/z3cform/tests/test_utils_patterns.py D plone/app/z3cform/tests/test_widgets_patterns.py Repository: plone.app.z3cform Branch: refs/heads/master Date: 2023-03-23T10:09:04+01:00 Author: Peter Mathis (petschki) <peter.mathis@kombinat.at> Commit: plone/plone.app.z3cform@0329dbc run `tox -e format` and fix `tox -e lint` Files changed: M plone/app/z3cform/converters.zcml M plone/app/z3cform/tests/test_patterns.py M plone/app/z3cform/tests/test_widgets.py M plone/app/z3cform/utils.py M plone/app/z3cform/widget.py M plone/app/z3cform/widgets.zcml M plone/app/z3cform/widgets/datetime.py M plone/app/z3cform/widgets/patterns.py M plone/app/z3cform/widgets/querystring.py M plone/app/z3cform/widgets/relateditems.py M plone/app/z3cform/widgets/richtext.py Repository: plone.app.z3cform Branch: refs/heads/master Date: 2023-04-21T20:45:59+02:00 Author: Fred van Dijk (fredvd) <fredvd@gmail.com> Commit: plone/plone.app.z3cform@d822d7c Merge branch 'master' into deprecate-plone-app-widgets Files changed: M .meta.toml M .pre-commit-config.yaml M CHANGES.rst M plone/app/z3cform/interfaces.py M setup.py M tox.ini D news/160.bugfix D news/243ca9ec.internal Repository: plone.app.z3cform Branch: refs/heads/master Date: 2023-04-23T09:22:27+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.app.z3cform@b45d041 Merge pull request #155 from plone/deprecate-plone-app-widgets Deprecate `plone.app.widgets` Files changed: A news/19.feature A plone/app/z3cform/converters.zcml A plone/app/z3cform/tests/test_patterns.py A plone/app/z3cform/widgets.zcml A plone/app/z3cform/widgets/__init__.py A plone/app/z3cform/widgets/base.py A plone/app/z3cform/widgets/datetime.py A plone/app/z3cform/widgets/link.py A plone/app/z3cform/widgets/patterns.py A plone/app/z3cform/widgets/querystring.py A plone/app/z3cform/widgets/relateditems.py A plone/app/z3cform/widgets/richtext.py A plone/app/z3cform/widgets/select.py A plone/app/z3cform/widgets/singlecheckbox.py M plone/app/z3cform/configure.zcml M plone/app/z3cform/tests/test_widgets.py M plone/app/z3cform/utils.py M plone/app/z3cform/widget.py M setup.py D plone/app/z3cform/widget.zcml
Branch: refs/heads/master Date: 2024-02-10T22:24:50-08:00 Author: David Glick (davisagli) <david@glicksoftware.com> Commit: plone/plone.app.robotframework@ddf971b Fix printing the server URL in non-reload mode Files changed: M src/plone/app/robotframework/server.py Repository: plone.app.robotframework Branch: refs/heads/master Date: 2024-02-10T22:28:11-08:00 Author: David Glick (davisagli) <david@glicksoftware.com> Commit: plone/plone.app.robotframework@88aa6cb changelog Files changed: A news/155.bugfix Repository: plone.app.robotframework Branch: refs/heads/master Date: 2024-02-10T22:28:48-08:00 Author: David Glick (davisagli) <david@glicksoftware.com> Commit: plone/plone.app.robotframework@a006356 lint Files changed: M src/plone/app/robotframework/server.py Repository: plone.app.robotframework Branch: refs/heads/master Date: 2024-02-11T15:17:34-08:00 Author: David Glick (davisagli) <david@glicksoftware.com> Commit: plone/plone.app.robotframework@7e77733 Merge pull request #155 from plone/fix-print-server-url Fix printing the server URL in non-reload mode Files changed: A news/155.bugfix M src/plone/app/robotframework/server.py
Branch: refs/heads/master Date: 2024-02-10T22:24:50-08:00 Author: David Glick (davisagli) <david@glicksoftware.com> Commit: plone/plone.app.robotframework@ddf971b Fix printing the server URL in non-reload mode Files changed: M src/plone/app/robotframework/server.py Repository: plone.app.robotframework Branch: refs/heads/master Date: 2024-02-10T22:28:11-08:00 Author: David Glick (davisagli) <david@glicksoftware.com> Commit: plone/plone.app.robotframework@88aa6cb changelog Files changed: A news/155.bugfix Repository: plone.app.robotframework Branch: refs/heads/master Date: 2024-02-10T22:28:48-08:00 Author: David Glick (davisagli) <david@glicksoftware.com> Commit: plone/plone.app.robotframework@a006356 lint Files changed: M src/plone/app/robotframework/server.py Repository: plone.app.robotframework Branch: refs/heads/master Date: 2024-02-11T15:17:34-08:00 Author: David Glick (davisagli) <david@glicksoftware.com> Commit: plone/plone.app.robotframework@7e77733 Merge pull request #155 from plone/fix-print-server-url Fix printing the server URL in non-reload mode Files changed: A news/155.bugfix M src/plone/app/robotframework/server.py
Applies back #72 after it was reverted on #154.
@do3cc nailed why a minor version bump of zope.testrunner makes our tests fail: mixing ZopeTestCase and plone.app.testing within the same distribution renders all its tests unstable.
Note that fixing these test isolation problems not only has the benefit of having more robust tests, but at the same time our test infrastructure will be way more easy (and with that making it far easier to reproduce bugs that are only triggered in Jenkins).
Another nice bonus is that unit tests will run first and thus early feedback if you are already expecting failures.
Lastly a slight increase on speed, due to less layer setup and teardown should be observed as well.
The list of packages affected are:
please create separate tickets for each of them and link them back here so we can keep track of it