Re: [Zope3-dev] zc.testbrowser alpha 1 released
hey benji, do you see a chance to use zc.testbrowser on remote (headless) machines in combination with buildbot? jodok On 28.09.2007, at 16:06, Benji York wrote: zc.testbrowser 1.0a1 I am very pleased to announce the first alpha release of zc.testbrowser: http://pypi.python.org/pypi/zc.testbrowser zc.testbrowser is a refactoring of zope.testbrowser to remove the Zope-specific bits plus the addition of the zc.testbrowser.real module. Testbrowser Real zc.testbrowser.real lets you use the testbrowser API to drive a real web browser; at the moment Firefox (but we may add support for others in the future). This lets you do testing of JavaScript heavy web applications with testbrowser (and doctests, of course). I envision people often beginning tests using the regular testbrowser, realizing the test/documentation they want to write needs JS, and then switching their test to use real and not having to change the already written parts of the doctest. Screen Shots One other feature of zc.testbrowser.real is the ability to save the current web page to a PNG file. This should be very useful for creating user manuals with embedded screen shots. Thanks -- Many, many thanks to my partners in crime at the Foliage Sprint: Stephan Richter, Rocky Burt, and Justas Sadzevičius. Bikeshedding Request Even though I coined it, I don't really like the name real. I'd like suggestions that are short, pithy, and descriptive if anyone has any. Along the same lines, any suggestions for a new name for zc.testbrowser.browser (the classic testbrowser) would be appreciated as well. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/batlogg.lists% 40lovelysystems.com -- Complex is better than complicated. -- The Zen of Python, by Tim Peters Jodok Batlogg, Lovely Systems Schmelzhütterstraße 26a, 6850 Dornbirn, Austria phone: +43 5572 908060, fax: +43 5572 908060-77 smime.p7s Description: S/MIME cryptographic signature ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] zc.testbrowser alpha 1 released
Christian Theune wrote: Annotation to the bikeshed: If we want to avoid having to rewrite tests for real or unreal test browsers, I would avoid having to call two separate browser factories but let something like the test layer handle which one is used, that way you could easily switch. Yep, I'm glad you mentioned it. I plan to rework the doctests to be more documenty in the near future and will mention this as a best practice. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] zc.testbrowser alpha 1 released
zc.testbrowser 1.0a1 I am very pleased to announce the first alpha release of zc.testbrowser: http://pypi.python.org/pypi/zc.testbrowser zc.testbrowser is a refactoring of zope.testbrowser to remove the Zope-specific bits plus the addition of the zc.testbrowser.real module. Testbrowser Real zc.testbrowser.real lets you use the testbrowser API to drive a real web browser; at the moment Firefox (but we may add support for others in the future). This lets you do testing of JavaScript heavy web applications with testbrowser (and doctests, of course). I envision people often beginning tests using the regular testbrowser, realizing the test/documentation they want to write needs JS, and then switching their test to use real and not having to change the already written parts of the doctest. Screen Shots One other feature of zc.testbrowser.real is the ability to save the current web page to a PNG file. This should be very useful for creating user manuals with embedded screen shots. Thanks -- Many, many thanks to my partners in crime at the Foliage Sprint: Stephan Richter, Rocky Burt, and Justas Sadzevičius. Bikeshedding Request Even though I coined it, I don't really like the name real. I'd like suggestions that are short, pithy, and descriptive if anyone has any. Along the same lines, any suggestions for a new name for zc.testbrowser.browser (the classic testbrowser) would be appreciated as well. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] zc.testbrowser alpha 1 released
Am Freitag, den 28.09.2007, 10:06 -0400 schrieb Benji York: zc.testbrowser 1.0a1 I am very pleased to announce the first alpha release of zc.testbrowser: http://pypi.python.org/pypi/zc.testbrowser zc.testbrowser is a refactoring of zope.testbrowser to remove the Zope-specific bits plus the addition of the zc.testbrowser.real module. w00t! I'm so happy that your plans worked out as you were trying this for quite some time already. Congratulations and thanks to everyone on that! Christian Annotation to the bikeshed: If we want to avoid having to rewrite tests for real or unreal test browsers, I would avoid having to call two separate browser factories but let something like the test layer handle which one is used, that way you could easily switch. Making it an option to the test runner might work too. -- gocept gmbh co. kg - forsterstrasse 29 - 06112 halle/saale - germany www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 - fax +49 345 122 9889 1 - zope and plone consulting and development signature.asc Description: Dies ist ein digital signierter Nachrichtenteil ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com