From: Ladislav Slezák Date: Fri, 4 Dec 2015 09:49:20 +0000 (+0100) Subject: added a testsuite section X-Git-Tag: v0.3.3~27^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F212%2Fhead;p=thirdparty%2Fsnapper.git added a testsuite section --- diff --git a/README.md b/README.md index 94b5e3c6..bb60b223 100644 --- a/README.md +++ b/README.md @@ -55,11 +55,23 @@ sudo killall snapperd (sudo) snapper ... ``` +### Running Tests + +Snapper includes some internal unit tests to avoid some bugs and regressions. +The tests are located in the `testsuite` subdirectory and you can start them +using the `make check` command. + +There are also some additional tests in the `testsuite-real` subdirectory, +but be careful. *These tests really execute snapper commands and they can +destroy your data! Run these tests only in a testing environment!* + ### Releasing - Before releasing the Snapper package ensure that the changes made to the package are mentioned in the `package/snapper.changes` file. +- Make sure the units tests still passes ([see above](running-tests)). + - When the version is increased then the Git repo has to be tagged, use the `vX.Y.Z` format for the tag. Also the [filesystems:snapper](https://build.opensuse.org/project/show/filesystems:snapper)