git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: omitted test scripts?

From
Matthias Urlichs <smurf@smurf.noris.de>
Date
Sep 19, 2005, 18:54 UTC
Message-ID
<pan.2005.09.19.18.54.38.742376@smurf.noris.de>
In-Reply-To
<7v1x3lrpxi.fsf@assigned-by-dhcp.cox.net>
Hi, Junio C Hamano wrote:
> In the past, when I did any major butchering of existing code or
> made nontrivial additions, I wrote test scripts to cover what
> should happen (and what to be preserved) first to make sure the
> changes or additions would not introduce regression.
... which is very good programming practice regardless.

One of the better tenets of Extreme Programming says that any feature for which you don't have a test basically doesn't exist.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Buddha most emphatically insists that what he teaches is nothing
unusual, being simply the recognition of a plain fact which can be
attested to by every mortal...
Previous: Daniel Barkalow
Message 14 of 14 in “git-merge-cache / StGIT - gitmergeonefile.py: merging one tree into another rather than two trees into merge base”
  1. BlaisorbladeSep 10, 2005
  2. Catalin MarinasSep 11, 2005
  3. Chuck LeverSep 12, 2005
  4. BlaisorbladeSep 14, 2005
  5. BlaisorbladeSep 14, 2005
  6. BlaisorbladeSep 14, 2005
  7. Catalin MarinasSep 15, 2005
  8. BlaisorbladeSep 16, 2005
  9. Junio C HamanoSep 16, 2005
  10. Catalin MarinasSep 17, 2005
  11. omitted test scripts?Chuck Lever, Sep 19, 2005
  12. Junio C HamanoSep 19, 2005
  13. Daniel BarkalowSep 19, 2005
  14. Matthias UrlichsSep 19, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.