[Python-Dev] sprints and pushes
Tres Seaver
tseaver at palladion.com
Wed Mar 23 18:58:31 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/23/2011 01:24 PM, Antoine Pitrou wrote:
> On Wed, 23 Mar 2011 10:25:01 -0700
> Ethan Furman <ethan at stoneleaf.us> wrote:
>>
>> I think the use-case has been lost. Think sprints and multiple push
>> races. No one is arguing that the smoke-test should be the default, but
>> seriously, are you willing to spend an hour or more re-running the
>> complete suite of tests six, eight, or 12 times because of push races in
>> a sprint? I can see losing a good portion of your sprinting day.
>
> Well, keep in ming hg is a *distributed* version control system. You
> don't have to push your changes right now. You can keep your changesets
> for yourself, make several of them (different bug fixes, for example),
> and push them (after a single merge) at the end of day.
That doesn't work so well at a sprint, where the point is to maximize
the value of precious face-time to get stuff done *now*. Long test
latencies and nearly-real-time collaboration are not friendly, as the
agile folks document:
http://c2.com/cgi/wiki?TestSpeed
Maybe we need to chop the problem up as:
- - Pure documentation changes never require running any test suite
(this includes true comments in code, as well as docstrings which
are not used to drive doctests or other tested output).
- - "core" language changes always require running the full test suite.
- - We compute an import-dependency map for the stdlib (maybe during
build?), and add support for running tests of a named module and its
dependents. Any non-documentation change to a stdlib module requires
running this new kind of test against that module.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk2KNMcACgkQ+gerLs4ltQ7yCwCfbqhYut0F4L3f92mXwB5SZZ8s
qLUAoNpchNrkPPnjbXkqWDrIqW9NQdWr
=tCRR
-----END PGP SIGNATURE-----
More information about the Python-Dev
mailing list