Here are the steps to run the tests:
- Set up
- Get config
- Run tests
Make sure you have python environment, you can find the supported python version in setup.py.
pip3 install -r requirements_dev.txt
pip3 install .
Config the configurations in conftest.py
:
{
"type": "databend",
"host": "host",
"port": 443,
"user": "user",
"pass": "pass",
"schema": "your database",
"secure": True,
}
You can get the config information by the way in this docs.
python -m pytest -s -vv tests/functional