Plattform independent Test Cases
Volker Kleinfeld
volker.kleinfeld at gmx.de
Thu Sep 29 14:06:31 CDT 2005
> On Thu, Sep 29, 2005 at 11:28:43AM +0200, Thomas Arendsen Hein wrote:
> > * Volker Kleinfeld <Volker.Kleinfeld at gmx.de> [20050920 20:46]:
> > > the current test case suite is based on shell scripts,
> > > which make the test execution unix dependend. It would
> > > be great to have a more pythonic way to run
> > > test e.g the use of unittest in connection with a module
> > > encapsulating shell commands ....
> >
> > Having real unit tests in addition to the current kind of testing
> > the complete program would be a benefit, not only for windows.
> We do have real unit tests, just not many of them. See test-bdiff.
Actualy I was not so after the discussion whether mercurial should
be tested in a blackbox or whitebox approach. I agree with you that
both approaches have there benefits.
I also agree with Thomas earlier statement that the existing test
cases should be further maintained, but I was hoping they can be
migrated to a more pythonic way. I wrote few lines going down this
path, but nothing I would dare to sent around yet.
/Volker
More information about the Mercurial
mailing list