Git Product home page Git Product logo

hugegraph-test's Introduction

hugegraph-test

CI testing is carried out through this project for hugegraph

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'

# 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]

hugegraph-test's People

Contributors

lxb1111 avatar imbajin avatar pengzna avatar liuxiaocs7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.