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
> ⚠️ **Note:** While you can use this tool without building a dev image, to achieve your goals you will likely need to have installed [airbyte-ci](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md) and know how to build a dev image.
114
122
115
123
You can run the existing test suites with the following command:
116
124
117
125
#### With local connection objects (`config.json`, `catalog.json`, `state.json`)
118
126
```bash
119
-
poetry run pytest src/live_tests/regression_tests \
127
+
poetry run pytest src/live_tests/regression_tests \
120
128
--connector-image=airbyte/source-faker \
121
-
--connection-id=<CONNECTION-ID> \
122
129
--config-path=<path-to-config-path> \
123
130
--catalog-path=<path-to-catalog-path> \
124
131
--target-version=dev \
125
-
--control-version=latest
132
+
--control-version=latest \
126
133
--pr-url=<PR-URL># The URL of the PR you are testing
127
134
```
128
135
@@ -132,9 +139,8 @@ The live connection objects will be fetched.
132
139
```bash
133
140
poetry run pytest src/live_tests/regression_tests \
134
141
--connector-image=airbyte/source-faker \
135
-
--connection-id=<CONNECTION-ID> \
136
142
--target-version=dev \
137
-
--control-version=latest
143
+
--control-version=latest \
138
144
--pr-url=<PR-URL># The URL of the PR you are testing
139
145
```
140
146
@@ -235,6 +241,25 @@ The test suite run will produce test artifacts in the `/tmp/regression_tests_art
235
241
We use a containerized `mitmproxy` to capture the HTTP traffic between the connector and the source. Connector command runs produce `http_dump.mitm` (can be consumed with `mitmproxy` (version `>=10`) for debugging) and `http_dump.har` (a JSON encoded version of the mitm dump) artifacts.
236
242
The traffic recorded on the control connector is passed to the target connector proxy to cache the responses for requests with the same URL. This is useful to avoid hitting the source API multiple times when running the same command on different versions of the connector.
0 commit comments