1
0
mirror of synced 2026-01-03 06:02:23 -05:00

Refactor docs to improve clarity around connector development. (#5037)

* Refactor docs to improve clarity around connector development.

* Merge architecture and setup of source acceptance tests to reference

* Address reviewsa

* Address review comments

Co-authored-by: Abhi Vaidyanatha <abhivaidyanatha@Abhis-MacBook-Pro.local>
This commit is contained in:
Abhi Vaidyanatha
2021-07-28 14:00:08 -07:00
committed by GitHub
parent 82867c094a
commit 3765bcf3b8
43 changed files with 185 additions and 196 deletions

View File

@@ -0,0 +1,18 @@
# Step 8: Test Connector
## Unit Tests
Add any relevant unit tests to the `unit_tests` directory. Unit tests should **not** depend on any secrets.
You can run the tests using `python -m pytest -s unit_tests`
## Integration Tests
Place any integration tests in the `integration_tests` directory such that they can be [discovered by pytest](https://docs.pytest.org/en/6.2.x/goodpractices.html#conventions-for-python-test-discovery).
## Standard Tests
Standard tests are a fixed set of tests Airbyte provides that every Airbyte source connector must pass. While they're only required if you intend to submit your connector to Airbyte, you might find them helpful in any case. See [Testing your connectors](https://docs.airbyte.io/contributing-to-airbyte/building-new-connector/testing-connectors)
If you want to submit this connector to become a default connector within Airbyte, follow steps 8 onwards from the [Python source checklist](https://docs.airbyte.io/tutorials/tutorials/building-a-python-source#step-8-set-up-standard-tests)