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

Re: [PATCH v4 0/2] nd/merge-quit updates

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 20, 2019, 17:01 UTC
Message-ID
<nycvar.QRO.7.76.6.1905201857120.46@tvgsbejvaqbjf.bet>
In-Reply-To
<20190518113043.18389-1-pclouds@gmail.com>
Hi Duy,
On Sat, 18 May 2019, Nguyễn Thái Ngọc Duy wrote:
> Another round because apparently the test case is not perfect.

Test cases are never perfect. But at least the good ones are "actionable", i.e. when they fail, you know there is a regression, it helps you figure out easily why it broke, and it helps you fix the regression.

Many, many test cases are bad: they break for all kinds of reasons *except* for a regression. They break because an error message was changed. They break because of timing issues. They break because somebody inserted another test case. They break because a missing prereq caused a previous test case not to run, removing a side effect on which the breaking test case relied.

Those bad test cases are very frustrating for people who actually look at them. I am one of those people.

And if I did not know delightful test suites that are populated with "good" test cases, I would not point out when a "bad" one is contributed.

So: it *is* possible to have a good test suite. Let's make ours better
than it is right now.

Thanks, Johannes

Previous: Johannes Schindelin
Message 20 of 20 in “Add "git merge --quit"”
  1. 0/2 Add "git merge --quit"Nguyễn Thái Ngọc Duy, May 1, 2019
  2. 1/2 merge: remove drop_save() in favor of remove_merge_branch_state()Nguyễn Thái Ngọc Duy, May 1, 2019
  3. 2/2 merge: add --quitNguyễn Thái Ngọc Duy, May 1, 2019
  4. Emily ShafferMay 2, 2019
  5. Phillip WoodMay 2, 2019
  6. 0/2 nd/merge-quit updateNguyễn Thái Ngọc Duy, May 9, 2019
  7. 1/2 merge: remove drop_save() in favor of remove_merge_branch_state()Nguyễn Thái Ngọc Duy, May 9, 2019
  8. 2/2 merge: add --quitNguyễn Thái Ngọc Duy, May 9, 2019
  9. 0/2 nd/merge-quit updatesNguyễn Thái Ngọc Duy, May 14, 2019
  10. 1/2 merge: remove drop_save() in favor of remove_merge_branch_state()Nguyễn Thái Ngọc Duy, May 14, 2019
  11. 2/2 merge: add --quitNguyễn Thái Ngọc Duy, May 14, 2019
  12. Johannes SchindelinMay 14, 2019
  13. Junio C HamanoMay 15, 2019
  14. Johannes SchindelinMay 15, 2019
  15. Junio C HamanoMay 15, 2019
  16. 0/2 nd/merge-quit updatesNguyễn Thái Ngọc Duy, May 18, 2019
  17. 1/2 merge: remove drop_save() in favor of remove_merge_branch_state()Nguyễn Thái Ngọc Duy, May 18, 2019
  18. 2/2 merge: add --quitNguyễn Thái Ngọc Duy, May 18, 2019
  19. Johannes SchindelinMay 20, 2019
  20. Johannes SchindelinMay 20, 2019

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.