1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-07-14 23:44:02 +00:00
Mirror
Go to file
2018-06-03 19:21:57 -07:00
ci Use local seaserv python lib when testing 2018-01-29 19:42:41 +08:00
common Fix config error. 2018-05-21 14:03:10 +08:00
controller Restart ccnet if seaf-server is down. 2018-04-03 11:19:13 +08:00
doc Add seafile-tutorial doc. 2016-08-20 15:56:59 +08:00
fuse [lib] Don't install libseafile and headers. 2016-12-27 16:52:43 +08:00
include Merge branch '6.2' 2018-05-18 10:47:55 +08:00
lib Fix compilation with openssl 1.1.0. 2018-05-13 23:48:36 -07:00
m4 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
python Merge branch '6.2' 2018-05-18 10:47:55 +08:00
scripts Update seahub.sql. 2018-05-18 14:14:58 +08:00
server Fix the problem that the description of newly created library is empty in history page 2018-06-03 19:21:57 -07:00
tests Add test of checking parent group repo's permission. 2018-05-17 17:05:38 +08:00
tools Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
.gitignore Add functional tests (#120) 2018-01-16 17:10:26 +08:00
.travis.yml tests: run with mysql + sqlite3 2018-01-18 11:09:21 +08:00
autogen.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
configure.ac Enabled msyql on windows. 2016-12-27 10:40:46 +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