Step 8: Test the Connector
Unit Tests
Add any relevant unit tests to the tests/unit_tests
directory. Unit tests should not depend on any secrets.
You can run the tests using poetry run pytest tests/unit_tests
.
Integration Tests
Place any integration tests in the integration_tests
directory such that they can be
discovered by pytest.
You can run the tests using poetry run pytest tests/integration_tests
.
More information on integration testing can be found on the Testing Connectors doc.
Connector Acceptance Tests
Connector Acceptance Tests (CATs) 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
If you want to submit this connector to become a default connector within Airbyte, follow steps 8 onwards from the Python source checklist