Murilo Belarmino
10/18/2024, 10:44 AMuser
10/18/2024, 10:44 AMacceptance-test-config.yml
file is correctly set up. This file should be in the root folder of your connector and should contain the necessary information for running the tests. Here is an example of a minimal `acceptance-test-config.yml`: yaml connector_image: airbyte/source-some-connector:dev acceptance_tests: spec: tests: - spec_path: "some_folder/spec.yaml"
(Source: [Airbyte Documentation](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference)) 2. Test Setup: Make sure that the discovery
test is correctly set up in your acceptance-test-config.yml
file. It should look something like this: yaml discovery: tests: - config_path: "integration_tests/config.json"
(Source: [Airbyte Documentation](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference#test-enforcements-in-high-test-strictness-level)) 3. Test Environment: Ensure that your test environment is correctly set up. If you're running the tests locally, you need to provide the connector configuration as a config.json
file in a .secrets
folder in the connector code directory. (Source: [Airbyte Documentation](https://docs.airbyte.com/connector-development/testing-connectors/#-ci)) 4. Connector Code: There might be an issue with the code of your connector. If the spec
and connection
tests are passing but the discovery
test is failing, it could indicate a problem with how your connector is handling the discovery process. You might want to review your connector's implementation of the discovery command. If you're still having trouble, consider reaching out to the Airbyte community on [their forum](https://discuss.airbyte.io/t/1910) or [GitHub](https://github.com/airbytehq/airbyte/pulls) for more specific help.