Seafile Server Core
Find a file
2023-10-17 14:25:39 +08:00
.github/workflows Delete sub query (#582) 2022-12-05 18:35:41 +08:00
ci Add notification server (#535) 2022-12-16 15:29:01 +08:00
common Add tags to build dm database 2023-10-17 14:25:39 +08:00
controller Controller don't start seaf-events (#629) 2023-08-18 11:54:42 +08:00
doc Add seafile-tutorial doc. 2016-08-20 15:56:59 +08:00
fileserver Add tags to build dm database 2023-10-17 14:25:39 +08:00
fuse Support dm8 database 2023-10-10 15:05:32 +08:00
include Get repo list add return virtual repos (#605) 2023-03-20 10:11:57 +08:00
lib Get repo list add return virtual repos (#605) 2023-03-20 10:11:57 +08:00
m4 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
notification-server Support unix_socket option of database (#623) 2023-06-27 16:59:19 +08:00
python Get repo list add return virtual repos (#605) 2023-03-20 10:11:57 +08:00
scripts/sql Add peer_ip length to 50 (#580) 2022-12-02 11:00:00 +08:00
server Update statement of create dm tables 2023-10-12 17:31:29 +08:00
tests Support dm8 database 2023-10-10 15:05:32 +08:00
tools Del seaf-init and ccnet-init commands (#348) 2020-05-11 09:20:47 +08:00
.gitignore Add search files RPC (#417) 2020-10-27 18:06:37 +08:00
autogen.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
configure.ac Support dm8 database 2023-10-10 15:05:32 +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 Fix contribution link (#549) 2022-05-15 19:09:44 +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