Hi Vincent,
Vincent Massol wrote:
Hi everyone,
I don't know if you're like me but I have the strong feeling we should
be better at not introducing regressions. One of the goal of XE 1.3
and now again XE 1.4 was more stability and more automated tests.
Several potential problems are occurring now:
[...]
4) We're committing more code than tests meaning the overall quality
of XWiki is degrading :(
not really adequate to the topic of the thread, but also an important
aspect:
From my experiment in developing a plugin for XWiki (an
additional link
filter, in fact), I observed some design flaws in the core, that
make it
very hard to test single components/classes without having dependencies
to the whole system including the database stuff.
Some few design changes and refactorings in the core could improve the
testability strongly. If you (or other commiters) are interested in,
I'll give you you some examples...
Thus I'd like to propose that:
A) We become very very careful when committing things and we only
commit when we can *guarantee* that what we've done is working (with a
given level of confidence of course). This can only be achieved
through tests being committed at the same time as the code is committed
[...]
C) In general we reduce the number of changes that we commit and
instead we focus on tests and stability. This is indeed one of the
general goals for 1.4.
WDYT?
+1
-Marco