maddy

git clone git://git.lin.moe/fmaddy/maddy.git

 1# maddy integration testing
 2
 3## Tests structure
 4
 5The test library creates a temporary state and runtime directory, starts the
 6server with the specified configuration file and lets you interact with it
 7using a couple of convenient wrappers.
 8
 9## Running
10
11To run tests, use `go test -tags integration` in this directory. Make sure to
12have a maddy executable in the current working directory.
13Use `-integration.executable` if the executable is named different or is placed
14somewhere else.
15Use `-integration.coverprofile` to pass `-test.coverprofile
16your_value.RANDOM` to test executable. See `./build_cover.sh` to build a
17server executable instrumented with coverage counters.