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

gitweb: Smoke test

From
LWLea Wiemann <lewiemann@gmail.com>
Date
May 28, 2008, 18:56 UTC
Message-ID
<483DAAE1.4000107@gmail.com>

FYI and in case you're interested, I've implemented a smoke test for gitweb in a branch, here: http://repo.or.cz/w/git/gitweb-caching.git?a=tree;f=gitweb/test;h=cccee14b2571200861ffc05fbfae12c6d17e919d;hb=HEAD

It spiders your local gitweb site (which preferably only contains a really small test repository) with wget, and reports any problems, i.e. broken links or crashes of the CGI script.

The same mechanism might also be usable to view recursive diffs between old and new output, to see if anything has changed. I'll probably implement that later when I start doing refactorings on gitweb. Perhaps we should also have a real test suite at some point, though I'm not entirely sure yet how to approach that -- I'll have to dig into the code first. :)

(If there's any desire to copy the script to mainline, let me know -- I'll be happy with leaving it on the branch for now, though.)

-- Lea
Message 1 of 1 in “gitweb: Smoke test”
  1. Lea WiemannMay 28, 2008

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.