https://github.com/hugegraph/hugegraph-test
Integration test of HugeGraph Database (Move to toolchain Later?)
https://github.com/hugegraph/hugegraph-test
Last synced: 5 months ago
JSON representation
Integration test of HugeGraph Database (Move to toolchain Later?)
- Host: GitHub
- URL: https://github.com/hugegraph/hugegraph-test
- Owner: hugegraph
- Created: 2020-09-24T07:14:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-10-30T07:57:15.000Z (7 months ago)
- Last Synced: 2025-10-30T09:36:45.620Z (7 months ago)
- Language: Python
- Homepage:
- Size: 2.23 MB
- Stars: 4
- Watchers: 7
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hugegraph-test
CI testing is carried out through this project for hugegraph
```bash
git clone https://github.com/hugegraph/hugegraph-test.git
cd hugegraph-test
# try pip3 if pip is not found, or set alias
pip install -r requirements.txt
cd src
# try python3 if pip is not found, or set alias
python --version # ensure version is in 3.8~3.10
# Important: cleanup existed graph service and data if you need
bash cleanup.sh
'''
Note: modify the configs in basic_config.py before run the test script
1. modify server/toolchain_release_version (like 1.3.0 -> 1.5.0)
2. modify server/toolchain_git_branch_commit
3. modify auth/https/serice ports if need..
'''
python deploy_start.py all # or 'server' or 'toolchain' or 'hugegraph'
'''
Or you can set backend with followed command
'''
python deploy_start.py hugegraph hstore # or other backend supported by hugegraph
# 2. decompress dataset
unzip config/dataset.zip -d config/
# 3. run test
pytest
# OR
pytest --html=test.html --capture=tee-sys
# OR only test specified case
pytest -k test_name
```
**Note:** python version must be in `[3.8, 3.10]`