# gitweb: Smoke test

1 messages from 2008-05-28 to 2008-05-28. Participants: Lea Wiemann.
Thread: https://gitlist.dev/t/13712

## Lea Wiemann, 2008-05-28 18:56

Subject: gitweb: Smoke test
Message-ID: <483DAAE1.4000107@gmail.com>
URL: https://gitlist.dev/e/483DAAE1.4000107%40gmail.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

```
