You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ibis-server/docs/development.md
+7-3
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,6 @@ To start the server:
37
37
- Execute `just dev` to start the server in development mode (auto-reloads on code changes)
38
38
- The default port is `8000`. You can change it by running `just port=8001 run` or `just port=8001 dev`
39
39
40
-
To run the tests:
41
-
- Execute `just test`
42
-
43
40
### Environment Variables
44
41
-`WREN_ENGINE_ENDPOINT`: The endpoint of the Wren Java engine
45
42
-`LOG_LEVEL`: The log level of the server (default is INFO)
@@ -48,6 +45,13 @@ To run the tests:
48
45
- Build the image: `just docker-build`
49
46
- Run the container: `just docker-run`
50
47
48
+
### Run the testing
49
+
- Preapre the Wren Engine server (see [Wren Engine Example](../example/README.md)
50
+
- Run pytest with `WREN_ENGINE_ENDPOINT` env. (The default port of Wren Engine is 8080)
51
+
- run specific data source test using [pytest marker](https://docs.pytest.org/en/stable/example/markers.html). There are some markers for different data sources. See the list in [pyproject.toml](../pyproject.toml).
52
+
```
53
+
WREN_ENGINE_ENDPOINT=http://localhost:8080 just test 'postgres'
54
+
```
51
55
52
56
## How to add new data source
53
57
Please see [How to Add a New Data Source](how-to-add-data-source.md) for more information.
0 commit comments