1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-24 20:48:01 +00:00

Add a README for testing

This commit is contained in:
Shuai Lin
2018-01-16 17:10:56 +08:00
parent b2d058badc
commit 52f7823fb4
2 changed files with 19 additions and 1 deletions

19
README.testing.md Normal file
View File

@@ -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
```

View File

@@ -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