README.markdown @ 9030dc9517cf

web: add basic tests

This patch adds a new test module `test_web` to automate testing of web
requests. For now the tests are rather simple and only check for
expected status codes.

To set up the flask app within the tests, it has to be configured
properly. This is the reason why the app configuration part in `web.py`
has been moved into an own function - now it may also be used by the
test module.
author Oben Sonne <obensonne@googlemail.com>
date Mon, 02 Jul 2012 22:32:48 +0200
parents 4a1d4f847bc4
children d483f003d230
hg-review is still beta!  Things may break!
===========================================

Installing
==========

`hg-review` requires Mercurial 1.6+ and Python 2.5+. It requires a few other
things too, but they're bundled with the extension so you don't need to worry
about them.

First, get hg-review:

    hg clone http://bitbucket.org/sjl/hg-review/

Then add it to your `~/.hgrc`:

    [extensions]
    review = [path to]/hg-review/review/

You're all set.

Try It
======

`hg-review` uses itself for code review. If you want to get a quick taste of
how it works:

    cd path/to/wherever/you/cloned/hg-review
    hg review --init
    hg review --web

Now visit <http://localhost:8080/> and have fun. Use `^C` to kill the server
when you're done.

There's also a [live, read-only demo][demo] if installing is too much
committment for you.

[demo]: http://review.stevelosh.com/

Documentation
=============

Check out the [documentation][docs] to learn more.

If you've still got questions, there's a mailing list (hosted by
[Librelist][]).  Send an email (no subject/body necessary) to
[hg.review@librelist.com][ml] to subscribe.

[docs]: http://sjl.bitbucket.org/hg-review/
[Librelist]: http://librelist.com/
[ml]: mailto:hg.review@librelist.com