Aurélio A. Heckert wrote:
On Thu, Nov 27, 2008 at 5:22 PM, Jasper van de Gronde <th.v.d.gronde@...528...> wrote:
Aurélio A. Heckert wrote:
... There is no testing dots with Fails and Errors marks. There is only a compilation error trowing. :-(
What is wrong? The unity testing infrastructure is really working?
It used to :) Over the summer I worked on getting it into shape, and recently it still worked for me on Windows, but I currently can't test it on Linux myself. If you can be of any help in getting it working again that would be great (if it also fails on Windows I'll probably get around to having a look on Tuesday).
Ooh... I'm not the right guy to do that. :-/ But i believe in TDD and i think is important to make that back to work. Someone may do it?
I just tried simply compiling and running it on Windows and had no problems whatsoever (with latest SVN). (No problems means that the tests compile and run, not that they all succeed, actually quite a few fail.) What version of GCC are you using?
We may use a commit role: Comity only after the "make check" Ok! I and my friends use this role where i work, and is interesting to see how we do bad interactions with other unexpected peaces of code.
There is definitely something to be said for such schemes, but I don't think that in the context of Inkscape this is a realistic scenario. If all the tests would be successful to begin with it might be possible to enforce something like this using technical measures, but even then it is doubtful if it would be beneficial.
What I would like to do is raise "public" awareness of these tests, for example by letting the tests run periodically and generating automatic notifications if something suddenly fails (or succeeds!) that could be sent to the developer mailinglist or something like that. If you're interested in helping out with things like this or have some ideas of your own, you're more than welcome to help out!