1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-02 07:43:09 +00:00
Mirror
Go to file
Jonathan Xu 2327ed11cc Rewrite database access layer.
Remove support for PostgreSQL at the same time.
2019-06-21 17:09:39 +08:00
ci Create tables from sqls when unit test. 2019-05-21 23:49:47 -07:00
common Rewrite database access layer. 2019-06-21 17:09:39 +08:00
controller Support seafevents. 2019-01-08 18:03:04 +08:00
doc Add seafile-tutorial doc. 2016-08-20 15:56:59 +08:00
fuse Rewrite database access layer. 2019-06-21 17:09:39 +08:00
include Encrypted library version 3: use different salt for each library. 2019-04-30 21:22:57 +08:00
lib Encrypted library version 3: use different salt for each library. 2019-04-30 21:22:57 +08:00
m4 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
python Add storage_id parameter to create repo api. 2019-05-19 22:18:56 -07:00
scripts Fix upgrage sql: create WebUploadTempFiles table if not exists. 2019-05-28 21:07:05 -07:00
server Rewrite database access layer. 2019-06-21 17:09:39 +08:00
tests Fix bug when moving files. 2019-05-30 20:37:43 +08:00
tools Rewrite database access layer. 2019-06-21 17:09:39 +08:00
.gitignore Add functional tests (#120) 2018-01-16 17:10:26 +08:00
.travis.yml set travis ci default python version=2.7 2019-04-28 03:37:19 +00:00
autogen.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
configure.ac Rewrite database access layer. 2019-06-21 17:09:39 +08:00
LICENSE.txt Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
Makefile.am Add seafile-tutorial doc. 2016-08-20 15:56:59 +08:00
pytest.ini Add functional tests (#120) 2018-01-16 17:10:26 +08:00
README.markdown Re-enabled travis ci. 2016-09-17 13:34:15 +08:00
README.testing.md Update testing README 2018-01-16 18:19:33 +08:00
run_tests.sh Add functional tests (#120) 2018-01-16 17:10:26 +08:00
updateversion.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00

Seafile Server Tests

Run it locally

To run the tests, you need to install pytest first:

pip install -r ci/requirements.txt

Compile and install ccnet-server and seafile-server

cd ccnet-server
make
sudo make install

cd seafile-server
make
sudo make install

Then run the tests with

cd seafile-server
./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:

SEAFILE_INSTALL_PREFIX=/opt/local ./run_tests.sh