[Buildbot-devel] Request For Comments/Review : Console view
Dustin J. Mitchell
dustin at zmanda.com
Fri Jul 17 16:27:34 UTC 2009
On Fri, Jul 17, 2009 at 11:16 AM, Nicolas Sylvain<nsylvain at chromium.org> wrote:
> I was thinking about that too. Do you have an idea about the best way of
> testing such things? I was thinking about having a small test master with
> some data in it, and having a way to generate a json file or csv file with
> the color of each box, and compare it with what I expect. this is not great
> though. (and a lot of work) I'm not really familiar with the current
> buildbot unittests, but I heard it's pretty limited.
I don't have a good answer to this question, which is why I didn't
suggest unit tests.
I think that, at worst, a test that fires up a master, requests a
page, and asserts that it returns 200 OK would be worthwhile for the
effort it would require, since it would exercise the console code at
least a little bit.
I'll see if I can whip that up, and also stare at the code for a while.
Open Source Storage Engineer
More information about the devel