mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
13d9a4eebe
Edit page link is fixed too for both language versions of documentation.
766 B
766 B
How to run ClickHouse tests
The clickhouse-test
utility that is used for functional testing is written using Python 2.x.It also requires you to have some third-party packages:
$ pip install lxml termcolor
In a nutshell:
- Put the
clickhouse
program to/usr/bin
(orPATH
) - Create a
clickhouse-client
symlink in/usr/bin
pointing toclickhouse
- Start the
clickhouse
server cd dbms/tests/
- Run
./clickhouse-test
Example usage
Run ./clickhouse-test --help
to see available options.
To run tests without having to create a symlink or mess with PATH
:
./clickhouse-test -c "../../build/dbms/src/Server/clickhouse --client"
To run a single test, i.e. 00395_nullable
:
./clickhouse-test 00395