1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-23 04:00:23 +00:00
Files
seafile-server/README.testing.md

20 lines
426 B
Markdown
Raw Normal View History

2018-01-16 17:10:56 +08:00
# 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
```