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

Re: [StGit PATCH] Added test case for stg refresh

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Nov 22, 2007, 08:15 UTC
Message-ID
<b0943d9e0711220015r64d1a5c2y25dfa44610864c99@mail.gmail.com>
In-Reply-To
<871waivhgq.fsf@virtutech.se>
On 22/11/2007, David Kågedal <davidk@lysator.liu.se> wrote:
Show 9 quoted lines
> "Catalin Marinas" <catalin.marinas@gmail.com> writes:
> > I noticed the weirdness few days ago and fixed it in
> > e8813959aa3a7c41ffef61d06068b10519bd4830 (though no test caught it).
> > Do you still see problems after this commit?
>
> The problem I see is that there still is no test case. That is bad and
> means that it could break again tomorrow without anyone noticing.
>
> Luckily, I just wrote one for you :-)

Thanks :-). We are still far from testing all the possible combinations. Is there a way to do code coverage in Python?

-- 
Catalin
Previous: David KågedalNext: David Kågedal
Message 7 of 8 in “Added test case for stg refresh”
  1. Added test case for stg refreshDavid Kågedal, Nov 21, 2007
  2. David KågedalNov 21, 2007
  3. Karl HasselströmNov 21, 2007
  4. Catalin MarinasNov 21, 2007
  5. Karl HasselströmNov 21, 2007
  6. David KågedalNov 22, 2007
  7. Catalin MarinasNov 22, 2007
  8. David KågedalNov 22, 2007

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.