New testing framework

Martin Geisler mg at lazybytes.net
Mon Jun 14 17:49:48 CDT 2010


Matt Mackall <mpm at selenic.com> writes:

> But I'm also not at all wed to the damned Bourne shell. All I want is
> something that looks enough like it so that things that look like
> trivial shell scripts (ie 2/3rds of the test suite) continue to work.
> If you can make something that lets us do:
>
> hgt.dumbshell("""
> mkdir a
> cd a
> hg init a
> echo a > a
> hg ci -Am "this is a test"
> hg log
> """)
>
> and does the appropriate things (preferably with built-ins) on Windows
> and Unix, then you have my attention.

Agreed -- this was what I suggested, with the added detail of merging
the script with the expected output.

-- 
Martin Geisler

See my Mercurial presentation: http://vimeo.com/11497288
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100615/34c81882/attachment.pgp>


More information about the Mercurial-devel mailing list