Entries For: April 2007
2007-04-04
Report from the Sorrento sprint
We spent a nice week in the beautiful region of Sorrento, Italy. For KSS, the sprint was a great success, even more than we had anticipated.
We arrived with a lot of to-do tasks and open bugs to the location. Since we recently realized that we are fixing the same bugs over and over again, the motto of this sprint was "tests, tests, tests". This means that we extend the selenium tests to cover the entire Plone application part of KSS and soon we will be able to run these tests in an automated manner with our kissbot.
We introduced KSS to a lot of developers, most of whom encountered the technology for the first time. After a one day tutorial, they were immediately able to start fixing issues and developing new functionality themselves. In addition, this time we also required that for each fix the corresponding tests must be written as well.
Writing selenium tests was a lot of fun and sometimes we encountered difficulties. It seems that we will soon need to make our life easier and improve this process. But we do not even stop here. We will make the creation of selenium tests as mandatory developer policy, accompanied with tests on different levels:
- functional doctests to test if a given html class or id, that is needed to activate kss, is present in a template,
- unittests that simulate the client's call to a kss server action, and check the command response that would be marshalled to the client.
A lot of issues were fixed or had a good progress, including the following ones:
- Enter and Escape works correctly for in-line editing, including Safari! (Simone Deponti, congratulations.)
- The zope3 event handling to refresh screen regions if content is edited, is fixed to work with the portlets engine again. (Rosario Di Somma, Simone Deponti)
- Fixed issues with the links in the body view of content. For this a new option created that can be used to prevent the bubbling of events. (Fabrizio Reale, Davide Moro)
- Fixed issues with the content menus to change the review state and the default display view (Massimo Azzolini, Rosario Di Somma). This involved improving the refresh of the content menu. (Jean-François Roche)
- Improved our test infrastructure which now use layers correctly (Daniel Nouri)
- Made the first functional doctest to check html ids and classes (Fabrizio Reale, Daniel Nouri)
- Kss-ify Contentrules; this involved using macros from a Zope 3 view (David Convent, Daniel Nouri)
- Kss-ify locking support (Jean-François Roche)
- Refreshing screen regions with viewlets (Jean-François Roche)
In addition, many more developers helped checking bugfixes and writing more tests. We also had a bugday fully dedicated to Internet Explorer, and we also discovered a code clash with kupu concerning the usage of the sarissa javascript library. This is yet to be solved later.
I believe this sprint was a milestone for this year and its success comparable with last year's BubbleNet sprint. I would like to thank to everyone for the great work we could achieve together for KSS and Plone.