diff --git a/README.testing.md b/README.testing.md new file mode 100644 index 0000000..ad83314 --- /dev/null +++ b/README.testing.md @@ -0,0 +1,19 @@ +# Seafile Server Tests + +## Run it locally + +To run the tests, you need to install pytest first: + +```sh +pip install -r ci/requirements.txt +``` + +Then run the tests with +```sh +./run_tests.sh +``` + +By default the test script would try to start ccnet-server and seaf-server in `/usr/local/bin`, if you `make install` to another location, say `/opt/local`, run it like this: +```sh +SEAFILE_INSTALL_PREFIX=/opt/local ./run_tests.sh +``` diff --git a/ci/requirements.txt b/ci/requirements.txt index 5332848..5a09c3e 100644 --- a/ci/requirements.txt +++ b/ci/requirements.txt @@ -1,6 +1,5 @@ termcolor>=1.1.0 requests>=2.8.0 -httpie>=0.9.9 pytest>=3.3.2 backports.functools_lru_cache>=1.4 tenacity>=4.8.0