diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 915d4c89fd6d..b96505dccbbb 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,6 +1,6 @@ -# CDK and SAT +# CDK and Connector Acceptance Tests /airbyte-cdk/ @airbytehq/connector-extensibility -/airbyte-integrations/bases/source-acceptance-tests/ @airbytehq/connector-extensibility +/airbyte-integrations/bases/connector-acceptance-tests/ @airbytehq/connector-extensibility /airbyte-integrations/connector-templates/ @airbytehq/connector-extensibility # Oauth diff --git a/.github/workflows/approve-and-merge-dispatch.yml b/.github/workflows/approve-and-merge-dispatch.yml index 8c7e212a3be8..06128fd505ed 100644 --- a/.github/workflows/approve-and-merge-dispatch.yml +++ b/.github/workflows/approve-and-merge-dispatch.yml @@ -6,20 +6,11 @@ jobs: approveAndMergeDispatch: runs-on: ubuntu-latest steps: - - name: Checkout Airbyte - uses: actions/checkout@v3 - - name: Check PAT rate limits - run: | - ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OCTAVIA_GITHUB_RUNNER_TOKEN }} \ - ${{ secrets.SUPERTOPHER_PAT }} - - name: Auto Approve Slash Command Dispatch uses: peter-evans/slash-command-dispatch@v3 id: scd with: - token: ${{ env.PAT }} + token: ${{ secrets.GH_PAT_APPROVINGTON_OCTAVIA }} permission: write issue-type: pull-request repository: airbytehq/airbyte-cloud diff --git a/.github/workflows/commands-for-testing-tool.yml b/.github/workflows/commands-for-testing-tool.yml index 460d8e4872f1..a6304c38ed47 100644 --- a/.github/workflows/commands-for-testing-tool.yml +++ b/.github/workflows/commands-for-testing-tool.yml @@ -13,15 +13,6 @@ jobs: comment-id: ${{ steps.comment-info.outputs.comment-id }} command: ${{ steps.regex.outputs.first_match }} steps: - - name: Checkout Airbyte - uses: actions/checkout@v3 - - name: Check PAT rate limits - run: | - ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} - name: Get PR repo and ref id: getref run: | diff --git a/.github/workflows/connector_integration_tests.yml b/.github/workflows/connector_integration_tests.yml index 3c7c6c621125..938e21e3e208 100644 --- a/.github/workflows/connector_integration_tests.yml +++ b/.github/workflows/connector_integration_tests.yml @@ -26,9 +26,9 @@ jobs: python -m pip install --upgrade pip pip install PyYAML requests - name: Launch Integration Tests - run: python ./tools/bin/ci_integration_workflow_launcher.py base-normalization source-acceptance-test source:beta source:GA destination:beta destination:GA + run: python ./tools/bin/ci_integration_workflow_launcher.py base-normalization connector-acceptance-test source:beta source:GA destination:beta destination:GA env: - GITHUB_TOKEN: ${{ secrets.SLASH_COMMAND_PAT }} + GITHUB_TOKEN: ${{ secrets.GH_PAT_MAINTENANCE_OSS }} launch_integration_tests_alpha_only: runs-on: ubuntu-latest if: github.ref == 'refs/heads/master' @@ -47,4 +47,4 @@ jobs: - name: Launch Integration Tests (Alpha connectors) run: python ./tools/bin/ci_integration_workflow_launcher.py source:alpha destination:alpha env: - GITHUB_TOKEN: ${{ secrets.SLASH_COMMAND_PAT }} + GITHUB_TOKEN: ${{ secrets.GH_PAT_MAINTENANCE_OSS }} diff --git a/.github/workflows/deploy-oss-catalog.yml b/.github/workflows/deploy-oss-catalog.yml index 26ecbdaaf651..4a00be0635f0 100644 --- a/.github/workflows/deploy-oss-catalog.yml +++ b/.github/workflows/deploy-oss-catalog.yml @@ -36,14 +36,9 @@ jobs: gcs_bucket_name="prod-airbyte-cloud-connector-metadata-service" catalog_path="airbyte-config/init/src/main/resources/seed/oss_catalog.json" gsutil -h "Cache-Control:public, max-age=10" cp "$catalog_path" "gs://$gcs_bucket_name/oss_catalog.json" - - name: Check PAT rate limits - run: | - ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.OCTAVIA_4_ROOT_ACCESS }} \ - ${{ secrets.OCTAVIA_PAT }} - name: Trigger Cloud catalog generation uses: peter-evans/repository-dispatch@v2 with: - token: ${{ env.PAT }} + token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }} repository: airbytehq/airbyte-cloud event-type: generate-cloud-catalog diff --git a/.github/workflows/gke-kube-test-command.yml b/.github/workflows/gke-kube-test-command.yml index 26b4841975d8..ff0ed5ecc210 100644 --- a/.github/workflows/gke-kube-test-command.yml +++ b/.github/workflows/gke-kube-test-command.yml @@ -33,10 +33,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -152,10 +150,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: supertopher/ec2-github-runner@base64v1.0.10 with: diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index c1e41259d894..e4c3dee07a10 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -124,7 +124,6 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.9" - token: ${{ env.PAT }} - name: Set up CI Gradle Properties run: | @@ -191,10 +190,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -230,7 +227,6 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.9" - token: ${{ env.PAT }} - name: Install Pyenv run: python3 -m pip install virtualenv==16.7.9 --user @@ -345,10 +341,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: supertopher/ec2-github-runner@base64v1.0.10 with: @@ -378,10 +372,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -416,7 +408,6 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.9" - token: ${{ env.PAT }} - name: Set up CI Gradle Properties run: | @@ -471,10 +462,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: supertopher/ec2-github-runner@base64v1.0.10 with: @@ -504,10 +493,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -540,7 +527,6 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.9" - token: ${{ env.PAT }} - name: Delete default old docker and replace it with a new one shell: bash @@ -600,10 +586,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: supertopher/ec2-github-runner@base64v1.0.10 with: @@ -633,10 +617,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -668,7 +650,6 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.9" - token: ${{ env.PAT }} - uses: actions/setup-node@v3 with: @@ -803,7 +784,6 @@ jobs: if: always() with: python-version: "3.9" - token: ${{ env.PAT }} - name: Publish Platform Test Results uses: EnricoMi/publish-unit-test-result-action@v2 @@ -879,10 +859,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: supertopher/ec2-github-runner@base64v1.0.10 with: @@ -911,10 +889,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -949,7 +925,6 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.9" - token: ${{ env.PAT }} - name: Install unzip shell: bash @@ -1026,7 +1001,6 @@ jobs: if: always() with: python-version: "3.9" - token: ${{ env.PAT }} - name: Publish Kube Test Results id: kube-results @@ -1107,10 +1081,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: supertopher/ec2-github-runner@base64v1.0.10 with: @@ -1139,10 +1111,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -1197,7 +1167,6 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.9" - token: ${{ env.PAT }} - uses: actions/setup-java@v1 with: @@ -1342,10 +1311,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: supertopher/ec2-github-runner@base64v1.0.10 with: diff --git a/.github/workflows/label-github-issues-by-context.yml b/.github/workflows/label-github-issues-by-context.yml index af782b773964..4d9eac59a7a4 100644 --- a/.github/workflows/label-github-issues-by-context.yml +++ b/.github/workflows/label-github-issues-by-context.yml @@ -8,20 +8,12 @@ jobs: name: "Add Labels to Issues. Safe to Merge on fail" runs-on: ubuntu-latest steps: - - name: Checkout Airbyte Repo for PAT command - uses: actions/checkout@v3 - - name: Check PAT rate limits - # Cannot share PAT outside of JOB context - run: | - ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.OCTAVIA_4_ROOT_ACCESS }} \ - ${{ secrets.OCTAVIA_PAT }} - name: Run Issue Command from workflow-actions uses: nick-fields/private-action-loader@v3 with: - pal-repo-token: "${{ env.PAT }}" + pal-repo-token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}" pal-repo-name: airbytehq/workflow-actions@production # the following input gets passed to the private - token: "${{ env.PAT }}" + token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}" # ref: https://github.com/airbytehq/workflow-actions/blob/main/src/bin_issue.ts command: "issue" diff --git a/.github/workflows/label-github-issues-by-path.yml b/.github/workflows/label-github-issues-by-path.yml index 8596a12c3393..1b18f9ec5512 100644 --- a/.github/workflows/label-github-issues-by-path.yml +++ b/.github/workflows/label-github-issues-by-path.yml @@ -10,16 +10,8 @@ jobs: name: "Label PRs based on files changes" runs-on: ubuntu-latest steps: - - name: Checkout Airbyte Repo for PAT command - uses: actions/checkout@v2 - - name: Check PAT rate limits - # Cannot share PAT outside of JOB context - run: | - ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.OCTAVIA_4_ROOT_ACCESS }} \ - ${{ secrets.OCTAVIA_PAT }} - name: "Label PR based on changed files" uses: actions/labeler@v3 with: - repo-token: "${{ env.PAT }}" + repo-token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}" sync-labels: true diff --git a/.github/workflows/label-prs-by-context.yml b/.github/workflows/label-prs-by-context.yml index b78bff4124dc..bc97babb09a4 100644 --- a/.github/workflows/label-prs-by-context.yml +++ b/.github/workflows/label-prs-by-context.yml @@ -10,19 +10,11 @@ jobs: name: "Add Labels to PRs. Safe to Merge on fail" runs-on: ubuntu-latest steps: - - name: Checkout Airbyte Repo for PAT command - uses: actions/checkout@v3 - - name: Check PAT rate limits - # Cannot share PAT outside of JOB context - run: | - ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.OCTAVIA_4_ROOT_ACCESS }} \ - ${{ secrets.OCTAVIA_PAT }} - name: Run Issue Command from workflow-actions uses: nick-fields/private-action-loader@v3 with: - pal-repo-token: "${{ env.PAT }}" + pal-repo-token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}" pal-repo-name: airbytehq/workflow-actions@production # the following input gets passed to the private action - token: "${{ env.PAT }}" + token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}" command: "pull" diff --git a/.github/workflows/notify-on-push-to-master.yml b/.github/workflows/notify-on-push-to-master.yml index 040bf4ccb673..3fc787f6cb65 100644 --- a/.github/workflows/notify-on-push-to-master.yml +++ b/.github/workflows/notify-on-push-to-master.yml @@ -10,18 +10,10 @@ jobs: name: "Fire a Repo Dispatch event to airbyte-cloud" runs-on: ubuntu-latest steps: - - name: Checkout Airbyte Repo for PAT command - uses: actions/checkout@v3 - - name: Check PAT rate limits - # Cannot share PAT outside of JOB context - run: | - ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.OCTAVIA_4_ROOT_ACCESS }} \ - ${{ secrets.OCTAVIA_PAT }} - name: Repository Dispatch uses: peter-evans/repository-dispatch@v2 with: - token: ${{ env.PAT }} + token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }} repository: airbytehq/airbyte-cloud event-type: oss-push-to-master client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' diff --git a/.github/workflows/publish-cdk-command-manually.yml b/.github/workflows/publish-cdk-command-manually.yml index ef3db19ed566..e594b3668da7 100644 --- a/.github/workflows/publish-cdk-command-manually.yml +++ b/.github/workflows/publish-cdk-command-manually.yml @@ -43,7 +43,7 @@ jobs: with: repository: ${{ github.event.inputs.repo }} ref: ${{ github.event.inputs.gitref }} - token: ${{ secrets.AIRBYTEIO_PAT }} + token: ${{ secrets.GH_PAT_MAINTENANCE_OSS }} - name: "Publish Airbyte CDK: bump version" run: | pip install bumpversion diff --git a/.github/workflows/publish-command.yml b/.github/workflows/publish-command.yml index 89677481489d..d0fddf5a3324 100644 --- a/.github/workflows/publish-command.yml +++ b/.github/workflows/publish-command.yml @@ -47,10 +47,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -75,10 +73,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -103,10 +99,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -131,10 +125,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -159,10 +151,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -250,7 +240,7 @@ jobs: with: repository: ${{ github.event.inputs.repo }} ref: ${{ github.event.inputs.gitref }} - token: ${{ secrets.OCTAVIA_PAT }} + token: ${{ secrets.GH_PAT_MAINTENANCE_OSS }} - name: Install Java uses: actions/setup-java@v3 with: @@ -440,10 +430,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: airbytehq/ec2-github-runner@base64v1.1.0 with: @@ -497,10 +485,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: airbytehq/ec2-github-runner@base64v1.1.0 with: diff --git a/.github/workflows/publish-connector-command.yml b/.github/workflows/publish-connector-command.yml index 3fcc2daef8f0..d38b11d91485 100644 --- a/.github/workflows/publish-connector-command.yml +++ b/.github/workflows/publish-connector-command.yml @@ -44,10 +44,8 @@ jobs: # - name: Check PAT rate limits # run: | # ./tools/bin/find_non_rate_limited_PAT \ -# ${{ secrets.AIRBYTEIO_PAT }} \ -# ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ -# ${{ secrets.SUPERTOPHER_PAT }} \ -# ${{ secrets.DAVINCHIA_PAT }} +# ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ +# ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} # - name: Start AWS Runner # id: start-ec2-runner # uses: ./.github/actions/start-aws-runner @@ -92,7 +90,7 @@ jobs: # with: # repository: ${{ github.event.inputs.repo }} # ref: ${{ github.event.inputs.gitref }} -# token: ${{ secrets.OCTAVIA_PAT }} +# token: ${{ secrets.GH_PAT_MAINTENANCE_OSS }} # - name: Install Java # uses: actions/setup-java@v3 # with: @@ -195,10 +193,8 @@ jobs: # - name: Check PAT rate limits # run: | # ./tools/bin/find_non_rate_limited_PAT \ -# ${{ secrets.AIRBYTEIO_PAT }} \ -# ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ -# ${{ secrets.SUPERTOPHER_PAT }} \ -# ${{ secrets.DAVINCHIA_PAT }} +# ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ +# ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} # - name: Stop EC2 runner # uses: supertopher/ec2-github-runner@base64v1.0.10 # with: diff --git a/.github/workflows/publish-helm-charts.yml b/.github/workflows/publish-helm-charts.yml index 3ad583619da3..1918d140358b 100644 --- a/.github/workflows/publish-helm-charts.yml +++ b/.github/workflows/publish-helm-charts.yml @@ -57,7 +57,7 @@ jobs: - uses: actions/checkout@v3 with: repository: "airbytehq/helm-charts" - token: ${{ secrets.OCTAVIA_PAT }} + token: ${{ secrets.GH_PAT_MAINTENANCE_OSS }} path: "airbyte-oss" - name: Replace semantic version in main chart for deps diff --git a/.github/workflows/publish-oss-for-cloud.yml b/.github/workflows/publish-oss-for-cloud.yml index 6c8b13a0650a..fda551da9f3e 100644 --- a/.github/workflows/publish-oss-for-cloud.yml +++ b/.github/workflows/publish-oss-for-cloud.yml @@ -25,10 +25,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -181,10 +179,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: airbytehq/ec2-github-runner@base64v1.1.0 with: diff --git a/.github/workflows/release-airbyte-os.yml b/.github/workflows/release-airbyte-os.yml index ab10b48b3742..461b87cb41cc 100644 --- a/.github/workflows/release-airbyte-os.yml +++ b/.github/workflows/release-airbyte-os.yml @@ -23,10 +23,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -131,7 +129,7 @@ jobs: id: cpr uses: peter-evans/create-pull-request@v3 with: - token: ${{ secrets.SLASH_COMMAND_PAT }} + token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }} branch: bump-version branch-suffix: random delete-branch: true @@ -164,10 +162,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: supertopher/ec2-github-runner@base64v1.0.10 with: diff --git a/.github/workflows/slash-commands.yml b/.github/workflows/slash-commands.yml index 866f6c4e11ff..a3223017bc32 100644 --- a/.github/workflows/slash-commands.yml +++ b/.github/workflows/slash-commands.yml @@ -8,17 +8,6 @@ jobs: if: ${{ github.event.issue.pull_request }} runs-on: ubuntu-latest steps: - - name: Checkout Airbyte - uses: actions/checkout@v3 - - - name: Check PAT rate limits - run: | - ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} - - name: Get PR repo and ref id: getref run: | @@ -30,7 +19,7 @@ jobs: id: scd uses: peter-evans/slash-command-dispatch@v2 with: - token: ${{ env.PAT }} + token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }} commands: | test test-performance diff --git a/.github/workflows/terminate-zombie-build-instances.yml b/.github/workflows/terminate-zombie-build-instances.yml index 40cd8e782cbf..a18894a79d6b 100644 --- a/.github/workflows/terminate-zombie-build-instances.yml +++ b/.github/workflows/terminate-zombie-build-instances.yml @@ -44,5 +44,5 @@ jobs: uses: actions/checkout@v3 - name: List and Terminate GH actions in status 'offline' env: - GITHUB_PAT: ${{ secrets.OCTAVIA_PAT }} + GITHUB_PAT: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }} run: ./tools/bin/gh_action_zombie_killer diff --git a/.github/workflows/test-command.yml b/.github/workflows/test-command.yml index cdf48b6f5111..43d120122626 100644 --- a/.github/workflows/test-command.yml +++ b/.github/workflows/test-command.yml @@ -25,8 +25,6 @@ jobs: name: "Custom UUID of workflow run" timeout-minutes: 10 runs-on: ubuntu-latest - outputs: - pat: ${{ steps.variables.outputs.pat }} steps: - name: UUID ${{ github.event.inputs.uuid }} run: true @@ -47,10 +45,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -207,10 +203,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: supertopher/ec2-github-runner@base64v1.0.10 with: diff --git a/.github/workflows/test-performance-command.yml b/.github/workflows/test-performance-command.yml index 3ab4467e6b48..b8c1a040d370 100644 --- a/.github/workflows/test-performance-command.yml +++ b/.github/workflows/test-performance-command.yml @@ -42,10 +42,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Start AWS Runner id: start-ec2-runner uses: ./.github/actions/start-aws-runner @@ -202,10 +200,8 @@ jobs: - name: Check PAT rate limits run: | ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.AIRBYTEIO_PAT }} \ - ${{ secrets.OSS_BUILD_RUNNER_GITHUB_PAT }} \ - ${{ secrets.SUPERTOPHER_PAT }} \ - ${{ secrets.DAVINCHIA_PAT }} + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Stop EC2 runner uses: supertopher/ec2-github-runner@base64v1.0.10 with: diff --git a/airbyte-bootloader/src/main/resources/application.yml b/airbyte-bootloader/src/main/resources/application.yml index 9709b4b88e5f..38ed361e5e0c 100644 --- a/airbyte-bootloader/src/main/resources/application.yml +++ b/airbyte-bootloader/src/main/resources/application.yml @@ -22,7 +22,7 @@ airbyte: target: range: min-version: ${AIRBYTE_PROTOCOL_VERSION_MIN:0.0.0} - max-version: ${AIRBYTE_PROTOCOL_VERSION_MAX:1.0.0} + max-version: ${AIRBYTE_PROTOCOL_VERSION_MAX:0.3.0} secret: persistence: ${SECRET_PERSISTENCE:TESTING_CONFIG_DB_TABLE} store: diff --git a/airbyte-cdk/python/.bumpversion.cfg b/airbyte-cdk/python/.bumpversion.cfg index 1ffdc2c37d49..1531ce06b69d 100644 --- a/airbyte-cdk/python/.bumpversion.cfg +++ b/airbyte-cdk/python/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.26.0 +current_version = 0.27.0 commit = False [bumpversion:file:setup.py] diff --git a/airbyte-cdk/python/CHANGELOG.md b/airbyte-cdk/python/CHANGELOG.md index 7f9cc9889a61..29ec2955e666 100644 --- a/airbyte-cdk/python/CHANGELOG.md +++ b/airbyte-cdk/python/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.27.0 +Make HttpAvailabilityStrategy default for HttpStreams + ## 0.26.0 Low-Code CDK: make DatetimeStreamSlicer.step as InterpolatedString diff --git a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/http.py b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/http.py index 084eb052894e..35cef60807fe 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/http.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/http.py @@ -13,7 +13,9 @@ import requests import requests_cache from airbyte_cdk.models import SyncMode +from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy from airbyte_cdk.sources.streams.core import Stream, StreamData +from airbyte_cdk.sources.streams.http.availability_strategy import HttpAvailabilityStrategy from requests.auth import AuthBase from requests_cache.session import CachedSession @@ -113,6 +115,10 @@ def retry_factor(self) -> float: def authenticator(self) -> HttpAuthenticator: return self._authenticator + @property + def availability_strategy(self) -> Optional[AvailabilityStrategy]: + return HttpAvailabilityStrategy() + @abstractmethod def next_page_token(self, response: requests.Response) -> Optional[Mapping[str, Any]]: """ diff --git a/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py b/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py index 368a45225621..dfe38cde5c8f 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py @@ -186,7 +186,7 @@ def split_config(config: Mapping[str, Any]) -> Tuple[dict, InternalConfig]: config - Dict object that has been loaded from config file. :return tuple of user defined config dict with filtered out internal - parameters and SAT internal config object. + parameters and connector acceptance test internal config object. """ main_config = {} internal_config = {} diff --git a/airbyte-cdk/python/docs/concepts/http-streams.md b/airbyte-cdk/python/docs/concepts/http-streams.md index aa80d05fc266..0008ea281153 100644 --- a/airbyte-cdk/python/docs/concepts/http-streams.md +++ b/airbyte-cdk/python/docs/concepts/http-streams.md @@ -87,15 +87,20 @@ be returned as a keyword argument. The CDK defines an `AvailabilityStrategy` for a stream, which is used to perform the `check_availability` method. This method checks whether the stream is available before performing `read_records`. -For HTTP streams, a `HttpAvailabilityStrategy` is defined, which attempts to read the first record of the stream, and excepts +For HTTP streams, a default `HttpAvailabilityStrategy` is defined, which attempts to read the first record of the stream, and excepts a dictionary of known error codes and associated reasons, `reasons_for_unavailable_status_codes`. By default, this list contains only `requests.status_codes.FORBIDDEN` (403), with an associated error message that tells the user that they are likely missing permissions associated with that stream. -You can use this `HttpAvailabilityStrategy` in your `HttpStream` by adding the following property to your stream class: +### Customizing stream availability + +You can subclass `HttpAvailabilityStrategy` to override the `reasons_for_unavailable_status_codes` to except more HTTP error codes and inform the user how to resolve errors specific to your connector or stream. + +### Disabling stream availability check + +You can disable the `HttpAvailabilityStrategy` in your `HttpStream` by adding the following property to your stream class: ```python + @property def availability_strategy(self) -> Optional[AvailabilityStrategy]: - return HttpAvailabilityStrategy() -``` - -You can also subclass `HttpAvailabilityStrategy` to override the list of known errors to except more error codes and inform the user how to resolve errors specific to your connector or stream. + return None +``` \ No newline at end of file diff --git a/airbyte-cdk/python/setup.py b/airbyte-cdk/python/setup.py index e1d69ced59d2..106b112062df 100644 --- a/airbyte-cdk/python/setup.py +++ b/airbyte-cdk/python/setup.py @@ -15,7 +15,7 @@ setup( name="airbyte-cdk", - version="0.26.0", + version="0.27.0", description="A framework for writing Airbyte Connectors.", long_description=README, long_description_content_type="text/markdown", diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/checks/test_check_stream.py b/airbyte-cdk/python/unit_tests/sources/declarative/checks/test_check_stream.py index 52a2e4f03500..2c5670a0896e 100644 --- a/airbyte-cdk/python/unit_tests/sources/declarative/checks/test_check_stream.py +++ b/airbyte-cdk/python/unit_tests/sources/declarative/checks/test_check_stream.py @@ -9,7 +9,6 @@ import pytest import requests from airbyte_cdk.sources.declarative.checks.check_stream import CheckStream -from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy from airbyte_cdk.sources.streams.http import HttpStream from airbyte_cdk.sources.streams.http.availability_strategy import HttpAvailabilityStrategy @@ -120,11 +119,6 @@ def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapp yield stub_resp pass - # TODO (Ella): Remove explicit definition when turning on default - @property - def availability_strategy(self) -> Optional["AvailabilityStrategy"]: - return HttpAvailabilityStrategy() - http_stream = MockHttpStream() assert isinstance(http_stream, HttpStream) assert isinstance(http_stream.availability_strategy, HttpAvailabilityStrategy) diff --git a/airbyte-cdk/python/unit_tests/sources/streams/http/test_availability_strategy.py b/airbyte-cdk/python/unit_tests/sources/streams/http/test_availability_strategy.py index 6bd1cf005fa2..4afed0fd1188 100644 --- a/airbyte-cdk/python/unit_tests/sources/streams/http/test_availability_strategy.py +++ b/airbyte-cdk/python/unit_tests/sources/streams/http/test_availability_strategy.py @@ -9,7 +9,6 @@ import requests from airbyte_cdk.sources import AbstractSource from airbyte_cdk.sources.streams import Stream -from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy from airbyte_cdk.sources.streams.http.availability_strategy import HttpAvailabilityStrategy from airbyte_cdk.sources.streams.http.http import HttpStream from requests import HTTPError @@ -40,11 +39,6 @@ def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapp def retry_factor(self) -> float: return 0.01 - # TODO (Ella): Remove explicit definition when turning on default - @property - def availability_strategy(self) -> Optional["AvailabilityStrategy"]: - return HttpAvailabilityStrategy() - @pytest.mark.parametrize( ("status_code", "json_contents", "expected_is_available", "expected_messages"), diff --git a/airbyte-cdk/python/unit_tests/sources/test_source.py b/airbyte-cdk/python/unit_tests/sources/test_source.py index b8a8291058e8..08eb38cfa2ae 100644 --- a/airbyte-cdk/python/unit_tests/sources/test_source.py +++ b/airbyte-cdk/python/unit_tests/sources/test_source.py @@ -23,7 +23,6 @@ Type, ) from airbyte_cdk.sources import AbstractSource, Source -from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy from airbyte_cdk.sources.streams.core import Stream from airbyte_cdk.sources.streams.http.availability_strategy import HttpAvailabilityStrategy from airbyte_cdk.sources.streams.http.http import HttpStream @@ -496,11 +495,6 @@ def __init__(self, *args, **kvargs): HttpStream.__init__(self, *args, kvargs) self.read_records = mocker.MagicMock() - # TODO (Ella): Remove explicit definition when turning on default - @property - def availability_strategy(self) -> Optional["AvailabilityStrategy"]: - return HttpAvailabilityStrategy() - class MockStream(mocker.MagicMock, Stream): page_size = None get_json_schema = mocker.MagicMock() @@ -554,11 +548,6 @@ def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapp self.resp_counter += 1 yield stub_response - # TODO (Ella): Remove explicit definition when turning on default - @property - def availability_strategy(self) -> Optional["AvailabilityStrategy"]: - return HttpAvailabilityStrategy() - class MockStream(mocker.MagicMock, Stream): page_size = None get_json_schema = mocker.MagicMock() diff --git a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/MigrationContainer.java b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/MigrationContainer.java index 6a317b03bd80..663f487a88c0 100644 --- a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/MigrationContainer.java +++ b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/MigrationContainer.java @@ -16,7 +16,9 @@ public class MigrationContainer { private final List migrationsToRegister; private final SortedMap migrations = new TreeMap<>(); - private String mostRecentMajorVersion = ""; + + // mostRecentMajorVersion defaults to v0 as no migration is required + private String mostRecentMajorVersion = "0"; public MigrationContainer(final List migrations) { this.migrationsToRegister = migrations; diff --git a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/AirbyteMessageMigrationV1.java b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/AirbyteMessageMigrationV1.java index 5150e2ac0e48..13ebbddfd26e 100644 --- a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/AirbyteMessageMigrationV1.java +++ b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/AirbyteMessageMigrationV1.java @@ -24,13 +24,13 @@ import io.airbyte.protocol.models.ConfiguredAirbyteStream; import io.airbyte.protocol.models.JsonSchemaReferenceTypes; import io.airbyte.validation.json.JsonSchemaValidator; -import jakarta.inject.Singleton; import java.util.Iterator; import java.util.Map.Entry; import java.util.Objects; import java.util.Optional; -@Singleton +// Disable V1 Migration, uncomment to re-enable +// @Singleton public class AirbyteMessageMigrationV1 implements AirbyteMessageMigration { private final JsonSchemaValidator validator; diff --git a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/CatalogMigrationV1Helper.java b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/CatalogMigrationV1Helper.java index f5a1f7836872..e34df750d65a 100644 --- a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/CatalogMigrationV1Helper.java +++ b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/CatalogMigrationV1Helper.java @@ -118,4 +118,102 @@ private static boolean hasV0DataType(final JsonNode schema) { return false; } + /** + * Performs an in-place migration of the schema from v1 to v0 if v1 data types are detected + * + * @param configuredAirbyteCatalog to migrate + */ + public static void downgradeSchemaIfNeeded(final ConfiguredAirbyteCatalog configuredAirbyteCatalog) { + if (containsV1DataTypes(configuredAirbyteCatalog)) { + downgradeSchema(configuredAirbyteCatalog); + } + } + + /** + * Performs an in-place migration of the schema from v1 to v0 if v1 data types are detected + * + * @param airbyteCatalog to migrate + */ + public static void downgradeSchemaIfNeeded(final AirbyteCatalog airbyteCatalog) { + if (containsV1DataTypes(airbyteCatalog)) { + downgradeSchema(airbyteCatalog); + } + } + + /** + * Performs an in-place migration of the schema from v1 to v0 + * + * @param configuredAirbyteCatalog to migrate + */ + private static void downgradeSchema(final ConfiguredAirbyteCatalog configuredAirbyteCatalog) { + for (final var stream : configuredAirbyteCatalog.getStreams()) { + SchemaMigrationV1.downgradeSchema(stream.getStream().getJsonSchema()); + } + } + + /** + * Performs an in-place migration of the schema from v1 to v0 + * + * @param airbyteCatalog to migrate + */ + private static void downgradeSchema(final AirbyteCatalog airbyteCatalog) { + for (final var stream : airbyteCatalog.getStreams()) { + SchemaMigrationV1.downgradeSchema(stream.getJsonSchema()); + } + } + + /** + * Returns true if catalog contains v1 data types + */ + private static boolean containsV1DataTypes(final ConfiguredAirbyteCatalog configuredAirbyteCatalog) { + if (configuredAirbyteCatalog == null) { + return false; + } + + return configuredAirbyteCatalog + .getStreams() + .stream().findFirst() + .map(ConfiguredAirbyteStream::getStream) + .map(CatalogMigrationV1Helper::streamContainsV1DataTypes) + .orElse(false); + } + + /** + * Returns true if catalog contains v1 data types + */ + private static boolean containsV1DataTypes(final AirbyteCatalog airbyteCatalog) { + if (airbyteCatalog == null) { + return false; + } + + return airbyteCatalog + .getStreams() + .stream().findFirst() + .map(CatalogMigrationV1Helper::streamContainsV1DataTypes) + .orElse(false); + } + + private static boolean streamContainsV1DataTypes(final AirbyteStream airbyteStream) { + if (airbyteStream == null || airbyteStream.getJsonSchema() == null) { + return false; + } + return hasV1DataType(airbyteStream.getJsonSchema()); + } + + /** + * Performs of search of a v0 data type node, returns true at the first node found. + */ + private static boolean hasV1DataType(final JsonNode schema) { + if (SchemaMigrationV1.isPrimitiveReferenceTypeDeclaration(schema)) { + return true; + } + + for (final JsonNode subSchema : SchemaMigrations.findSubschemas(schema)) { + if (hasV1DataType(subSchema)) { + return true; + } + } + return false; + } + } diff --git a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/ConfiguredAirbyteCatalogMigrationV1.java b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/ConfiguredAirbyteCatalogMigrationV1.java index e400b31724b7..f6dc897a64d8 100644 --- a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/ConfiguredAirbyteCatalogMigrationV1.java +++ b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/ConfiguredAirbyteCatalogMigrationV1.java @@ -11,9 +11,9 @@ import io.airbyte.commons.version.Version; import io.airbyte.protocol.models.ConfiguredAirbyteCatalog; import io.airbyte.protocol.models.ConfiguredAirbyteStream; -import jakarta.inject.Singleton; -@Singleton +// Disable V1 Migration, uncomment to re-enable +// @Singleton public class ConfiguredAirbyteCatalogMigrationV1 implements ConfiguredAirbyteCatalogMigration { diff --git a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/SchemaMigrationV1.java b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/SchemaMigrationV1.java index 5a4e5fcbab00..286bce93c84c 100644 --- a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/SchemaMigrationV1.java +++ b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/migrations/v1/SchemaMigrationV1.java @@ -65,7 +65,7 @@ static boolean isPrimitiveTypeDeclaration(final JsonNode schema) { * Detects any schema that looks like a reference type declaration, e.g.: { "$ref": * "WellKnownTypes.json...." } or { "oneOf": [{"$ref": "..."}, {"type": "object"}] } */ - private static boolean isPrimitiveReferenceTypeDeclaration(final JsonNode schema) { + static boolean isPrimitiveReferenceTypeDeclaration(final JsonNode schema) { if (!schema.isObject()) { // Non-object schemas (i.e. true/false) never need to be modified return false; diff --git a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0Deserializer.java b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0Deserializer.java index f280c508e417..85272cef9cbe 100644 --- a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0Deserializer.java +++ b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0Deserializer.java @@ -5,7 +5,7 @@ package io.airbyte.commons.protocol.serde; import io.airbyte.commons.version.AirbyteProtocolVersion; -import io.airbyte.protocol.models.v0.AirbyteMessage; +import io.airbyte.protocol.models.AirbyteMessage; import jakarta.inject.Singleton; @Singleton diff --git a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0Serializer.java b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0Serializer.java index f68ce7be46a4..badfee63f298 100644 --- a/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0Serializer.java +++ b/airbyte-commons-protocol/src/main/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0Serializer.java @@ -5,7 +5,7 @@ package io.airbyte.commons.protocol.serde; import io.airbyte.commons.version.AirbyteProtocolVersion; -import io.airbyte.protocol.models.v0.AirbyteMessage; +import io.airbyte.protocol.models.AirbyteMessage; import jakarta.inject.Singleton; @Singleton diff --git a/airbyte-commons-protocol/src/test/java/io/airbyte/commons/protocol/MigratorsMicronautTest.java b/airbyte-commons-protocol/src/test/java/io/airbyte/commons/protocol/MigratorsMicronautTest.java index 1c52ed7c8a45..281df4b898b7 100644 --- a/airbyte-commons-protocol/src/test/java/io/airbyte/commons/protocol/MigratorsMicronautTest.java +++ b/airbyte-commons-protocol/src/test/java/io/airbyte/commons/protocol/MigratorsMicronautTest.java @@ -22,7 +22,7 @@ class MigratorsMicronautTest { // This should contain the list of all the supported majors of the airbyte protocol except the most // recent one since the migrations themselves are keyed on the lower version. - final Set SUPPORTED_VERSIONS = Set.of("0"); + final Set SUPPORTED_VERSIONS = Set.of(); @Test void testAirbyteMessageMigrationInjection() { diff --git a/airbyte-commons-protocol/src/test/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0SerDeTest.java b/airbyte-commons-protocol/src/test/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0SerDeTest.java index 4f0a7965209e..c812d41f97e1 100644 --- a/airbyte-commons-protocol/src/test/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0SerDeTest.java +++ b/airbyte-commons-protocol/src/test/java/io/airbyte/commons/protocol/serde/AirbyteMessageV0SerDeTest.java @@ -7,9 +7,9 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import io.airbyte.commons.json.Jsons; -import io.airbyte.protocol.models.v0.AirbyteMessage; -import io.airbyte.protocol.models.v0.AirbyteMessage.Type; -import io.airbyte.protocol.models.v0.ConnectorSpecification; +import io.airbyte.protocol.models.AirbyteMessage; +import io.airbyte.protocol.models.AirbyteMessage.Type; +import io.airbyte.protocol.models.ConnectorSpecification; import java.net.URI; import java.net.URISyntaxException; import org.junit.jupiter.api.Test; diff --git a/airbyte-commons-worker/src/main/java/io/airbyte/workers/process/AirbyteIntegrationLauncher.java b/airbyte-commons-worker/src/main/java/io/airbyte/workers/process/AirbyteIntegrationLauncher.java index 17a7853f51f5..3b97a95b367e 100644 --- a/airbyte-commons-worker/src/main/java/io/airbyte/workers/process/AirbyteIntegrationLauncher.java +++ b/airbyte-commons-worker/src/main/java/io/airbyte/workers/process/AirbyteIntegrationLauncher.java @@ -24,6 +24,8 @@ import io.airbyte.commons.features.EnvVariableFeatureFlags; import io.airbyte.commons.features.FeatureFlags; import io.airbyte.config.AllowedHosts; +import io.airbyte.config.Configs; +import io.airbyte.config.EnvConfigs; import io.airbyte.config.ResourceRequirements; import io.airbyte.config.WorkerEnvConstants; import io.airbyte.metrics.lib.ApmTraceUtils; @@ -219,6 +221,7 @@ public Process write(final Path jobRoot, } private Map getWorkerMetadata() { + final Configs configs = new EnvConfigs(); return Map.of( WorkerEnvConstants.WORKER_CONNECTOR_IMAGE, imageName, WorkerEnvConstants.WORKER_JOB_ID, jobId, @@ -226,7 +229,9 @@ private Map getWorkerMetadata() { EnvVariableFeatureFlags.USE_STREAM_CAPABLE_STATE, String.valueOf(featureFlags.useStreamCapableState()), EnvVariableFeatureFlags.AUTO_DETECT_SCHEMA, String.valueOf(featureFlags.autoDetectSchema()), EnvVariableFeatureFlags.APPLY_FIELD_SELECTION, String.valueOf(featureFlags.applyFieldSelection()), - EnvVariableFeatureFlags.FIELD_SELECTION_WORKSPACES, featureFlags.fieldSelectionWorkspaces()); + EnvVariableFeatureFlags.FIELD_SELECTION_WORKSPACES, featureFlags.fieldSelectionWorkspaces(), + EnvConfigs.SOCAT_KUBE_CPU_LIMIT, configs.getSocatSidecarKubeCpuLimit(), + EnvConfigs.SOCAT_KUBE_CPU_REQUEST, configs.getSocatSidecarKubeCpuRequest()); } } diff --git a/airbyte-commons-worker/src/test/java/io/airbyte/workers/internal/VersionedAirbyteStreamFactoryTest.java b/airbyte-commons-worker/src/test/java/io/airbyte/workers/internal/VersionedAirbyteStreamFactoryTest.java index 9c887cfc8d27..0d6defce415e 100644 --- a/airbyte-commons-worker/src/test/java/io/airbyte/workers/internal/VersionedAirbyteStreamFactoryTest.java +++ b/airbyte-commons-worker/src/test/java/io/airbyte/workers/internal/VersionedAirbyteStreamFactoryTest.java @@ -12,8 +12,6 @@ import io.airbyte.commons.protocol.AirbyteMessageSerDeProvider; import io.airbyte.commons.protocol.AirbyteProtocolVersionedMigratorFactory; import io.airbyte.commons.protocol.ConfiguredAirbyteCatalogMigrator; -import io.airbyte.commons.protocol.migrations.v1.AirbyteMessageMigrationV1; -import io.airbyte.commons.protocol.migrations.v1.ConfiguredAirbyteCatalogMigrationV1; import io.airbyte.commons.protocol.serde.AirbyteMessageV0Deserializer; import io.airbyte.commons.protocol.serde.AirbyteMessageV0Serializer; import io.airbyte.commons.protocol.serde.AirbyteMessageV1Deserializer; @@ -45,10 +43,12 @@ void beforeEach() { List.of(new AirbyteMessageV0Serializer(), new AirbyteMessageV1Serializer()))); serDeProvider.initialize(); final AirbyteMessageMigrator airbyteMessageMigrator = new AirbyteMessageMigrator( - List.of(new AirbyteMessageMigrationV1())); + // TODO once data types v1 is re-enabled, this test should contain the migration + List.of(/* new AirbyteMessageMigrationV1() */)); airbyteMessageMigrator.initialize(); final ConfiguredAirbyteCatalogMigrator configuredAirbyteCatalogMigrator = new ConfiguredAirbyteCatalogMigrator( - List.of(new ConfiguredAirbyteCatalogMigrationV1())); + // TODO once data types v1 is re-enabled, this test should contain the migration + List.of(/* new ConfiguredAirbyteCatalogMigrationV1() */)); configuredAirbyteCatalogMigrator.initialize(); migratorFactory = spy(new AirbyteProtocolVersionedMigratorFactory(airbyteMessageMigrator, configuredAirbyteCatalogMigrator)); } diff --git a/airbyte-commons-worker/src/test/java/io/airbyte/workers/process/AirbyteIntegrationLauncherTest.java b/airbyte-commons-worker/src/test/java/io/airbyte/workers/process/AirbyteIntegrationLauncherTest.java index c6ec9ed2f49c..38652877dd25 100644 --- a/airbyte-commons-worker/src/test/java/io/airbyte/workers/process/AirbyteIntegrationLauncherTest.java +++ b/airbyte-commons-worker/src/test/java/io/airbyte/workers/process/AirbyteIntegrationLauncherTest.java @@ -17,6 +17,7 @@ import com.google.common.collect.Lists; import io.airbyte.commons.features.EnvVariableFeatureFlags; import io.airbyte.commons.features.FeatureFlags; +import io.airbyte.config.Configs; import io.airbyte.config.EnvConfigs; import io.airbyte.config.WorkerEnvConstants; import io.airbyte.workers.WorkerConfigs; @@ -51,15 +52,19 @@ class AirbyteIntegrationLauncherTest { CATALOG, "{}", "state", "{}"); - private static final FeatureFlags featureFlags = new EnvVariableFeatureFlags(); + private static final FeatureFlags FEATURE_FLAGS = new EnvVariableFeatureFlags(); + private static final Configs CONFIGS = new EnvConfigs(); + private static final Map JOB_METADATA = Map.of( WorkerEnvConstants.WORKER_CONNECTOR_IMAGE, FAKE_IMAGE, WorkerEnvConstants.WORKER_JOB_ID, JOB_ID, WorkerEnvConstants.WORKER_JOB_ATTEMPT, String.valueOf(JOB_ATTEMPT), - EnvVariableFeatureFlags.USE_STREAM_CAPABLE_STATE, String.valueOf(featureFlags.useStreamCapableState()), - EnvVariableFeatureFlags.AUTO_DETECT_SCHEMA, String.valueOf(featureFlags.autoDetectSchema()), - EnvVariableFeatureFlags.APPLY_FIELD_SELECTION, String.valueOf(featureFlags.applyFieldSelection()), - EnvVariableFeatureFlags.FIELD_SELECTION_WORKSPACES, featureFlags.fieldSelectionWorkspaces()); + EnvVariableFeatureFlags.USE_STREAM_CAPABLE_STATE, String.valueOf(FEATURE_FLAGS.useStreamCapableState()), + EnvVariableFeatureFlags.AUTO_DETECT_SCHEMA, String.valueOf(FEATURE_FLAGS.autoDetectSchema()), + EnvVariableFeatureFlags.APPLY_FIELD_SELECTION, String.valueOf(FEATURE_FLAGS.applyFieldSelection()), + EnvVariableFeatureFlags.FIELD_SELECTION_WORKSPACES, FEATURE_FLAGS.fieldSelectionWorkspaces(), + EnvConfigs.SOCAT_KUBE_CPU_REQUEST, CONFIGS.getSocatSidecarKubeCpuRequest(), + EnvConfigs.SOCAT_KUBE_CPU_LIMIT, CONFIGS.getSocatSidecarKubeCpuLimit()); private WorkerConfigs workerConfigs; @Mock @@ -70,7 +75,7 @@ class AirbyteIntegrationLauncherTest { void setUp() { workerConfigs = new WorkerConfigs(new EnvConfigs()); launcher = new AirbyteIntegrationLauncher(JOB_ID, JOB_ATTEMPT, FAKE_IMAGE, processFactory, workerConfigs.getResourceRequirements(), null, false, - featureFlags); + FEATURE_FLAGS); } @Test diff --git a/airbyte-config/config-models/src/main/java/io/airbyte/config/EnvConfigs.java b/airbyte-config/config-models/src/main/java/io/airbyte/config/EnvConfigs.java index d1506ffa91df..c448270d6c7a 100644 --- a/airbyte-config/config-models/src/main/java/io/airbyte/config/EnvConfigs.java +++ b/airbyte-config/config-models/src/main/java/io/airbyte/config/EnvConfigs.java @@ -218,7 +218,7 @@ public class EnvConfigs implements Configs { private static final long DEFAULT_MAX_SYNC_WORKERS = 5; private static final long DEFAULT_MAX_NOTIFY_WORKERS = 5; private static final String DEFAULT_NETWORK = "host"; - private static final Version DEFAULT_AIRBYTE_PROTOCOL_VERSION_MAX = new Version("1.0.0"); + private static final Version DEFAULT_AIRBYTE_PROTOCOL_VERSION_MAX = new Version("0.3.0"); private static final Version DEFAULT_AIRBYTE_PROTOCOL_VERSION_MIN = new Version("0.0.0"); private static final String AUTO_DETECT_SCHEMA = "AUTO_DETECT_SCHEMA"; private static final String APPLY_FIELD_SELECTION = "APPLY_FIELD_SELECTION"; diff --git a/airbyte-config/config-persistence/src/main/java/io/airbyte/config/persistence/ConfigRepository.java b/airbyte-config/config-persistence/src/main/java/io/airbyte/config/persistence/ConfigRepository.java index 4492e4171e0e..6d4e37c56fcf 100644 --- a/airbyte-config/config-persistence/src/main/java/io/airbyte/config/persistence/ConfigRepository.java +++ b/airbyte-config/config-persistence/src/main/java/io/airbyte/config/persistence/ConfigRepository.java @@ -1568,6 +1568,30 @@ public boolean getWorkspaceHasAlphaOrBetaConnector(final UUID workspaceId) throw return countResult > 0; } + /** + * Specialized query for efficiently determining a connection's eligibility for the Free Connector + * Program. If a connection has at least one Alpha or Beta connector, it will be free to use as long + * as the workspace is enrolled in the Free Connector Program. This check is used to allow free + * connections to continue running even when a workspace runs out of credits. + * + * @param connectionId ID of the connection to check connectors for + * @return boolean indicating if an alpha or beta connector is used by the connection + */ + public boolean getConnectionHasAlphaOrBetaConnector(final UUID connectionId) throws IOException { + final Condition releaseStageAlphaOrBeta = ACTOR_DEFINITION.RELEASE_STAGE.eq(ReleaseStage.alpha) + .or(ACTOR_DEFINITION.RELEASE_STAGE.eq(ReleaseStage.beta)); + + final Integer countResult = database.query(ctx -> ctx.selectCount() + .from(CONNECTION) + .join(ACTOR).on(ACTOR.ID.eq(CONNECTION.SOURCE_ID).or(ACTOR.ID.eq(CONNECTION.DESTINATION_ID))) + .join(ACTOR_DEFINITION).on(ACTOR_DEFINITION.ID.eq(ACTOR.ACTOR_DEFINITION_ID)) + .where(CONNECTION.ID.eq(connectionId)) + .and(releaseStageAlphaOrBeta)) + .fetchOneInto(Integer.class); + + return countResult > 0; + } + /** * Deletes all records with given id. If it deletes anything, returns true. Otherwise, false. * diff --git a/airbyte-config/config-persistence/src/main/java/io/airbyte/config/persistence/DbConverter.java b/airbyte-config/config-persistence/src/main/java/io/airbyte/config/persistence/DbConverter.java index 23af41e4e717..55d162320888 100644 --- a/airbyte-config/config-persistence/src/main/java/io/airbyte/config/persistence/DbConverter.java +++ b/airbyte-config/config-persistence/src/main/java/io/airbyte/config/persistence/DbConverter.java @@ -98,7 +98,9 @@ public static StandardSync buildStandardSync(final Record record, final Listv1) - CatalogMigrationV1Helper.upgradeSchemaIfNeeded(configuredAirbyteCatalog); + // TODO feature flag this for data types rollout + // CatalogMigrationV1Helper.upgradeSchemaIfNeeded(configuredAirbyteCatalog); + CatalogMigrationV1Helper.downgradeSchemaIfNeeded(configuredAirbyteCatalog); return configuredAirbyteCatalog; } @@ -249,7 +251,9 @@ public static ActorCatalogWithUpdatedAt buildActorCatalogWithUpdatedAt(final Rec public static AirbyteCatalog parseAirbyteCatalog(final String airbyteCatalogString) { final AirbyteCatalog airbyteCatalog = Jsons.deserialize(airbyteCatalogString, AirbyteCatalog.class); // On-the-fly migration of persisted data types related objects (protocol v0->v1) - CatalogMigrationV1Helper.upgradeSchemaIfNeeded(airbyteCatalog); + // TODO feature flag this for data types rollout + // CatalogMigrationV1Helper.upgradeSchemaIfNeeded(airbyteCatalog); + CatalogMigrationV1Helper.downgradeSchemaIfNeeded(airbyteCatalog); return airbyteCatalog; } diff --git a/airbyte-config/config-persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryE2EReadWriteTest.java b/airbyte-config/config-persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryE2EReadWriteTest.java index 1de35c619a83..872020e46089 100644 --- a/airbyte-config/config-persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryE2EReadWriteTest.java +++ b/airbyte-config/config-persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryE2EReadWriteTest.java @@ -161,7 +161,7 @@ void testSimpleInsertActorCatalog() throws IOException, JsonValidationException, configRepository.writeSourceConnectionNoSecrets(source); final AirbyteCatalog actorCatalog = CatalogHelpers.createAirbyteCatalog("clothes", Field.of("name", JsonSchemaType.STRING)); - final AirbyteCatalog expectedActorCatalog = CatalogHelpers.createAirbyteCatalog("clothes", Field.of("name", JsonSchemaType.STRING_V1)); + final AirbyteCatalog expectedActorCatalog = CatalogHelpers.createAirbyteCatalog("clothes", Field.of("name", JsonSchemaType.STRING)); configRepository.writeActorCatalogFetchEvent( actorCatalog, source.getSourceId(), DOCKER_IMAGE_TAG, CONFIG_HASH); @@ -201,7 +201,8 @@ void testSimpleInsertActorCatalog() throws IOException, JsonValidationException, assertEquals(expectedActorCatalog, Jsons.object(catalogNewConfig.get().getCatalog(), AirbyteCatalog.class)); final int catalogDbEntry2 = database.query(ctx -> ctx.selectCount().from(ACTOR_CATALOG)).fetchOne().into(int.class); - assertEquals(2, catalogDbEntry2); + // TODO this should be 2 once we re-enable datatypes v1 + assertEquals(1, catalogDbEntry2); } @Test @@ -484,13 +485,16 @@ void testGetStandardSyncUsingOperation() throws IOException { } private List copyWithV1Types(final List syncs) { - return syncs.stream() - .map(standardSync -> { - final StandardSync copiedStandardSync = Jsons.deserialize(Jsons.serialize(standardSync), StandardSync.class); - copiedStandardSync.setCatalog(MockData.getConfiguredCatalogWithV1DataTypes()); - return copiedStandardSync; - }) - .toList(); + return syncs; + // TODO adjust with data types feature flag testing + // return syncs.stream() + // .map(standardSync -> { + // final StandardSync copiedStandardSync = Jsons.deserialize(Jsons.serialize(standardSync), + // StandardSync.class); + // copiedStandardSync.setCatalog(MockData.getConfiguredCatalogWithV1DataTypes()); + // return copiedStandardSync; + // }) + // .toList(); } private void assertSyncsMatch(final List expectedSyncs, final List actualSyncs) { diff --git a/airbyte-config/config-persistence/src/test/java/io/airbyte/config/persistence/StandardSyncPersistenceTest.java b/airbyte-config/config-persistence/src/test/java/io/airbyte/config/persistence/StandardSyncPersistenceTest.java index cbfb4dfd8b0e..74cc65ea7055 100644 --- a/airbyte-config/config-persistence/src/test/java/io/airbyte/config/persistence/StandardSyncPersistenceTest.java +++ b/airbyte-config/config-persistence/src/test/java/io/airbyte/config/persistence/StandardSyncPersistenceTest.java @@ -6,6 +6,7 @@ import static io.airbyte.db.instance.configs.jooq.generated.Tables.CONNECTION; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -23,6 +24,7 @@ import io.airbyte.config.SourceConnection; import io.airbyte.config.StandardDestinationDefinition; import io.airbyte.config.StandardSourceDefinition; +import io.airbyte.config.StandardSourceDefinition.ReleaseStage; import io.airbyte.config.StandardSourceDefinition.SourceType; import io.airbyte.config.StandardSync; import io.airbyte.config.StandardSync.NonBreakingChangesPreference; @@ -59,12 +61,16 @@ record StandardSyncProtocolVersionFlag(UUID standardSyncId, boolean unsupportedP private StandardSyncPersistence standardSyncPersistence; private StandardSourceDefinition sourceDef1; + private StandardSourceDefinition sourceDefAlpha; private SourceConnection source1; private SourceConnection source2; + private SourceConnection sourceAlpha; private StandardDestinationDefinition destDef1; private StandardDestinationDefinition destDef2; + private StandardDestinationDefinition destDefBeta; private DestinationConnection destination1; private DestinationConnection destination2; + private DestinationConnection destinationBeta; @BeforeEach void beforeEach() throws Exception { @@ -232,6 +238,23 @@ void testGetAllStreamsForConnection() throws Exception { streamDescriptor -> "stream2".equals(streamDescriptor.getName()) && streamDescriptor.getNamespace() == null)); } + @Test + void testConnectionHasAlphaOrBetaConnector() throws JsonValidationException, IOException { + createBaseObjects(); + + final StandardSync syncGa = createStandardSync(source1, destination1); + standardSyncPersistence.writeStandardSync(syncGa); + assertFalse(configRepository.getConnectionHasAlphaOrBetaConnector(syncGa.getConnectionId())); + + final StandardSync syncAlpha = createStandardSync(sourceAlpha, destination1); + standardSyncPersistence.writeStandardSync(syncAlpha); + assertTrue(configRepository.getConnectionHasAlphaOrBetaConnector(syncAlpha.getConnectionId())); + + final StandardSync syncBeta = createStandardSync(source1, destinationBeta); + standardSyncPersistence.writeStandardSync(syncBeta); + assertTrue(configRepository.getConnectionHasAlphaOrBetaConnector(syncBeta.getConnectionId())); + } + private Set getProtocolVersionFlagForSyncs(final List standardSync) throws SQLException { return database.query(ctx -> ctx .select(CONNECTION.ID, CONNECTION.UNSUPPORTED_PROTOCOL_VERSION) @@ -276,20 +299,27 @@ private void createBaseObjects() throws IOException, JsonValidationException { .withDefaultGeography(Geography.AUTO); configRepository.writeStandardWorkspaceNoSecrets(workspace); - sourceDef1 = createStandardSourceDefinition("0.2.2"); + sourceDef1 = createStandardSourceDefinition("0.2.2", ReleaseStage.GENERALLY_AVAILABLE); source1 = createSourceConnection(workspaceId, sourceDef1); - final StandardSourceDefinition sourceDef2 = createStandardSourceDefinition("1.1.0"); + final StandardSourceDefinition sourceDef2 = createStandardSourceDefinition("1.1.0", ReleaseStage.GENERALLY_AVAILABLE); source2 = createSourceConnection(workspaceId, sourceDef2); - destDef1 = createStandardDestDefinition("0.2.3"); + sourceDefAlpha = createStandardSourceDefinition("1.0.0", ReleaseStage.ALPHA); + sourceAlpha = createSourceConnection(workspaceId, sourceDefAlpha); + + destDef1 = createStandardDestDefinition("0.2.3", StandardDestinationDefinition.ReleaseStage.GENERALLY_AVAILABLE); destination1 = createDestinationConnection(workspaceId, destDef1); - destDef2 = createStandardDestDefinition("1.0.0"); + destDef2 = createStandardDestDefinition("1.3.0", StandardDestinationDefinition.ReleaseStage.GENERALLY_AVAILABLE); destination2 = createDestinationConnection(workspaceId, destDef2); + + destDefBeta = createStandardDestDefinition("1.3.0", StandardDestinationDefinition.ReleaseStage.BETA); + destinationBeta = createDestinationConnection(workspaceId, destDefBeta); } - private StandardSourceDefinition createStandardSourceDefinition(final String protocolVersion) throws JsonValidationException, IOException { + private StandardSourceDefinition createStandardSourceDefinition(final String protocolVersion, final ReleaseStage releaseStage) + throws JsonValidationException, IOException { final UUID sourceDefId = UUID.randomUUID(); final StandardSourceDefinition sourceDef = new StandardSourceDefinition() .withSourceDefinitionId(sourceDefId) @@ -301,6 +331,7 @@ private StandardSourceDefinition createStandardSourceDefinition(final String pro .withIcon("icon-1") .withSpec(new ConnectorSpecification()) .withProtocolVersion(protocolVersion) + .withReleaseStage(releaseStage) .withTombstone(false) .withPublic(true) .withCustom(false) @@ -309,7 +340,9 @@ private StandardSourceDefinition createStandardSourceDefinition(final String pro return sourceDef; } - private StandardDestinationDefinition createStandardDestDefinition(final String protocolVersion) throws JsonValidationException, IOException { + private StandardDestinationDefinition createStandardDestDefinition(final String protocolVersion, + final StandardDestinationDefinition.ReleaseStage releaseStage) + throws JsonValidationException, IOException { final UUID destDefId = UUID.randomUUID(); final StandardDestinationDefinition destDef = new StandardDestinationDefinition() .withDestinationDefinitionId(destDefId) @@ -320,6 +353,7 @@ private StandardDestinationDefinition createStandardDestDefinition(final String .withIcon("icon-3") .withSpec(new ConnectorSpecification()) .withProtocolVersion(protocolVersion) + .withReleaseStage(releaseStage) .withTombstone(false) .withPublic(true) .withCustom(false) diff --git a/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml b/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml index 4b8a24d6daf8..002404443f58 100644 --- a/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml @@ -45,7 +45,7 @@ icon: bigquery.svg normalizationConfig: normalizationRepository: airbyte/normalization - normalizationTag: 0.3.2 + normalizationTag: 0.2.25 normalizationIntegrationType: bigquery supportsDbt: true resourceRequirements: @@ -91,7 +91,7 @@ releaseStage: alpha normalizationConfig: normalizationRepository: airbyte/normalization-clickhouse - normalizationTag: 0.3.2 + normalizationTag: 0.2.25 normalizationIntegrationType: clickhouse supportsDbt: true - name: Cloudflare R2 @@ -213,7 +213,7 @@ releaseStage: alpha normalizationConfig: normalizationRepository: airbyte/normalization-mssql - normalizationTag: 0.3.2 + normalizationTag: 0.2.25 normalizationIntegrationType: mssql supportsDbt: true - name: MeiliSearch @@ -239,7 +239,7 @@ releaseStage: alpha normalizationConfig: normalizationRepository: airbyte/normalization-mysql - normalizationTag: 0.3.2 + normalizationTag: 0.2.25 normalizationIntegrationType: mysql supportsDbt: true - name: Oracle @@ -251,7 +251,7 @@ releaseStage: alpha normalizationConfig: normalizationRepository: airbyte/normalization-oracle - normalizationTag: 0.3.2 + normalizationTag: 0.2.25 normalizationIntegrationType: oracle supportsDbt: true - name: Postgres @@ -263,7 +263,7 @@ releaseStage: alpha normalizationConfig: normalizationRepository: airbyte/normalization - normalizationTag: 0.3.2 + normalizationTag: 0.2.25 normalizationIntegrationType: postgres supportsDbt: true - name: Pulsar @@ -295,7 +295,7 @@ icon: redshift.svg normalizationConfig: normalizationRepository: airbyte/normalization-redshift - normalizationTag: 0.3.2 + normalizationTag: 0.2.25 normalizationIntegrationType: redshift supportsDbt: true resourceRequirements: @@ -353,7 +353,7 @@ icon: snowflake.svg normalizationConfig: normalizationRepository: airbyte/normalization-snowflake - normalizationTag: 0.3.2 + normalizationTag: 0.2.25 normalizationIntegrationType: snowflake supportsDbt: true resourceRequirements: @@ -407,7 +407,7 @@ releaseStage: alpha normalizationConfig: normalizationRepository: airbyte/normalization-tidb - normalizationTag: 0.3.2 + normalizationTag: 0.2.25 normalizationIntegrationType: tidb supportsDbt: true - name: Typesense diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index ef170e4e5bdd..d2e1eaaa873d 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -17,11 +17,15 @@ - name: Airtable sourceDefinitionId: 14c6e7ea-97ed-4f5e-a7b5-25e9a80b8212 dockerRepository: airbyte/source-airtable - dockerImageTag: 2.0.0 + dockerImageTag: 2.0.2 documentationUrl: https://docs.airbyte.com/integrations/sources/airtable icon: airtable.svg sourceType: api releaseStage: beta + allowedHosts: + hosts: + - api.airtable.com + - airtable.com - name: Aha sourceDefinitionId: 81ca39dc-4534-4dd2-b848-b0cfd2c11fce dockerRepository: airbyte/source-aha @@ -975,7 +979,7 @@ - name: Mailchimp sourceDefinitionId: b03a9f3e-22a5-11eb-adc1-0242ac120002 dockerRepository: airbyte/source-mailchimp - dockerImageTag: 0.3.2 + dockerImageTag: 0.3.3 documentationUrl: https://docs.airbyte.com/integrations/sources/mailchimp icon: mailchimp.svg sourceType: api diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml index ff6eb11ef6f2..5ab5ca56bd49 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -178,7 +178,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-airtable:2.0.0" +- dockerImage: "airbyte/source-airtable:2.0.2" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/airtable" connectionSpecification: @@ -7895,7 +7895,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-mailchimp:0.3.2" +- dockerImage: "airbyte/source-mailchimp:0.3.3" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/mailchimp" connectionSpecification: diff --git a/airbyte-integrations/bases/source-acceptance-test/.coveragerc b/airbyte-integrations/bases/connector-acceptance-test/.coveragerc similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/.coveragerc rename to airbyte-integrations/bases/connector-acceptance-test/.coveragerc diff --git a/airbyte-integrations/bases/source-acceptance-test/.dockerignore b/airbyte-integrations/bases/connector-acceptance-test/.dockerignore similarity index 57% rename from airbyte-integrations/bases/source-acceptance-test/.dockerignore rename to airbyte-integrations/bases/connector-acceptance-test/.dockerignore index 8629cf0234a2..e8e8f8e5814b 100644 --- a/airbyte-integrations/bases/source-acceptance-test/.dockerignore +++ b/airbyte-integrations/bases/connector-acceptance-test/.dockerignore @@ -1,5 +1,5 @@ * !Dockerfile -!source_acceptance_test +!connector_acceptance_test !setup.py !pytest.ini diff --git a/airbyte-integrations/bases/source-acceptance-test/CHANGELOG.md b/airbyte-integrations/bases/connector-acceptance-test/CHANGELOG.md similarity index 98% rename from airbyte-integrations/bases/source-acceptance-test/CHANGELOG.md rename to airbyte-integrations/bases/connector-acceptance-test/CHANGELOG.md index 2492642bdca1..0d9294c96eba 100644 --- a/airbyte-integrations/bases/source-acceptance-test/CHANGELOG.md +++ b/airbyte-integrations/bases/connector-acceptance-test/CHANGELOG.md @@ -3,6 +3,8 @@ ## 0.5.0 Re-release of 0.3.0 [#21451](https://github.com/airbytehq/airbyte/pull/21451) +# Renamed image from `airbyte/source-acceptance-test` to `airbyte/connector-acceptance-test` - Older versions are only available under the old name + ## 0.4.0 Revert 0.3.0 diff --git a/airbyte-integrations/bases/source-acceptance-test/Dockerfile b/airbyte-integrations/bases/connector-acceptance-test/Dockerfile similarity index 78% rename from airbyte-integrations/bases/source-acceptance-test/Dockerfile rename to airbyte-integrations/bases/connector-acceptance-test/Dockerfile index cd1d9aa54fe0..cfed93a37001 100644 --- a/airbyte-integrations/bases/source-acceptance-test/Dockerfile +++ b/airbyte-integrations/bases/connector-acceptance-test/Dockerfile @@ -16,7 +16,7 @@ RUN pip install --prefix=/install -r *.egg-info/requires.txt # build a clean environment FROM base -WORKDIR /airbyte/source_acceptance_test +WORKDIR /airbyte/connector_acceptance_test # copy all loaded and built libraries to a pure basic image COPY --from=builder /install /usr/local @@ -30,10 +30,10 @@ ENV ACCEPTANCE_TEST_DOCKER_CONTAINER 1 # copy payload code only COPY pytest.ini setup.py ./ -COPY source_acceptance_test ./source_acceptance_test +COPY connector_acceptance_test ./connector_acceptance_test RUN pip install . LABEL io.airbyte.version=0.5.0 -LABEL io.airbyte.name=airbyte/source-acceptance-test +LABEL io.airbyte.name=airbyte/connector-acceptance-test -ENTRYPOINT ["python", "-m", "pytest", "-p", "source_acceptance_test.plugin", "-r", "fEsx"] +ENTRYPOINT ["python", "-m", "pytest", "-p", "connector_acceptance_test.plugin", "-r", "fEsx"] diff --git a/airbyte-integrations/bases/source-acceptance-test/README.md b/airbyte-integrations/bases/connector-acceptance-test/README.md similarity index 50% rename from airbyte-integrations/bases/source-acceptance-test/README.md rename to airbyte-integrations/bases/connector-acceptance-test/README.md index c785649135fe..029784bed582 100644 --- a/airbyte-integrations/bases/source-acceptance-test/README.md +++ b/airbyte-integrations/bases/connector-acceptance-test/README.md @@ -1,11 +1,11 @@ -# Source Acceptance Tests -This package gathers multiple test suites to assess the sanity of any Airbyte **source** connector. +# Connector Acceptance Tests +This package gathers multiple test suites to assess the sanity of any Airbyte connector. It is shipped as a [pytest](https://docs.pytest.org/en/7.1.x/) plugin and relies on pytest to discover, configure and execute tests. -Test-specific documentation can be found [here](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference/)). +Test-specific documentation can be found [here](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference/)). ## Running the acceptance tests on a source connector: -1. `cd` into your connector project (e.g. `airbyte-integrations/connectors/source-pokeapi`) -2. Edit `acceptance-test-config.yml` according to your need. Please refer to our [Source Acceptance Test Reference](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference/) if you need details about the available options. +1. `cd` into your connector project (e.g. `airbyte-integrations/connectors/source-pokeapi`) +2. Edit `acceptance-test-config.yml` according to your need. Please refer to our [Connector Acceptance Test Reference](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference/) if you need details about the available options. 3. Build the connector docker image ( e.g.: `docker build . -t airbyte/source-pokeapi:dev`) 4. Use one of the following ways to run tests (**from your connector project directory**) @@ -17,7 +17,7 @@ _Note: this will assume that docker image for connector is already built_ **Using Gradle** ```bash -./gradlew :airbyte-integrations:connectors:source-:sourceAcceptanceTest +./gradlew :airbyte-integrations:connectors:source-:connectorAcceptanceTest ``` _Note: this way will also build docker image for the connector_ @@ -25,37 +25,37 @@ _Note: this way will also build docker image for the connector_ ```bash ./acceptance-test-docker.sh ``` -_Note: this will use the latest docker image for source-acceptance-test and will also build docker image for the connector_ +_Note: this will use the latest docker image for connector-acceptance-test and will also build docker image for the connector_ -## When does SAT run? +## When does acceptance test run? * When running local acceptance tests on connector: - * When running `sourceAcceptanceTest` `gradle` task + * When running `connectorAcceptanceTest` `gradle` task * When running or `./acceptance-test-docker.sh` in a connector project * When running `/test` command on a GitHub pull request. * When running `/publish` command on a GitHub pull request. * When running ` integration-test` GitHub action that is creating the JSON files linked to from [connector builds summary](https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/builds.md). -## Developing on the SAT -You may want to iterate on the SAT project: adding new tests, fixing a bug etc. +## Developing on the acceptance tests +You may want to iterate on the acceptance test project itself: adding new tests, fixing a bug etc. These iterations are more conveniently achieved by remaining in the current directory. 1. Create a `virtualenv`: `python -m venv .venv` 2. Activate the `virtualenv`: `source ./.venv/bin/activate` 3. Install requirements: `pip install -e .` -4. Run the unit tests on SAT: `python -m pytest unit_tests` (add the `--pdb` option if you want to enable the debugger on test failure) +4. Run the unit tests on the acceptance tests themselves: `python -m pytest unit_tests` (add the `--pdb` option if you want to enable the debugger on test failure) 5. Make the changes you want: - * Global pytest fixtures are defined in `./source_acceptance_test/conftest.py` - * Existing test modules are defined in `./source_acceptance_test/tests` - * `acceptance-test-config.yaml` structure is defined in `./source_acceptance_test/config.py` + * Global pytest fixtures are defined in `./connector_acceptance_test/conftest.py` + * Existing test modules are defined in `./connector_acceptance_test/tests` + * `acceptance-test-config.yaml` structure is defined in `./connector_acceptance_test/config.py` 6. Unit test your changes by adding tests to `./unit_tests` -7. Run the unit tests on SAT again: `python -m pytest unit_tests`, make sure the coverage did not decrease. You can bypass slow tests by using the `slow` marker: `python -m pytest unit_tests -m "not slow"`. -8. Manually test the changes you made by running SAT on a specific connector. e.g. `python -m pytest -p source_acceptance_test.plugin --acceptance-test-config=../../connectors/source-pokeapi` -9. Make sure you updated `docs/connector-development/testing-connectors/source-acceptance-tests-reference.md` according to your changes -10. Bump the SAT version in `airbyte-integrations/bases/source-acceptance-test/Dockerfile` -11. Update the project changelog `airbyte-integrations/bases/source-acceptance-test/CHANGELOG.md` +7. Run the unit tests on the acceptance tests again: `python -m pytest unit_tests`, make sure the coverage did not decrease. You can bypass slow tests by using the `slow` marker: `python -m pytest unit_tests -m "not slow"`. +8. Manually test the changes you made by running acceptance tests on a specific connector. e.g. `python -m pytest -p connector_acceptance_test.plugin --acceptance-test-config=../../connectors/source-pokeapi` +9. Make sure you updated `docs/connector-development/testing-connectors/connector-acceptance-tests-reference.md` according to your changes +10. Bump the acceptance test docker image version in `airbyte-integrations/bases/connector-acceptance-test/Dockerfile` +11. Update the project changelog `airbyte-integrations/bases/connector-acceptance-test/CHANGELOG.md` 12. Open a PR on our GitHub repository -13. Run the unit test on the CI by running `/test connector=bases/source-acceptance-test` in a GitHub comment -14. Publish the new SAT version if your PR is approved by running `/publish connector=bases/source-acceptance-test auto-bump-version=false` in a GitHub comment +13. Run the unit test on the CI by running `/test connector=bases/connector-acceptance-test` in a GitHub comment +14. Publish the new acceptance test version if your PR is approved by running `/publish connector=bases/connector-acceptance-test auto-bump-version=false` in a GitHub comment 15. Merge your PR ## Migrating `acceptance-test-config.yml` to latest configuration format @@ -66,5 +66,5 @@ To migrate a legacy configuration to the latest configuration format please run: ```bash python -m venv .venv # If you don't have a virtualenv already source ./.venv/bin/activate # If you're not in your virtualenv already -python source_acceptance_test/tools/strictness_level_migration/config_migration.py ../../connectors/source-to-migrate/acceptance-test-config.yml +python connector_acceptance_test/tools/strictness_level_migration/config_migration.py ../../connectors/source-to-migrate/acceptance-test-config.yml ``` \ No newline at end of file diff --git a/airbyte-integrations/bases/source-acceptance-test/build.gradle b/airbyte-integrations/bases/connector-acceptance-test/build.gradle similarity index 62% rename from airbyte-integrations/bases/source-acceptance-test/build.gradle rename to airbyte-integrations/bases/connector-acceptance-test/build.gradle index a3594ea235e4..2f20e9f479c6 100644 --- a/airbyte-integrations/bases/source-acceptance-test/build.gradle +++ b/airbyte-integrations/bases/connector-acceptance-test/build.gradle @@ -4,6 +4,6 @@ plugins { } airbytePython { - moduleDirectory 'source_acceptance_test' + moduleDirectory 'connector_acceptance_test' } diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/__init__.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/__init__.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/__init__.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/__init__.py diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/base.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/base.py similarity index 91% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/base.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/base.py index bb7b6488c7f0..04a8ec89c006 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/base.py +++ b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/base.py @@ -5,7 +5,7 @@ import inflection import pytest -from source_acceptance_test.config import Config +from connector_acceptance_test.config import Config @pytest.mark.usefixtures("inputs") diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/config.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/config.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/config.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/config.py diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/conftest.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/conftest.py similarity index 98% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/conftest.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/conftest.py index 476c002741f6..808663f1d4d8 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/conftest.py +++ b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/conftest.py @@ -15,11 +15,10 @@ import pytest from airbyte_cdk.models import AirbyteRecordMessage, AirbyteStream, ConfiguredAirbyteCatalog, ConnectorSpecification, Type -from docker import errors -from source_acceptance_test.base import BaseTest -from source_acceptance_test.config import Config, EmptyStreamConfiguration, ExpectedRecordsConfig -from source_acceptance_test.tests import TestBasicRead -from source_acceptance_test.utils import ( +from connector_acceptance_test.base import BaseTest +from connector_acceptance_test.config import Config, EmptyStreamConfiguration, ExpectedRecordsConfig +from connector_acceptance_test.tests import TestBasicRead +from connector_acceptance_test.utils import ( ConnectorRunner, SecretDict, build_configured_catalog_from_custom_catalog, @@ -28,6 +27,7 @@ load_config, load_yaml_or_json_path, ) +from docker import errors @pytest.fixture(name="acceptance_test_config", scope="session") @@ -348,7 +348,7 @@ def pytest_sessionfinish(session, exitstatus): print() # create a line break logger.info( # session.startdir gives local path to the connector folder, so we can verify which cnctr was tested - f"{session.startdir} - SAT run - " + f"{session.startdir} - Connector Acceptance Test run - " # using subprocess.check_output to run cmd to get git hash f"{check_output('git rev-parse HEAD', stderr=STDOUT, shell=True).decode('ascii').strip()}" f" - {result}" diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/plugin.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/plugin.py similarity index 95% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/plugin.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/plugin.py index 52bf61f0366a..f7baa1966423 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/plugin.py +++ b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/plugin.py @@ -10,10 +10,10 @@ import pytest from _pytest.config import Config from _pytest.config.argparsing import Parser -from source_acceptance_test.base import BaseTest -from source_acceptance_test.config import Config as AcceptanceTestConfig -from source_acceptance_test.config import GenericTestConfig -from source_acceptance_test.utils import diff_dicts, load_config +from connector_acceptance_test.base import BaseTest +from connector_acceptance_test.config import Config as AcceptanceTestConfig +from connector_acceptance_test.config import GenericTestConfig +from connector_acceptance_test.utils import diff_dicts, load_config HERE = Path(__file__).parent.absolute() diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/__init__.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/__init__.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/__init__.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/__init__.py diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_core.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/test_core.py similarity index 98% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_core.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/test_core.py index 0e985b06cecf..31a56f5728b8 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_core.py +++ b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/test_core.py @@ -25,10 +25,8 @@ TraceType, Type, ) -from docker.errors import ContainerError -from jsonschema._utils import flatten -from source_acceptance_test.base import BaseTest -from source_acceptance_test.config import ( +from connector_acceptance_test.base import BaseTest +from connector_acceptance_test.config import ( BasicReadTestConfig, Config, ConnectionTestConfig, @@ -37,15 +35,17 @@ ExpectedRecordsConfig, SpecTestConfig, ) -from source_acceptance_test.utils import ConnectorRunner, SecretDict, filter_output, make_hashable, verify_records_schema -from source_acceptance_test.utils.backward_compatibility import CatalogDiffChecker, SpecDiffChecker, validate_previous_configs -from source_acceptance_test.utils.common import ( +from connector_acceptance_test.utils import ConnectorRunner, SecretDict, filter_output, make_hashable, verify_records_schema +from connector_acceptance_test.utils.backward_compatibility import CatalogDiffChecker, SpecDiffChecker, validate_previous_configs +from connector_acceptance_test.utils.common import ( build_configured_catalog_from_custom_catalog, build_configured_catalog_from_discovered_catalog_and_empty_streams, find_all_values_for_key_in_schema, find_keyword_schema, ) -from source_acceptance_test.utils.json_schema_helper import JsonSchemaHelper, get_expected_schema_structure, get_object_structure +from connector_acceptance_test.utils.json_schema_helper import JsonSchemaHelper, get_expected_schema_structure, get_object_structure +from docker.errors import ContainerError +from jsonschema._utils import flatten @pytest.fixture(name="connector_spec_dict") @@ -629,7 +629,7 @@ def _validate_records_structure(records: List[AirbyteRecordMessage], configured_ there no common pathes then raise an alert. :param records: List of airbyte record messages gathered from connector instances. - :param configured_catalog: SAT testcase parameters parsed from yaml file + :param configured_catalog: Testcase parameters parsed from yaml file """ schemas: Dict[str, Set] = {} for stream in configured_catalog.streams: diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_full_refresh.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/test_full_refresh.py similarity index 90% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_full_refresh.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/test_full_refresh.py index c27938723c72..4ee59fa13606 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_full_refresh.py +++ b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/test_full_refresh.py @@ -9,10 +9,10 @@ import pytest from airbyte_cdk.models import ConfiguredAirbyteCatalog, Type -from source_acceptance_test.base import BaseTest -from source_acceptance_test.config import ConnectionTestConfig -from source_acceptance_test.utils import ConnectorRunner, JsonSchemaHelper, SecretDict, full_refresh_only_catalog, make_hashable -from source_acceptance_test.utils.json_schema_helper import CatalogField +from connector_acceptance_test.base import BaseTest +from connector_acceptance_test.config import ConnectionTestConfig +from connector_acceptance_test.utils import ConnectorRunner, JsonSchemaHelper, SecretDict, full_refresh_only_catalog, make_hashable +from connector_acceptance_test.utils.json_schema_helper import CatalogField def primary_keys_by_stream(configured_catalog: ConfiguredAirbyteCatalog) -> Mapping[str, List[CatalogField]]: diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_incremental.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/test_incremental.py similarity index 98% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_incremental.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/test_incremental.py index bc5917320d61..cecf71f84b22 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_incremental.py +++ b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/tests/test_incremental.py @@ -10,9 +10,9 @@ import pendulum import pytest from airbyte_cdk.models import AirbyteMessage, AirbyteStateMessage, AirbyteStateType, ConfiguredAirbyteCatalog, SyncMode, Type -from source_acceptance_test import BaseTest -from source_acceptance_test.config import Config, EmptyStreamConfiguration, IncrementalConfig -from source_acceptance_test.utils import ConnectorRunner, JsonSchemaHelper, SecretDict, filter_output, incremental_only_catalog +from connector_acceptance_test import BaseTest +from connector_acceptance_test.config import Config, EmptyStreamConfiguration, IncrementalConfig +from connector_acceptance_test.utils import ConnectorRunner, JsonSchemaHelper, SecretDict, filter_output, incremental_only_catalog @pytest.fixture(name="future_state_configuration") diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/__init__.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/__init__.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/__init__.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/__init__.py diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/asserts.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/asserts.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/asserts.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/asserts.py diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/backward_compatibility.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/backward_compatibility.py similarity index 99% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/backward_compatibility.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/backward_compatibility.py index 4ea64a86bd9f..3b492b84bd33 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/backward_compatibility.py +++ b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/backward_compatibility.py @@ -7,10 +7,10 @@ import jsonschema from airbyte_cdk.models import ConnectorSpecification +from connector_acceptance_test.utils import SecretDict from deepdiff import DeepDiff from hypothesis import HealthCheck, Verbosity, given, settings from hypothesis_jsonschema import from_schema -from source_acceptance_test.utils import SecretDict class BackwardIncompatibilityContext(Enum): diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/common.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/common.py similarity index 98% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/common.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/common.py index cdda3aa57e3b..dfc98524e1f2 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/common.py +++ b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/common.py @@ -24,7 +24,7 @@ DestinationSyncMode, SyncMode, ) -from source_acceptance_test.config import Config, EmptyStreamConfiguration +from connector_acceptance_test.config import Config, EmptyStreamConfiguration def load_config(path: str) -> Config: diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/compare.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/compare.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/compare.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/compare.py diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/connector_runner.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/connector_runner.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/connector_runner.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/connector_runner.py diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/json_schema_helper.py b/airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/json_schema_helper.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/json_schema_helper.py rename to airbyte-integrations/bases/connector-acceptance-test/connector_acceptance_test/utils/json_schema_helper.py diff --git a/airbyte-integrations/bases/source-acceptance-test/pytest.ini b/airbyte-integrations/bases/connector-acceptance-test/pytest.ini similarity index 67% rename from airbyte-integrations/bases/source-acceptance-test/pytest.ini rename to airbyte-integrations/bases/connector-acceptance-test/pytest.ini index 087a99ed7bc0..f45b3d1b953d 100644 --- a/airbyte-integrations/bases/source-acceptance-test/pytest.ini +++ b/airbyte-integrations/bases/connector-acceptance-test/pytest.ini @@ -1,8 +1,8 @@ [pytest] -addopts = -r fEsx --capture=no -vv --log-level=INFO --color=yes --force-sugar --cov=source_acceptance_test --no-cov-on-fail +addopts = -r fEsx --capture=no -vv --log-level=INFO --color=yes --force-sugar --cov=connector_acceptance_test --no-cov-on-fail testpaths = - source_acceptance_test/tests + connector_acceptance_test/tests markers = default_timeout diff --git a/airbyte-integrations/bases/source-acceptance-test/sample_files/acceptance-test-config.yml b/airbyte-integrations/bases/connector-acceptance-test/sample_files/acceptance-test-config.yml similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/sample_files/acceptance-test-config.yml rename to airbyte-integrations/bases/connector-acceptance-test/sample_files/acceptance-test-config.yml diff --git a/airbyte-integrations/bases/source-acceptance-test/setup.py b/airbyte-integrations/bases/connector-acceptance-test/setup.py similarity index 86% rename from airbyte-integrations/bases/source-acceptance-test/setup.py rename to airbyte-integrations/bases/connector-acceptance-test/setup.py index e5c4bb96e07f..f160a62698be 100644 --- a/airbyte-integrations/bases/source-acceptance-test/setup.py +++ b/airbyte-integrations/bases/connector-acceptance-test/setup.py @@ -25,12 +25,12 @@ "pytest-mock~=3.6.1", "pytest-cov~=3.0.0", "hypothesis~=6.54.1", - "hypothesis-jsonschema~=0.20.1", # TODO alafanechere upgrade to latest when jsonschema lib is upgraded to >= 4.0.0 in airbyte-cdk and SAT + "hypothesis-jsonschema~=0.20.1", # TODO alafanechere upgrade to latest when jsonschema lib is upgraded to >= 4.0.0 in airbyte-cdk and connector acceptance tests ] setuptools.setup( - name="source-acceptance-test", - description="Contains acceptance tests for source connectors.", + name="connector-acceptance-test", + description="Contains acceptance tests for connectors.", author="Airbyte", author_email="contact@airbyte.io", url="https://github.com/airbytehq/airbyte", diff --git a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/README.md b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/README.md similarity index 96% rename from airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/README.md rename to airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/README.md index 5d229f7508aa..c394a87d3a4b 100644 --- a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/README.md +++ b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/README.md @@ -43,7 +43,7 @@ This script will create one PR per GA connectors to migrate to `high` test stric 3. Locally migrate `acceptance_test_config.yml` to the latest format 4. Commit and push the changes on this branch 5. Open a PR for this branch -6. Run a SAT on this branch by posting a `/test` comment on the PR +6. Run a connector acceptance test on this branch by posting a `/test` comment on the PR An example of the PR it creates can be found [here](https://github.com/airbytehq/airbyte/pull/19136) diff --git a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/__init__.py b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/__init__.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/__init__.py rename to airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/__init__.py diff --git a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/config_migration.py b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/config_migration.py similarity index 97% rename from airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/config_migration.py rename to airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/config_migration.py index 55f68267ead0..c9e03264b170 100644 --- a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/config_migration.py +++ b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/config_migration.py @@ -7,7 +7,7 @@ from pathlib import Path import yaml -from source_acceptance_test.config import Config +from connector_acceptance_test.config import Config from yaml import load try: diff --git a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/create_issues.py b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/create_issues.py similarity index 93% rename from airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/create_issues.py rename to airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/create_issues.py index 25cd305ba473..e15bf46233d6 100644 --- a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/create_issues.py +++ b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/create_issues.py @@ -20,12 +20,14 @@ logging.basicConfig(level=logging.DEBUG) environment = Environment(loader=FileSystemLoader(TEMPLATES_FOLDER)) -parser = argparse.ArgumentParser(description="Create issues for migration of GA connectors to high test strictness level in SAT") +parser = argparse.ArgumentParser( + description="Create issues for migration of GA connectors to high test strictness level in connector acceptance test" +) parser.add_argument("-d", "--dry", default=True) def get_issue_content(source_definition): - issue_title = f"Source {source_definition['name']}: enable `high` test strictness level in SAT" + issue_title = f"Source {source_definition['name']}: enable `high` test strictness level in connector acceptance test" template = environment.get_template("issue.md.j2") issue_body = template.render(connector_name=source_definition["name"], release_stage=source_definition["releaseStage"]) diff --git a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/create_prs.py b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/create_prs.py similarity index 96% rename from airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/create_prs.py rename to airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/create_prs.py index 86004efb55d3..923eb244c5c7 100644 --- a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/create_prs.py +++ b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/create_prs.py @@ -23,7 +23,9 @@ environment = Environment(loader=FileSystemLoader("./templates/")) PR_TEMPLATE = environment.get_template("pr.md.j2") -parser = argparse.ArgumentParser(description="Create PRs for migration of GA connectors to high test strictness level in SAT") +parser = argparse.ArgumentParser( + description="Create PRs for migration of GA connectors to high test strictness level in connector acceptance test" +) parser.add_argument("-d", "--dry", default=True) @@ -56,7 +58,7 @@ def commit_push_migrated_config(config_path, connector_name, new_branch, dry_run def get_pr_content(definition): - pr_title = f"Source {definition['name']}: enable `high` test strictness level in SAT" + pr_title = f"Source {definition['name']}: enable `high` test strictness level in connector acceptance test" pr_body = PR_TEMPLATE.render(connector_name=definition["name"], release_stage=definition["releaseStage"]) file_definition, pr_body_path = tempfile.mkstemp() diff --git a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/definitions.py b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/definitions.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/definitions.py rename to airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/definitions.py diff --git a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/requirements.txt b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/requirements.txt similarity index 90% rename from airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/requirements.txt rename to airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/requirements.txt index b30299006be8..97b14d6e7173 100644 --- a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/requirements.txt +++ b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/requirements.txt @@ -52,7 +52,7 @@ requests-mock==1.9.3 six==1.16.0 smmap==5.0.0 sortedcontainers==2.4.0 --e git+ssh://git@github.com/airbytehq/airbyte.git@70679775b55c5bb1be7384114155924772885be0#egg=source_acceptance_test&subdirectory=airbyte-integrations/bases/source-acceptance-test +-e git+ssh://git@github.com/airbytehq/airbyte.git@70679775b55c5bb1be7384114155924772885be0#egg=connector_acceptance_test&subdirectory=airbyte-integrations/bases/connector-acceptance-test termcolor==2.1.0 toml==0.10.2 tomli==2.0.1 diff --git a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/templates/issue.md.j2 b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/templates/issue.md.j2 similarity index 73% rename from airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/templates/issue.md.j2 rename to airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/templates/issue.md.j2 index 8f27348d70dd..5bdbcce1f6b9 100644 --- a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/templates/issue.md.j2 +++ b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/templates/issue.md.j2 @@ -1,15 +1,15 @@ ## What -A `test_strictness_level` field was introduced to Source Acceptance Tests (SAT). +A `test_strictness_level` field was introduced to Connector Acceptance Tests. {{ connector_name }} is a {{ release_stage }} connector, we want it to have a `high` test strictness level. **This will help**: -- maximize the SAT coverage on this connector. +- maximize the acceptance test coverage on this connector. - document its potential weaknesses in term of test coverage. ## How -1. Migrate the existing `acceptance-test-config.yml` file to the latest configuration format. (See instructions [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/bases/source-acceptance-test/README.md#L61)) -2. Enable `high` test strictness level in `acceptance-test-config.yml`. (See instructions [here](https://github.com/airbytehq/airbyte/blob/master/docs/connector-development/testing-connectors/source-acceptance-tests-reference.md#L240)) +1. Migrate the existing `acceptance-test-config.yml` file to the latest configuration format. (See instructions [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/bases/connector-acceptance-test/README.md#L61)) +2. Enable `high` test strictness level in `acceptance-test-config.yml`. (See instructions [here](https://github.com/airbytehq/airbyte/blob/master/docs/connector-development/testing-connectors/connector-acceptance-tests-reference.md#L240)) 3. Commit changes on `acceptance-test-config.yml` and open a PR. -4. Run SAT with the `/test` command on the branch. +4. Run the tests with the `/test` command on the branch. 5. If tests are failing please fix the failing test or use `bypass_reason` fields to explain why a specific test can't be run. diff --git a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/templates/pr.md.j2 b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/templates/pr.md.j2 similarity index 79% rename from airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/templates/pr.md.j2 rename to airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/templates/pr.md.j2 index 7b8c52abe710..f04a5c189565 100644 --- a/airbyte-integrations/bases/source-acceptance-test/tools/strictness_level_migration/templates/pr.md.j2 +++ b/airbyte-integrations/bases/connector-acceptance-test/tools/strictness_level_migration/templates/pr.md.j2 @@ -1,14 +1,14 @@ ## What -A `test_strictness_level` field was introduced to Source Acceptance Tests (SAT). +A `test_strictness_level` field was introduced to Connector Acceptance Tests. {{ connector_name }} is a {{ release_stage }} connector, we want it to have a `high` test strictness level. **This will help**: -- maximize the SAT coverage on this connector. +- maximize the acceptance test coverage on this connector. - document its potential weaknesses in term of test coverage. ## How -1. Migrate the existing `acceptance-test-config.yml` file to the latest configuration format. (See instructions [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/bases/source-acceptance-test/README.md#L61)) -2. Enable `high` test strictness level in `acceptance-test-config.yml`. (See instructions [here](https://github.com/airbytehq/airbyte/blob/master/docs/connector-development/testing-connectors/source-acceptance-tests-reference.md#L240)) +1. Migrate the existing `acceptance-test-config.yml` file to the latest configuration format. (See instructions [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/bases/connector-acceptance-test/README.md#L61)) +2. Enable `high` test strictness level in `acceptance-test-config.yml`. (See instructions [here](https://github.com/airbytehq/airbyte/blob/master/docs/connector-development/testing-connectors/connector-acceptance-tests-reference.md#L240)) ⚠️ ⚠️ ⚠️ **If tests are failing please fix the failing test by changing the `acceptance-test-config.yml` file or use `bypass_reason` fields to explain why a specific test can't be run.** @@ -16,7 +16,7 @@ A `test_strictness_level` field was introduced to Source Acceptance Tests (SAT). Please open a new PR if the new enabled tests help discover a new bug. Once this bug fix is merged please rebase this branch and run `/test` again. -You can find more details about the rules enforced by `high` test strictness level [here](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference/). +You can find more details about the rules enforced by `high` test strictness level [here](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference/). ## Review process Please ask the `connector-operations` teams for review. \ No newline at end of file diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/__init__.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/__init__.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/__init__.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/__init__.py diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/conftest.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/conftest.py similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/conftest.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/conftest.py diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/data/mssql_spec.json b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/data/mssql_spec.json similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/data/mssql_spec.json rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/data/mssql_spec.json diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/data/postgres_spec.json b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/data/postgres_spec.json similarity index 100% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/data/postgres_spec.json rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/data/postgres_spec.json diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_asserts.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_asserts.py similarity index 99% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_asserts.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_asserts.py index 19211c47eda9..efe562779d65 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_asserts.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_asserts.py @@ -11,7 +11,7 @@ DestinationSyncMode, SyncMode, ) -from source_acceptance_test.utils.asserts import verify_records_schema +from connector_acceptance_test.utils.asserts import verify_records_schema @pytest.fixture(name="record_schema") diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_backward_compatibility.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_backward_compatibility.py similarity index 99% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_backward_compatibility.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_backward_compatibility.py index f5105434b79c..6a0d26faf1d8 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_backward_compatibility.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_backward_compatibility.py @@ -7,9 +7,9 @@ import pytest from airbyte_cdk.models import AirbyteStream, ConnectorSpecification -from source_acceptance_test.tests.test_core import TestDiscovery as _TestDiscovery -from source_acceptance_test.tests.test_core import TestSpec as _TestSpec -from source_acceptance_test.utils.backward_compatibility import NonBackwardCompatibleError, validate_previous_configs +from connector_acceptance_test.tests.test_core import TestDiscovery as _TestDiscovery +from connector_acceptance_test.tests.test_core import TestSpec as _TestSpec +from connector_acceptance_test.utils.backward_compatibility import NonBackwardCompatibleError, validate_previous_configs from .conftest import does_not_raise diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_config.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_config.py similarity index 99% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_config.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_config.py index 907db03ae8eb..71653ca79f0c 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_config.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_config.py @@ -3,8 +3,8 @@ # import pytest +from connector_acceptance_test import config from pydantic import ValidationError -from source_acceptance_test import config from .conftest import does_not_raise diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_container_runner.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_container_runner.py similarity index 98% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_container_runner.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_container_runner.py index eee26a3763d0..fdb6b552461a 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_container_runner.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_container_runner.py @@ -14,7 +14,7 @@ OrchestratorType, ) from airbyte_cdk.models import Type as AirbyteMessageType -from source_acceptance_test.utils import connector_runner +from connector_acceptance_test.utils import connector_runner class TestContainerRunner: diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_core.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_core.py similarity index 99% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_core.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_core.py index 291951688f26..3dcc6011d664 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_core.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_core.py @@ -20,8 +20,8 @@ TraceType, Type, ) -from source_acceptance_test.config import BasicReadTestConfig, Config, ExpectedRecordsConfig -from source_acceptance_test.tests import test_core +from connector_acceptance_test.config import BasicReadTestConfig, Config, ExpectedRecordsConfig +from connector_acceptance_test.tests import test_core from .conftest import does_not_raise diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_global_fixtures.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_global_fixtures.py similarity index 98% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_global_fixtures.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_global_fixtures.py index 63e51b2d58ba..3ee787f54d67 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_global_fixtures.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_global_fixtures.py @@ -7,8 +7,8 @@ import pytest from airbyte_cdk.models import AirbyteStream, ConfiguredAirbyteCatalog, ConfiguredAirbyteStream, DestinationSyncMode, SyncMode -from source_acceptance_test import conftest -from source_acceptance_test.config import BasicReadTestConfig, Config, EmptyStreamConfiguration, ExpectedRecordsConfig +from connector_acceptance_test import conftest +from connector_acceptance_test.config import BasicReadTestConfig, Config, EmptyStreamConfiguration, ExpectedRecordsConfig @pytest.mark.parametrize( diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_incremental.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_incremental.py similarity index 99% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_incremental.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_incremental.py index f41af5f2f407..9f70273d61dd 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_incremental.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_incremental.py @@ -26,10 +26,10 @@ SyncMode, Type, ) -from source_acceptance_test.config import Config, EmptyStreamConfiguration, IncrementalConfig -from source_acceptance_test.tests import test_incremental -from source_acceptance_test.tests.test_incremental import TestIncremental as _TestIncremental -from source_acceptance_test.tests.test_incremental import ( +from connector_acceptance_test.config import Config, EmptyStreamConfiguration, IncrementalConfig +from connector_acceptance_test.tests import test_incremental +from connector_acceptance_test.tests.test_incremental import TestIncremental as _TestIncremental +from connector_acceptance_test.tests.test_incremental import ( compare_cursor_with_threshold, future_state_configuration_fixture, future_state_fixture, diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_json_schema_helper.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_json_schema_helper.py similarity index 97% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_json_schema_helper.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_json_schema_helper.py index 82117f8260f5..35c4e09683e8 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_json_schema_helper.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_json_schema_helper.py @@ -16,9 +16,9 @@ SyncMode, Type, ) +from connector_acceptance_test.tests.test_incremental import records_with_state +from connector_acceptance_test.utils.json_schema_helper import JsonSchemaHelper, get_expected_schema_structure, get_object_structure from pydantic import BaseModel -from source_acceptance_test.tests.test_incremental import records_with_state -from source_acceptance_test.utils.json_schema_helper import JsonSchemaHelper, get_expected_schema_structure, get_object_structure @pytest.fixture(name="simple_state") diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_plugin.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_plugin.py similarity index 99% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_plugin.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_plugin.py index 854cc782c64f..b5b90d6bb2b9 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_plugin.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_plugin.py @@ -3,7 +3,7 @@ # import pytest -from source_acceptance_test import config, plugin +from connector_acceptance_test import config, plugin HIGH_TEST_STRICTNESS_LEVEL = config.Config.TestStrictnessLevel.high LOW_TEST_STRICTNESS_LEVEL = config.Config.TestStrictnessLevel.low diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_spec.py similarity index 99% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_spec.py index c9bbdc110bf4..93f1a8c2c93e 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_spec.py @@ -6,8 +6,8 @@ import pytest from airbyte_cdk.models import ConnectorSpecification -from source_acceptance_test import conftest -from source_acceptance_test.tests.test_core import TestSpec as _TestSpec +from connector_acceptance_test import conftest +from connector_acceptance_test.tests.test_core import TestSpec as _TestSpec from .conftest import does_not_raise diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec_unit.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_spec_unit.py similarity index 98% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec_unit.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_spec_unit.py index 7f5957de0979..561f054f66a0 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec_unit.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_spec_unit.py @@ -6,7 +6,7 @@ import docker import pytest -from source_acceptance_test.utils import ConnectorRunner +from connector_acceptance_test.utils import ConnectorRunner def build_docker_image(text: str, tag: str) -> docker.models.images.Image: diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_test_full_refresh.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_test_full_refresh.py similarity index 97% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_test_full_refresh.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_test_full_refresh.py index 24c6b7ff38c9..3a568fa8d726 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_test_full_refresh.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_test_full_refresh.py @@ -16,8 +16,8 @@ SyncMode, Type, ) -from source_acceptance_test.config import ConnectionTestConfig -from source_acceptance_test.tests.test_full_refresh import TestFullRefresh as _TestFullRefresh +from connector_acceptance_test.config import ConnectionTestConfig +from connector_acceptance_test.tests.test_full_refresh import TestFullRefresh as _TestFullRefresh class ReadTestConfigWithIgnoreFields(ConnectionTestConfig): diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_utils.py b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_utils.py similarity index 98% rename from airbyte-integrations/bases/source-acceptance-test/unit_tests/test_utils.py rename to airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_utils.py index d4a0a3feda06..d41ddba33c6a 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_utils.py +++ b/airbyte-integrations/bases/connector-acceptance-test/unit_tests/test_utils.py @@ -16,11 +16,11 @@ import pytest import yaml from airbyte_cdk.models import AirbyteStream, ConfiguredAirbyteCatalog, ConfiguredAirbyteStream, DestinationSyncMode, SyncMode +from connector_acceptance_test.config import EmptyStreamConfiguration +from connector_acceptance_test.utils import common +from connector_acceptance_test.utils.compare import make_hashable +from connector_acceptance_test.utils.connector_runner import ConnectorRunner from docker.errors import ContainerError, NotFound -from source_acceptance_test.config import EmptyStreamConfiguration -from source_acceptance_test.utils import common -from source_acceptance_test.utils.compare import make_hashable -from source_acceptance_test.utils.connector_runner import ConnectorRunner def not_sorted_data(): diff --git a/airbyte-integrations/builds-readme.md b/airbyte-integrations/builds-readme.md index 4ad3bb67d07d..3f80c41e3016 100644 --- a/airbyte-integrations/builds-readme.md +++ b/airbyte-integrations/builds-readme.md @@ -1,6 +1,8 @@ -# How is the builds page generated? -[This github action](https://github.com/airbytehq/airbyte/blob/master/.github/workflows/connector_integration_tests.yml) runs once a day. -It triggers builds for all connectors. The result of this build is persisted on an S3 bucket in our AWS dev environment. -Ask for access rights from the Airbyte team if you need it to access the environment. This S3 bucket is hooked up to a CDN, AWS CloudFront. +# How is the builds page generated? +[This github action](https://github.com/airbytehq/airbyte/blob/master/.github/workflows/connector_integration_tests.yml) runs once a day. +It triggers builds for all connectors. The result of this build is persisted on an S3 bucket in our AWS dev environment. +Ask for access rights from the Airbyte team if you need it to access the environment. This S3 bucket is hooked up to a CDN, AWS CloudFront. Then, [this Github action](https://github.com/airbytehq/airbyte/blob/master/.github/workflows/build-report.yml) reads from Cloudfront to send a daily -Slack message informing us of the build status of any connectors in need of attention. +Slack message informing us of the build status of any connectors in need of attention. + +To understand this system in more depth read the documentation here: https://internal-docs.airbyte.io/Generated-Reports/Build-Status-Reports diff --git a/airbyte-integrations/builds.md b/airbyte-integrations/builds.md index 8011b73671ed..5ca71363817a 100644 --- a/airbyte-integrations/builds.md +++ b/airbyte-integrations/builds.md @@ -1,4 +1,5 @@ # Build statuses + # Sources diff --git a/airbyte-integrations/connector-templates/source_acceptance_test_files/acceptance-test-config.yml.hbs b/airbyte-integrations/connector-templates/connector_acceptance_test_files/acceptance-test-config.yml.hbs similarity index 91% rename from airbyte-integrations/connector-templates/source_acceptance_test_files/acceptance-test-config.yml.hbs rename to airbyte-integrations/connector-templates/connector_acceptance_test_files/acceptance-test-config.yml.hbs index 1b226305e109..bd7e9a9ac06a 100644 --- a/airbyte-integrations/connector-templates/source_acceptance_test_files/acceptance-test-config.yml.hbs +++ b/airbyte-integrations/connector-templates/connector_acceptance_test_files/acceptance-test-config.yml.hbs @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: {{ connectorImage }} acceptance_tests: diff --git a/airbyte-integrations/connector-templates/source_acceptance_test_files/acceptance-test-docker.sh b/airbyte-integrations/connector-templates/connector_acceptance_test_files/acceptance-test-docker.sh similarity index 79% rename from airbyte-integrations/connector-templates/source_acceptance_test_files/acceptance-test-docker.sh rename to airbyte-integrations/connector-templates/connector_acceptance_test_files/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connector-templates/source_acceptance_test_files/acceptance-test-docker.sh +++ b/airbyte-integrations/connector-templates/connector_acceptance_test_files/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connector-templates/generator/plopfile.js b/airbyte-integrations/connector-templates/generator/plopfile.js index 1ddbc7a42592..c8520770f183 100644 --- a/airbyte-integrations/connector-templates/generator/plopfile.js +++ b/airbyte-integrations/connector-templates/generator/plopfile.js @@ -27,7 +27,7 @@ module.exports = function (plop) { const docRoot = '../../../docs/integrations'; const definitionRoot = '../../../airbyte-config/init/src/main/resources'; - const sourceAcceptanceTestFilesInputRoot = '../source_acceptance_test_files'; + const connectorAcceptanceTestFilesInputRoot = '../connector_acceptance_test_files'; const pythonSourceInputRoot = '../source-python'; const singerSourceInputRoot = '../source-singer'; @@ -123,8 +123,8 @@ module.exports = function (plop) { abortOnFail: true, type:'addMany', destination: httpApiOutputRoot, - base: sourceAcceptanceTestFilesInputRoot, - templateFiles: `${sourceAcceptanceTestFilesInputRoot}/**/**`, + base: connectorAcceptanceTestFilesInputRoot, + templateFiles: `${connectorAcceptanceTestFilesInputRoot}/**/**`, }, // plop doesn't add dotfiles by default so we manually add them { @@ -153,8 +153,8 @@ module.exports = function (plop) { abortOnFail: true, type:'addMany', destination: pythonSourceOutputRoot, - base: sourceAcceptanceTestFilesInputRoot, - templateFiles: `${sourceAcceptanceTestFilesInputRoot}/**/**`, + base: connectorAcceptanceTestFilesInputRoot, + templateFiles: `${connectorAcceptanceTestFilesInputRoot}/**/**`, }, // plop doesn't add dotfiles by default so we manually add them { @@ -188,8 +188,8 @@ module.exports = function (plop) { abortOnFail: true, type:'addMany', destination: singerSourceOutputRoot, - base: sourceAcceptanceTestFilesInputRoot, - templateFiles: `${sourceAcceptanceTestFilesInputRoot}/**/**`, + base: connectorAcceptanceTestFilesInputRoot, + templateFiles: `${connectorAcceptanceTestFilesInputRoot}/**/**`, data: { connectorImageNameSuffix: "-singer", specPathFolderSuffix: "_singer" @@ -227,8 +227,8 @@ module.exports = function (plop) { abortOnFail: true, type:'addMany', destination: pythonSourceOutputRoot, - base: sourceAcceptanceTestFilesInputRoot, - templateFiles: `${sourceAcceptanceTestFilesInputRoot}/**/**`, + base: connectorAcceptanceTestFilesInputRoot, + templateFiles: `${connectorAcceptanceTestFilesInputRoot}/**/**`, }, { type:'add', @@ -270,8 +270,8 @@ module.exports = function (plop) { abortOnFail: true, type:'addMany', destination: genericSourceOutputRoot, - base: sourceAcceptanceTestFilesInputRoot, - templateFiles: `${sourceAcceptanceTestFilesInputRoot}/**/**`, + base: connectorAcceptanceTestFilesInputRoot, + templateFiles: `${connectorAcceptanceTestFilesInputRoot}/**/**`, data: { inSubFolder: false } diff --git a/airbyte-integrations/connector-templates/source-configuration-based/README.md.hbs b/airbyte-integrations/connector-templates/source-configuration-based/README.md.hbs index 15df54fe94ee..76138fb834b9 100644 --- a/airbyte-integrations/connector-templates/source-configuration-based/README.md.hbs +++ b/airbyte-integrations/connector-templates/source-configuration-based/README.md.hbs @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with Docker, run: diff --git a/airbyte-integrations/connector-templates/source-configuration-based/build.gradle.hbs b/airbyte-integrations/connector-templates/source-configuration-based/build.gradle.hbs index b590f9aa75c8..277ac58170ca 100644 --- a/airbyte-integrations/connector-templates/source-configuration-based/build.gradle.hbs +++ b/airbyte-integrations/connector-templates/source-configuration-based/build.gradle.hbs @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connector-templates/source-configuration-based/integration_tests/acceptance.py b/airbyte-integrations/connector-templates/source-configuration-based/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connector-templates/source-configuration-based/integration_tests/acceptance.py +++ b/airbyte-integrations/connector-templates/source-configuration-based/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connector-templates/source-configuration-based/requirements.txt.hbs b/airbyte-integrations/connector-templates/source-configuration-based/requirements.txt.hbs index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connector-templates/source-configuration-based/requirements.txt.hbs +++ b/airbyte-integrations/connector-templates/source-configuration-based/requirements.txt.hbs @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connector-templates/source-configuration-based/setup.py.hbs b/airbyte-integrations/connector-templates/source-configuration-based/setup.py.hbs index 3012c8c027d9..fbf79c09e104 100644 --- a/airbyte-integrations/connector-templates/source-configuration-based/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-configuration-based/setup.py.hbs @@ -12,7 +12,7 @@ MAIN_REQUIREMENTS = [ TEST_REQUIREMENTS = [ "pytest~=6.2", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connector-templates/source-generic/build.gradle b/airbyte-integrations/connector-templates/source-generic/build.gradle index af82fb4a3cc0..cd4877519bfc 100644 --- a/airbyte-integrations/connector-templates/source-generic/build.gradle +++ b/airbyte-integrations/connector-templates/source-generic/build.gradle @@ -2,5 +2,5 @@ plugins { // Makes building the docker image a dependency of Gradle's "build" command. This way you could run your entire build inside a docker image // via ./gradlew :airbyte-integrations:connectors:source-{{dashCase name}}:build id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } diff --git a/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-config.yml.hbs b/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-config.yml.hbs index 3a5f2ce6679a..314351c4290e 100644 --- a/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-config.yml.hbs +++ b/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-config.yml.hbs @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-{{dashCase name}}:dev acceptance_tests: diff --git a/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-docker.sh b/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-docker.sh index c416fd144055..394835b93b09 100644 --- a/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-docker.sh +++ b/airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connector-templates/source-java-jdbc/build.gradle b/airbyte-integrations/connector-templates/source-java-jdbc/build.gradle index 6da2492a031c..cffa4c5b0bbd 100644 --- a/airbyte-integrations/connector-templates/source-java-jdbc/build.gradle +++ b/airbyte-integrations/connector-templates/source-java-jdbc/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connector-templates/source-java-jdbc/integration_tests/acceptance.py b/airbyte-integrations/connector-templates/source-java-jdbc/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connector-templates/source-java-jdbc/integration_tests/acceptance.py +++ b/airbyte-integrations/connector-templates/source-java-jdbc/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connector-templates/source-python-http-api/README.md.hbs b/airbyte-integrations/connector-templates/source-python-http-api/README.md.hbs index ea55e9d2f115..843ab52cab14 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/README.md.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/README.md.hbs @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connector-templates/source-python-http-api/build.gradle.hbs b/airbyte-integrations/connector-templates/source-python-http-api/build.gradle.hbs index b590f9aa75c8..277ac58170ca 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/build.gradle.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/build.gradle.hbs @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py b/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connector-templates/source-python-http-api/requirements.txt.hbs b/airbyte-integrations/connector-templates/source-python-http-api/requirements.txt.hbs index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/requirements.txt.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/requirements.txt.hbs @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs index 4c12bfa25fc3..cc3197398f25 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs @@ -12,7 +12,7 @@ MAIN_REQUIREMENTS = [ TEST_REQUIREMENTS = [ "pytest~=6.2", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connector-templates/source-python/README.md.hbs b/airbyte-integrations/connector-templates/source-python/README.md.hbs index 56d617442284..55d74f809a9f 100644 --- a/airbyte-integrations/connector-templates/source-python/README.md.hbs +++ b/airbyte-integrations/connector-templates/source-python/README.md.hbs @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connector-templates/source-python/build.gradle.hbs b/airbyte-integrations/connector-templates/source-python/build.gradle.hbs index 766e3a24658b..942862d80dc9 100644 --- a/airbyte-integrations/connector-templates/source-python/build.gradle.hbs +++ b/airbyte-integrations/connector-templates/source-python/build.gradle.hbs @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py b/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py +++ b/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connector-templates/source-python/requirements.txt.hbs b/airbyte-integrations/connector-templates/source-python/requirements.txt.hbs index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connector-templates/source-python/requirements.txt.hbs +++ b/airbyte-integrations/connector-templates/source-python/requirements.txt.hbs @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connector-templates/source-python/setup.py.hbs b/airbyte-integrations/connector-templates/source-python/setup.py.hbs index 0476541f00a1..0acf625cd9e2 100644 --- a/airbyte-integrations/connector-templates/source-python/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/setup.py.hbs @@ -11,7 +11,7 @@ MAIN_REQUIREMENTS = [ TEST_REQUIREMENTS = [ "pytest~=6.2", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connector-templates/source-singer/README.md.hbs b/airbyte-integrations/connector-templates/source-singer/README.md.hbs index f947379d1317..55398c85cc04 100644 --- a/airbyte-integrations/connector-templates/source-singer/README.md.hbs +++ b/airbyte-integrations/connector-templates/source-singer/README.md.hbs @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connector-templates/source-singer/build.gradle.hbs b/airbyte-integrations/connector-templates/source-singer/build.gradle.hbs index 766e3a24658b..942862d80dc9 100644 --- a/airbyte-integrations/connector-templates/source-singer/build.gradle.hbs +++ b/airbyte-integrations/connector-templates/source-singer/build.gradle.hbs @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connector-templates/source-singer/integration_tests/acceptance.py b/airbyte-integrations/connector-templates/source-singer/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connector-templates/source-singer/integration_tests/acceptance.py +++ b/airbyte-integrations/connector-templates/source-singer/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connector-templates/source-singer/requirements.txt.hbs b/airbyte-integrations/connector-templates/source-singer/requirements.txt.hbs index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connector-templates/source-singer/requirements.txt.hbs +++ b/airbyte-integrations/connector-templates/source-singer/requirements.txt.hbs @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connector-templates/source-singer/setup.py.hbs b/airbyte-integrations/connector-templates/source-singer/setup.py.hbs index 10fa5ef2d6e1..744f070c2c73 100644 --- a/airbyte-integrations/connector-templates/source-singer/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-singer/setup.py.hbs @@ -12,7 +12,7 @@ MAIN_REQUIREMENTS = [ TEST_REQUIREMENTS = [ "pytest~=6.2", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-activecampaign/README.md b/airbyte-integrations/connectors/source-activecampaign/README.md index da82771bf434..703a9afe1025 100644 --- a/airbyte-integrations/connectors/source-activecampaign/README.md +++ b/airbyte-integrations/connectors/source-activecampaign/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-activecampaign/acceptance-test-config.yml b/airbyte-integrations/connectors/source-activecampaign/acceptance-test-config.yml index 3933d670da35..24cdda784fa8 100644 --- a/airbyte-integrations/connectors/source-activecampaign/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-activecampaign/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-activecampaign:dev tests: diff --git a/airbyte-integrations/connectors/source-activecampaign/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-activecampaign/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-activecampaign/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-activecampaign/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-activecampaign/build.gradle b/airbyte-integrations/connectors/source-activecampaign/build.gradle index ca76b9550daa..16bfce7c325a 100644 --- a/airbyte-integrations/connectors/source-activecampaign/build.gradle +++ b/airbyte-integrations/connectors/source-activecampaign/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-activecampaign/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-activecampaign/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-activecampaign/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-activecampaign/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-activecampaign/requirements.txt b/airbyte-integrations/connectors/source-activecampaign/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-activecampaign/requirements.txt +++ b/airbyte-integrations/connectors/source-activecampaign/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-activecampaign/setup.py b/airbyte-integrations/connectors/source-activecampaign/setup.py index b7d4d4645db4..fffd2aa46b77 100644 --- a/airbyte-integrations/connectors/source-activecampaign/setup.py +++ b/airbyte-integrations/connectors/source-activecampaign/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-adjust/README.md b/airbyte-integrations/connectors/source-adjust/README.md index 223d9e017d1e..aa4e984afd74 100644 --- a/airbyte-integrations/connectors/source-adjust/README.md +++ b/airbyte-integrations/connectors/source-adjust/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-adjust/acceptance-test-config.yml b/airbyte-integrations/connectors/source-adjust/acceptance-test-config.yml index 58c97a2f50d4..1277249102f1 100644 --- a/airbyte-integrations/connectors/source-adjust/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-adjust/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-adjust:dev tests: diff --git a/airbyte-integrations/connectors/source-adjust/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-adjust/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-adjust/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-adjust/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-adjust/build.gradle b/airbyte-integrations/connectors/source-adjust/build.gradle index 481c8edcbcac..7d1a49483255 100644 --- a/airbyte-integrations/connectors/source-adjust/build.gradle +++ b/airbyte-integrations/connectors/source-adjust/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-adjust/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-adjust/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-adjust/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-adjust/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-adjust/requirements.txt b/airbyte-integrations/connectors/source-adjust/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-adjust/requirements.txt +++ b/airbyte-integrations/connectors/source-adjust/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-adjust/setup.py b/airbyte-integrations/connectors/source-adjust/setup.py index b8318da346c3..685f5903e31b 100644 --- a/airbyte-integrations/connectors/source-adjust/setup.py +++ b/airbyte-integrations/connectors/source-adjust/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-aha/README.md b/airbyte-integrations/connectors/source-aha/README.md index 16158b89d2db..36241d02e172 100644 --- a/airbyte-integrations/connectors/source-aha/README.md +++ b/airbyte-integrations/connectors/source-aha/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-aha/acceptance-test-config.yml b/airbyte-integrations/connectors/source-aha/acceptance-test-config.yml index 4f209210727f..256c18385f6f 100644 --- a/airbyte-integrations/connectors/source-aha/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-aha/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-aha:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-aha/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-aha/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-aha/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-aha/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-aha/build.gradle b/airbyte-integrations/connectors/source-aha/build.gradle index a4363e64843c..aeff63d6b86c 100644 --- a/airbyte-integrations/connectors/source-aha/build.gradle +++ b/airbyte-integrations/connectors/source-aha/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-aha/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-aha/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-aha/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-aha/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-aha/requirements.txt b/airbyte-integrations/connectors/source-aha/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-aha/requirements.txt +++ b/airbyte-integrations/connectors/source-aha/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-aha/setup.py b/airbyte-integrations/connectors/source-aha/setup.py index 58773a233b86..14066fc44b0a 100644 --- a/airbyte-integrations/connectors/source-aha/setup.py +++ b/airbyte-integrations/connectors/source-aha/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-airtable/Dockerfile b/airbyte-integrations/connectors/source-airtable/Dockerfile index a0b9f2b6dc29..4bbd3ecbe5c8 100644 --- a/airbyte-integrations/connectors/source-airtable/Dockerfile +++ b/airbyte-integrations/connectors/source-airtable/Dockerfile @@ -34,5 +34,5 @@ COPY source_airtable ./source_airtable ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=2.0.0 +LABEL io.airbyte.version=2.0.2 LABEL io.airbyte.name=airbyte/source-airtable diff --git a/airbyte-integrations/connectors/source-airtable/README.md b/airbyte-integrations/connectors/source-airtable/README.md index 1986899b9801..a38d034e0287 100644 --- a/airbyte-integrations/connectors/source-airtable/README.md +++ b/airbyte-integrations/connectors/source-airtable/README.md @@ -99,7 +99,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-airtable/acceptance-test-config.yml b/airbyte-integrations/connectors/source-airtable/acceptance-test-config.yml index 965765ef0448..bbfe0a2d2d76 100644 --- a/airbyte-integrations/connectors/source-airtable/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-airtable/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-airtable:dev test_strictness_level: high @@ -19,13 +19,7 @@ acceptance_tests: discovery: tests: - config_path: "secrets/config.json" - # the static `string` schema is replaced with casted to JSONSchema - backward_compatibility_tests_config: - disable_for_version: "1.0.2" - config_path: "secrets/config_oauth.json" - # the static `string` schema is replaced with casted to JSONSchema - backward_compatibility_tests_config: - disable_for_version: "1.0.2" basic_read: tests: - config_path: "secrets/config.json" diff --git a/airbyte-integrations/connectors/source-airtable/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-airtable/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100755 --- a/airbyte-integrations/connectors/source-airtable/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-airtable/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-airtable/build.gradle b/airbyte-integrations/connectors/source-airtable/build.gradle index 8c859fb852bb..8f2138e89525 100644 --- a/airbyte-integrations/connectors/source-airtable/build.gradle +++ b/airbyte-integrations/connectors/source-airtable/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,6 +9,6 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-airtable/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-airtable/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-airtable/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-airtable/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-airtable/integration_tests/expected_records.jsonl b/airbyte-integrations/connectors/source-airtable/integration_tests/expected_records.jsonl index 3f293d2a7e94..aaab84c4ee13 100644 --- a/airbyte-integrations/connectors/source-airtable/integration_tests/expected_records.jsonl +++ b/airbyte-integrations/connectors/source-airtable/integration_tests/expected_records.jsonl @@ -1,42 +1,42 @@ -{"stream": "users/table_1", "data": {"_airtable_id": "recgRMRMHxgcgJeDe", "_airtable_created_time": "2021-11-16T13:30:17.000Z", "name": "test2", "status": "test", "notes": "test_note2"}, "emitted_at": 1674743461677} -{"stream": "users/table_1", "data": {"_airtable_id": "recmJkSF51IKUGmlJ", "_airtable_created_time": "2022-12-22T20:58:05.000Z", "name": "test4_after_empty", "clo_with_empty_strings": "bla bla bla", "status": "In progress", "notes": "test_note4"}, "emitted_at": 1674743461678} -{"stream": "users/table_1", "data": {"_airtable_id": "recvp1qYYBlcOrzsc", "_airtable_created_time": "2021-11-16T13:30:17.000Z", "name": "test3", "clo_with_empty_strings": "test text here", "status": "test", "notes": "test-note3"}, "emitted_at": 1674743461678} -{"stream": "users/table_1", "data": {"_airtable_id": "reczEeQV9NrzFlVFF", "_airtable_created_time": "2021-11-16T13:30:17.000Z", "name": "test", "status": "test", "notes": "test_note"}, "emitted_at": 1674743461679} -{"stream": "users/table_2", "data": {"_airtable_id": "recB3upao4wpmeCEf", "_airtable_created_time": "2021-11-16T13:32:31.000Z", "status": "In progress", "name": "test2", "notes": "test2"}, "emitted_at": 1674743462304} -{"stream": "users/table_2", "data": {"_airtable_id": "recWeE6SiYeri4Duq", "_airtable_created_time": "2021-11-16T13:32:31.000Z", "status": "Todo", "name": "test", "notes": "test"}, "emitted_at": 1674743462304} -{"stream": "users/table_2", "data": {"_airtable_id": "recXn7kXbeEsJfDJQ", "_airtable_created_time": "2022-12-28T11:41:10.000Z", "name": " "}, "emitted_at": 1674743462305} -{"stream": "users/table_2", "data": {"_airtable_id": "recmMfFAec8plcOUY", "_airtable_created_time": "2021-11-16T13:32:31.000Z", "status": "Done", "name": "test 3", "notes": "test 3"}, "emitted_at": 1674743462305} -{"stream": "users/table_6", "data": {"_airtable_id": "recHyy86oge9j5cYP", "_airtable_created_time": "2023-01-25T02:04:26.000Z", "name": "test_negative", "table_6": ["recHyy86oge9j5cYP", "recoY6ShPkGpav3Se"], "float": 0.3, "status": "In progress", "integer": -1.0, "assignee": [2.0], "assignee_(from_table_6)": [2.0, 2.0]}, "emitted_at": 1674743462941} -{"stream": "users/table_6", "data": {"_airtable_id": "recLhKYa9btCCqmxs", "_airtable_created_time": "2023-01-25T02:04:26.000Z", "name": "test_attachment", "table_6": ["recLhKYa9btCCqmxs", "recoY6ShPkGpav3Se"], "float": 0.3, "status": "Todo", "integer": 1.0, "assignee": [2.0], "assignee_(from_table_6)": [2.0, 2.0]}, "emitted_at": 1674743462941} -{"stream": "users/table_6", "data": {"_airtable_id": "recoY6ShPkGpav3Se", "_airtable_created_time": "2023-01-25T02:04:26.000Z", "name": "test_normal", "table_6": ["recoY6ShPkGpav3Se", "recHyy86oge9j5cYP", "recLhKYa9btCCqmxs"], "float": 0.7, "status": "Done", "integer": 2.0, "assignee": [2.0], "assignee_(from_table_6)": [2.0, 2.0, 2.0]}, "emitted_at": 1674743462942} -{"stream": "users/field_type_test", "data": {"_airtable_id": "rec0UJKftqCPj7zJu", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 17.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463539} -{"stream": "users/field_type_test", "data": {"_airtable_id": "rec3tSj3Yzi42uuS0", "_airtable_created_time": "2022-09-30T16:06:49.000Z", "id": 3.0, "100_columns": ["reccHYZ004lOuxLFH"], "name": "Blank", "created_(with_time)": "2022-09-30T16:06:49.000Z", "created_(w/o_time)": "2022-09-30", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463540} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recAa5DUEhppIeeax", "_airtable_created_time": "2022-12-01T20:27:30.000Z", "email": "integration-test-user@airbyte.io", "id": 9.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:30.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463540} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recG989xsdfSxookl", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 23.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463541} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recGVqF9BIpDD7Gj1", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 22.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463542} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recHNlOoFvp6KjeZD", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "id": 16.0, "name": "Blank", "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463543} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recL6sfQP0FyJr3Ua", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "id": 21.0, "name": "Blank", "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463544} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recMtt4tMmdNbwV5R", "_airtable_created_time": "2022-12-01T20:27:20.000Z", "id": 8.0, "name": "Blank", "created_(with_time)": "2022-12-01T20:27:20.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463544} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recOz5BBo3Ey3ldb8", "_airtable_created_time": "2022-12-01T20:27:11.000Z", "email": "integration-test-user@airbyte.io", "id": 5.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "100_columns": ["recXVzpNmtsBcjrA2"], "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:11.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463544} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recSbSBPspxs22165", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 15.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463545} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recUzRSGAf5VYtXfZ", "_airtable_created_time": "2022-09-30T16:06:49.000Z", "email": "integration-test-user@airbyte.io", "id": 1.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "checkbox": true, "100_columns": ["rec2lCkcy9d0fZi8h"], "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-09-30T16:06:49.000Z", "created_(w/o_time)": "2022-09-30", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463546} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recbQy9sb5BM1K3Z1", "_airtable_created_time": "2022-12-01T20:27:17.000Z", "email": "integration-test-user@airbyte.io", "id": 6.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:17.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463547} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recehwpjPyD1PLFkr", "_airtable_created_time": "2022-12-01T20:27:10.000Z", "email": "integration-test-user@airbyte.io", "id": 4.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:10.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463548} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recfdnbGNkUx1Rs5F", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 19.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463549} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recpkKhLwcFYbJLtJ", "_airtable_created_time": "2022-12-01T20:27:43.000Z", "email": "integration-test-user@airbyte.io", "id": 14.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:43.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463550} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recqurXMR6u1PO5wT", "_airtable_created_time": "2022-12-01T20:27:18.000Z", "email": "integration-test-user@airbyte.io", "id": 7.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:18.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463551} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recuYRu9z5dlkHxop", "_airtable_created_time": "2022-12-01T20:27:30.000Z", "email": "integration-test-user@airbyte.io", "id": 10.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:30.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463551} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recw3jDJFziB562hu", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 18.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463552} -{"stream": "users/field_type_test", "data": {"_airtable_id": "recyJGdkZikJbLFRi", "_airtable_created_time": "2022-09-30T16:06:49.000Z", "email": "integration-test-user@airbyte.io", "id": 2.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-09-30T16:06:49.000Z", "created_(w/o_time)": "2022-09-30", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463553} -{"stream": "users/field_type_test", "data": {"_airtable_id": "reczDi9vTuH3ezfJM", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 20.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743463554} -{"stream": "users/50_columns", "data": {"_airtable_id": "rec2lCkcy9d0fZi8h", "_airtable_created_time": "2022-12-02T17:29:41.000Z", "notes": "dasdafsdag", "phone_3": "(999) 999-9999", "tags_2": ["alpha", "issue"], "select_2": "top", "date_2": "2023-01-03", "euro": 136.46, "collaborator": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "number": 423.0, "assignee": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "percent_2": 0.45299999999999996, "url": "airbyte.com", "duration": 9900.0, "notes_3": " dfhsh f g dh", "status": "Done", "rating_2": 1.0, "barcode": "{'text': '312515435'}", "number_2": 3453.0, "rating": 4.0, "field_type_test": ["recUzRSGAf5VYtXfZ"], "usd": 143.64, "done": true, "id": 1.0, "notes_2": "1. fsafsf sfkjkl fsafs", "phone_2": "(222) 222-2222", "email": "email@airbyte.io", "percent_3": 0.24300000000000002, "select": "1st", "int": 65.0, "label_2": "Lorem", "date": "2022-12-02", "label_3": "line", "name": "Thing 1", "phone": "(999) 999-9999", "label": "Nulla quis lorem ut libero malesuada feugiat.", "duration_2": 20580.0, "tags": ["tag1"], "decimal": 5.8797, "percent": 0.2, "email_(from_field_type_test)": ["integration-test-user@airbyte.io"], "count_(field_type_test)": 1.0, "created_(w/o_time)_(from_field_type_test)": ["2022-09-30"], "created": "2022-12-02T17:29:41.000Z", "last_modified": "2023-01-24T11:12:27.000Z", "last_modified_2": "2023-01-24T11:12:27.000Z", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743464164} -{"stream": "users/50_columns", "data": {"_airtable_id": "recXVzpNmtsBcjrA2", "_airtable_created_time": "2022-12-02T17:29:41.000Z", "notes": "opoiwepoirwe", "phone_3": "(999) 999-9999", "tags_2": ["ga"], "select_2": "bottom", "date_2": "2023-01-31", "euro": 279.62, "collaborator": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "number": 34535.5, "percent_2": 0.624, "duration": 10440.0, "notes_3": "hdfhe e et e true ttue ", "status": "Todo", "rating_2": 4.0, "barcode": "{'text': '351164554'}", "rating": 3.0, "field_type_test": ["recOz5BBo3Ey3ldb8"], "usd": 294.34, "done": true, "url_2": "airbyte.com", "id": 3.0, "notes_2": "3. flsflkj;flkjsf fskjlf lakjf; lskaj;klsjf", "phone_2": "(444) 444-4444", "percent_3": 0.13699999999999998, "select": "3rd", "int": 98.0, "date": "2022-12-14", "label_3": "line", "name": "Thing 3", "phone": "(999) 999-9999", "label": "Curabitur aliquet quam id dui posuere blandit.", "duration_2": 19740.0, "decimal": 6.6, "percent": 0.3, "email_(from_field_type_test)": ["integration-test-user@airbyte.io"], "count_(field_type_test)": 1.0, "created_(w/o_time)_(from_field_type_test)": ["2022-12-01"], "created": "2022-12-02T17:29:41.000Z", "last_modified": "2023-01-24T11:12:12.000Z", "last_modified_2": "2023-01-24T11:12:12.000Z", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743464165} -{"stream": "users/50_columns", "data": {"_airtable_id": "reccHYZ004lOuxLFH", "_airtable_created_time": "2022-12-02T17:29:41.000Z", "notes": "hjyyfhgjjfgjr", "phone_3": "(999) 999-9999", "tags_2": ["beta", "no issue"], "select_2": "mid", "date_2": "2023-01-17", "euro": 325.13, "number": 22424.5, "assignee": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "percent_2": 0.562, "duration": 11520.0, "notes_3": "fhdfhdhgf hfh hdfgh", "status": "In progress", "barcode": "{'text': '5531515315'}", "number_2": 3452.0, "rating": 5.0, "field_type_test": ["rec3tSj3Yzi42uuS0"], "usd": 342.24, "url_2": "docs.airbyte.com", "id": 2.0, "notes_2": "2. fskldf f;sfkjk s;lkjfkls", "phone_2": "(333) 333-3333", "email": "what@airbyte.io", "percent_3": 0.532, "select": "2nd", "int": 53.0, "date": "2022-11-10", "label_3": "line", "name": "Thing 2", "phone": "(999) 999-9999", "label": "Quisque velit nisi, pretium ut lacinia in, elementum id enim.", "duration_2": 18180.0, "collaborator_2": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "tags": ["tag2", "tag3"], "done_2": true, "decimal": 4.134, "percent": 0.15, "count_(field_type_test)": 1.0, "created_(w/o_time)_(from_field_type_test)": ["2022-09-30"], "created": "2022-12-02T17:29:41.000Z", "last_modified": "2023-01-24T11:12:11.000Z", "last_modified_2": "2023-01-24T11:12:11.000Z", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Augustin Lafanechere'}"}, "emitted_at": 1674743464167} -{"stream": "users/checkboxes", "data": {"_airtable_id": "recLvpJ4k4mRG38My", "_airtable_created_time": "2022-12-02T19:50:00.000Z", "done_18": true, "done_21": true, "done_6": true, "done_11": true, "done_24": true, "done_2": true, "done_12": true, "done_16": true, "done_4": true, "done_10": true, "done_7": true, "done_22": true, "done_23": true, "done_20": true, "name": "Cloud"}, "emitted_at": 1674743464782} -{"stream": "users/checkboxes", "data": {"_airtable_id": "reckszXRiFfg11IYD", "_airtable_created_time": "2022-12-02T19:50:00.000Z", "done_21": true, "done_6": true, "done_17": true, "done_5": true, "done_9": true, "done_11": true, "done_16": true, "done_25": true, "done_7": true, "done_22": true, "done_13": true, "done_3": true, "name": "Support"}, "emitted_at": 1674743464782} -{"stream": "users/checkboxes", "data": {"_airtable_id": "recmaYwfPMvZtwTSJ", "_airtable_created_time": "2022-12-02T19:50:00.000Z", "done_5": true, "done_9": true, "done_19": true, "done_12": true, "done": true, "done_16": true, "done_14": true, "done_4": true, "done_25": true, "done_7": true, "done_23": true, "done_20": true, "name": "Airbyte"}, "emitted_at": 1674743464783} -{"stream": "untitled_base/table_1", "data": {"_airtable_id": "recJ0l923fOFw6qbl", "_airtable_created_time": "2021-12-09T07:54:15.000Z", "name": "test2", "notes": "test2", "status": "In progress"}, "emitted_at": 1674743465388} -{"stream": "untitled_base/table_1", "data": {"_airtable_id": "recNbrGzLJfOy6EjC", "_airtable_created_time": "2022-12-28T11:43:37.000Z", "name": "blank"}, "emitted_at": 1674743465389} -{"stream": "untitled_base/table_1", "data": {"_airtable_id": "recZX1Je5k4nXhTi0", "_airtable_created_time": "2021-12-09T07:54:15.000Z", "name": "blank"}, "emitted_at": 1674743465389} -{"stream": "untitled_base/table_1", "data": {"_airtable_id": "recxXAoQ0cC5yCMZ7", "_airtable_created_time": "2021-12-09T07:54:15.000Z", "name": "test1", "notes": "test", "status": "Todo"}, "emitted_at": 1674743465390} -{"stream": "untitled_base/table_1", "data": {"_airtable_id": "reczJvdeo0b8KsM6K", "_airtable_created_time": "2022-12-28T11:43:38.000Z", "name": "test3", "notes": "test3", "status": "Done"}, "emitted_at": 1674743465390} +{"stream": "users/table_1", "data": {"_airtable_id": "recgRMRMHxgcgJeDe", "_airtable_created_time": "2021-11-16T13:30:17.000Z", "name": "test2", "status": "test", "notes": "test_note2"}, "emitted_at": 1675276485893} +{"stream": "users/table_1", "data": {"_airtable_id": "recmJkSF51IKUGmlJ", "_airtable_created_time": "2022-12-22T20:58:05.000Z", "name": "test4_after_empty", "clo_with_empty_strings": "bla bla bla", "status": "In progress", "notes": "test_note4"}, "emitted_at": 1675276485893} +{"stream": "users/table_1", "data": {"_airtable_id": "recvp1qYYBlcOrzsc", "_airtable_created_time": "2021-11-16T13:30:17.000Z", "name": "test3", "clo_with_empty_strings": "test text here", "status": "test", "notes": "test-note3"}, "emitted_at": 1675276485894} +{"stream": "users/table_1", "data": {"_airtable_id": "reczEeQV9NrzFlVFF", "_airtable_created_time": "2021-11-16T13:30:17.000Z", "name": "test", "status": "test", "notes": "test_note"}, "emitted_at": 1675276485894} +{"stream": "users/table_2", "data": {"_airtable_id": "recB3upao4wpmeCEf", "_airtable_created_time": "2021-11-16T13:32:31.000Z", "status": "In progress", "name": "test2", "notes": "test2"}, "emitted_at": 1675276487209} +{"stream": "users/table_2", "data": {"_airtable_id": "recWeE6SiYeri4Duq", "_airtable_created_time": "2021-11-16T13:32:31.000Z", "status": "Todo", "name": "test", "notes": "test"}, "emitted_at": 1675276487209} +{"stream": "users/table_2", "data": {"_airtable_id": "recXn7kXbeEsJfDJQ", "_airtable_created_time": "2022-12-28T11:41:10.000Z", "name": " "}, "emitted_at": 1675276487210} +{"stream": "users/table_2", "data": {"_airtable_id": "recmMfFAec8plcOUY", "_airtable_created_time": "2021-11-16T13:32:31.000Z", "status": "Done", "name": "test 3", "notes": "test 3"}, "emitted_at": 1675276487210} +{"stream": "users/table_6", "data": {"_airtable_id": "recHyy86oge9j5cYP", "_airtable_created_time": "2023-01-25T02:04:26.000Z", "name": "test_negative", "table_6": ["recHyy86oge9j5cYP", "recoY6ShPkGpav3Se"], "float": 0.3, "status": "In progress", "integer": -1.0, "assignee": [2.0], "assignee_(from_table_6)": [2.0, 2.0]}, "emitted_at": 1675276488139} +{"stream": "users/table_6", "data": {"_airtable_id": "recLhKYa9btCCqmxs", "_airtable_created_time": "2023-01-25T02:04:26.000Z", "name": "test_attachment", "table_6": ["recLhKYa9btCCqmxs", "recoY6ShPkGpav3Se"], "float": 0.3, "status": "Todo", "integer": 1.0, "assignee": [2.0], "assignee_(from_table_6)": [2.0, 2.0]}, "emitted_at": 1675276488139} +{"stream": "users/table_6", "data": {"_airtable_id": "recoY6ShPkGpav3Se", "_airtable_created_time": "2023-01-25T02:04:26.000Z", "name": "test_normal", "table_6": ["recoY6ShPkGpav3Se", "recHyy86oge9j5cYP", "recLhKYa9btCCqmxs"], "float": 0.7, "status": "Done", "integer": 2.0, "assignee": [2.0], "assignee_(from_table_6)": [2.0, 2.0, 2.0]}, "emitted_at": 1675276488140} +{"stream": "users/field_type_test", "data": {"_airtable_id": "rec0UJKftqCPj7zJu", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 17.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488924} +{"stream": "users/field_type_test", "data": {"_airtable_id": "rec3tSj3Yzi42uuS0", "_airtable_created_time": "2022-09-30T16:06:49.000Z", "id": 3.0, "100_columns": ["reccHYZ004lOuxLFH"], "name": "Blank", "created_(with_time)": "2022-09-30T16:06:49.000Z", "created_(w/o_time)": "2022-09-30", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488925} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recAa5DUEhppIeeax", "_airtable_created_time": "2022-12-01T20:27:30.000Z", "email": "integration-test-user@airbyte.io", "id": 9.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:30.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488926} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recG989xsdfSxookl", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 23.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488927} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recGVqF9BIpDD7Gj1", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 22.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488928} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recHNlOoFvp6KjeZD", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "id": 16.0, "name": "Blank", "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488929} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recL6sfQP0FyJr3Ua", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "id": 21.0, "name": "Blank", "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488929} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recMtt4tMmdNbwV5R", "_airtable_created_time": "2022-12-01T20:27:20.000Z", "id": 8.0, "name": "Blank", "created_(with_time)": "2022-12-01T20:27:20.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488930} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recOz5BBo3Ey3ldb8", "_airtable_created_time": "2022-12-01T20:27:11.000Z", "email": "integration-test-user@airbyte.io", "id": 5.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "100_columns": ["recXVzpNmtsBcjrA2"], "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:11.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488930} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recSbSBPspxs22165", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 15.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488931} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recUzRSGAf5VYtXfZ", "_airtable_created_time": "2022-09-30T16:06:49.000Z", "email": "integration-test-user@airbyte.io", "id": 1.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "checkbox": true, "100_columns": ["rec2lCkcy9d0fZi8h"], "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-09-30T16:06:49.000Z", "created_(w/o_time)": "2022-09-30", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488932} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recbQy9sb5BM1K3Z1", "_airtable_created_time": "2022-12-01T20:27:17.000Z", "email": "integration-test-user@airbyte.io", "id": 6.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:17.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488932} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recehwpjPyD1PLFkr", "_airtable_created_time": "2022-12-01T20:27:10.000Z", "email": "integration-test-user@airbyte.io", "id": 4.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:10.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488933} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recfdnbGNkUx1Rs5F", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 19.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488934} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recpkKhLwcFYbJLtJ", "_airtable_created_time": "2022-12-01T20:27:43.000Z", "email": "integration-test-user@airbyte.io", "id": 14.0, "date": "2022-09-30", "multiple_select_(no_colors)": ["1", "2", "3"], "percent": 0.0, "rating": 5.0, "multiple_select_(colors)": ["1", "2", "3"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "checkbox": true, "number": 1.0, "duration": 0.0, "name": "John", "single_line": "Singe line", "phone": "(937) 999-999", "value": 1.0, "long_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae nisi nec justo laoreet tincidunt. Vivamus eget porttitor velit. Pellentesque gravida euismod massa, eget egestas sem facilisis gravida. Suspendisse quis mauris eget velit faucibus aliquam. Mauris porttitor urna lorem, eget tincidunt ex faucibus et. Nam viverra nibh quis turpis scelerisque, et condimentum nibh vulputate. Vivamus eu dolor posuere, finibus ligula vel, finibus erat. Sed hendrerit luctus erat, eu finibus ante blandit ut. Sed id mi ullamcorper, cursus urna nec, molestie lorem. In vulputate tempor nulla in laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed a risus risus. Praesent neque lorem, fringilla vitae rhoncus a, semper eu augue.", "single_select_(colors)": "1", "single_select_(no_colors)": "1", "url": "airbyte.io", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:43.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488935} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recqurXMR6u1PO5wT", "_airtable_created_time": "2022-12-01T20:27:18.000Z", "email": "integration-test-user@airbyte.io", "id": 7.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:18.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488936} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recuYRu9z5dlkHxop", "_airtable_created_time": "2022-12-01T20:27:30.000Z", "email": "integration-test-user@airbyte.io", "id": 10.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:30.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488937} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recw3jDJFziB562hu", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 18.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488937} +{"stream": "users/field_type_test", "data": {"_airtable_id": "recyJGdkZikJbLFRi", "_airtable_created_time": "2022-09-30T16:06:49.000Z", "email": "integration-test-user@airbyte.io", "id": 2.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-09-30T16:06:49.000Z", "created_(w/o_time)": "2022-09-30", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488938} +{"stream": "users/field_type_test", "data": {"_airtable_id": "reczDi9vTuH3ezfJM", "_airtable_created_time": "2022-12-01T20:27:46.000Z", "email": "integration-test-user@airbyte.io", "id": 20.0, "date": "2022-10-03", "multiple_select_(no_colors)": ["a", "b", "c"], "percent": 1.0, "rating": 3.0, "multiple_select_(colors)": ["a", "b", "c"], "user_(non-multiple)": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "number": 123123871234.33, "duration": 169409880.0, "name": "Jane", "single_line": "09-30-2022", "phone": "(937) 999-999", "value": 1128312.23, "long_text": "18923671273628376328495623874562981345982 234953249857239045798 342098523495723495732 23489532475\n\n23453245234532453245234523453245\n\n2345234532452345", "single_select_(colors)": "a", "single_select_(no_colors)": "a", "url": "www.google.com", "user_(multiple)": ["{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"], "created_(with_time)": "2022-12-01T20:27:46.000Z", "created_(w/o_time)": "2022-12-01", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276488939} +{"stream": "users/50_columns", "data": {"_airtable_id": "rec2lCkcy9d0fZi8h", "_airtable_created_time": "2022-12-02T17:29:41.000Z", "notes": "dasdafsdag", "phone_3": "(999) 999-9999", "tags_2": ["alpha", "issue"], "select_2": "top", "date_2": "2023-01-03", "euro": 136.46, "collaborator": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "number": 423.0, "assignee": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "percent_2": 0.45299999999999996, "url": "airbyte.com", "duration": 9900.0, "notes_3": " dfhsh f g dh", "status": "Done", "rating_2": 1.0, "barcode": "{'text': '312515435'}", "number_2": 3453.0, "rating": 4.0, "field_type_test": ["recUzRSGAf5VYtXfZ"], "usd": 143.64, "done": true, "id": 1.0, "notes_2": "1. fsafsf sfkjkl fsafs", "phone_2": "(222) 222-2222", "email": "email@airbyte.io", "percent_3": 0.24300000000000002, "select": "1st", "int": 65.0, "label_2": "Lorem", "date": "2022-12-02", "label_3": "line", "name": "Thing 1", "phone": "(999) 999-9999", "label": "Nulla quis lorem ut libero malesuada feugiat.", "duration_2": 20580.0, "tags": ["tag1"], "decimal": 5.8797, "percent": 0.2, "email_(from_field_type_test)": ["integration-test-user@airbyte.io"], "count_(field_type_test)": 1.0, "created_(w/o_time)_(from_field_type_test)": ["2022-09-30"], "created": "2022-12-02T17:29:41.000Z", "last_modified": "2023-01-24T11:12:27.000Z", "last_modified_2": "2023-01-24T11:12:27.000Z", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276490320} +{"stream": "users/50_columns", "data": {"_airtable_id": "recXVzpNmtsBcjrA2", "_airtable_created_time": "2022-12-02T17:29:41.000Z", "notes": "opoiwepoirwe", "phone_3": "(999) 999-9999", "tags_2": ["ga"], "select_2": "bottom", "date_2": "2023-01-31", "euro": 279.62, "collaborator": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "number": 34535.5, "percent_2": 0.624, "duration": 10440.0, "notes_3": "hdfhe e et e true ttue ", "status": "Todo", "rating_2": 4.0, "barcode": "{'text': '351164554'}", "rating": 3.0, "field_type_test": ["recOz5BBo3Ey3ldb8"], "usd": 294.34, "done": true, "url_2": "airbyte.com", "id": 3.0, "notes_2": "3. flsflkj;flkjsf fskjlf lakjf; lskaj;klsjf", "phone_2": "(444) 444-4444", "percent_3": 0.13699999999999998, "select": "3rd", "int": 98.0, "date": "2022-12-14", "label_3": "line", "name": "Thing 3", "phone": "(999) 999-9999", "label": "Curabitur aliquet quam id dui posuere blandit.", "duration_2": 19740.0, "decimal": 6.6, "percent": 0.3, "email_(from_field_type_test)": ["integration-test-user@airbyte.io"], "count_(field_type_test)": 1.0, "created_(w/o_time)_(from_field_type_test)": ["2022-12-01"], "created": "2022-12-02T17:29:41.000Z", "last_modified": "2023-01-24T11:12:12.000Z", "last_modified_2": "2023-01-24T11:12:12.000Z", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276490322} +{"stream": "users/50_columns", "data": {"_airtable_id": "reccHYZ004lOuxLFH", "_airtable_created_time": "2022-12-02T17:29:41.000Z", "notes": "hjyyfhgjjfgjr", "phone_3": "(999) 999-9999", "tags_2": ["beta", "no issue"], "select_2": "mid", "date_2": "2023-01-17", "euro": 325.13, "number": 22424.5, "assignee": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "percent_2": 0.562, "duration": 11520.0, "notes_3": "fhdfhdhgf hfh hdfgh", "status": "In progress", "barcode": "{'text': '5531515315'}", "number_2": 3452.0, "rating": 5.0, "field_type_test": ["rec3tSj3Yzi42uuS0"], "usd": 342.24, "url_2": "docs.airbyte.com", "id": 2.0, "notes_2": "2. fskldf f;sfkjk s;lkjfkls", "phone_2": "(333) 333-3333", "email": "what@airbyte.io", "percent_3": 0.532, "select": "2nd", "int": 53.0, "date": "2022-11-10", "label_3": "line", "name": "Thing 2", "phone": "(999) 999-9999", "label": "Quisque velit nisi, pretium ut lacinia in, elementum id enim.", "duration_2": 18180.0, "collaborator_2": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "tags": ["tag2", "tag3"], "done_2": true, "decimal": 4.134, "percent": 0.15, "count_(field_type_test)": 1.0, "created_(w/o_time)_(from_field_type_test)": ["2022-09-30"], "created": "2022-12-02T17:29:41.000Z", "last_modified": "2023-01-24T11:12:11.000Z", "last_modified_2": "2023-01-24T11:12:11.000Z", "created_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}", "last_modified_by": "{'id': 'usrr0cUCbVccLxU7x', 'email': 'integration-test@airbyte.io', 'name': 'Airbyte Team'}"}, "emitted_at": 1675276490323} +{"stream": "users/checkboxes", "data": {"_airtable_id": "recLvpJ4k4mRG38My", "_airtable_created_time": "2022-12-02T19:50:00.000Z", "done_18": true, "done_21": true, "done_6": true, "done_11": true, "done_24": true, "done_2": true, "done_12": true, "done_16": true, "done_4": true, "done_10": true, "done_7": true, "done_22": true, "done_23": true, "done_20": true, "name": "Cloud"}, "emitted_at": 1675276491198} +{"stream": "users/checkboxes", "data": {"_airtable_id": "reckszXRiFfg11IYD", "_airtable_created_time": "2022-12-02T19:50:00.000Z", "done_21": true, "done_6": true, "done_17": true, "done_5": true, "done_9": true, "done_11": true, "done_16": true, "done_25": true, "done_7": true, "done_22": true, "done_13": true, "done_3": true, "name": "Support"}, "emitted_at": 1675276491199} +{"stream": "users/checkboxes", "data": {"_airtable_id": "recmaYwfPMvZtwTSJ", "_airtable_created_time": "2022-12-02T19:50:00.000Z", "done_5": true, "done_9": true, "done_19": true, "done_12": true, "done": true, "done_16": true, "done_14": true, "done_4": true, "done_25": true, "done_7": true, "done_23": true, "done_20": true, "name": "Airbyte"}, "emitted_at": 1675276491200} +{"stream": "untitled_base/table_1", "data": {"_airtable_id": "recJ0l923fOFw6qbl", "_airtable_created_time": "2021-12-09T07:54:15.000Z", "name": "test2", "notes": "test2", "status": "In progress"}, "emitted_at": 1675276492018} +{"stream": "untitled_base/table_1", "data": {"_airtable_id": "recNbrGzLJfOy6EjC", "_airtable_created_time": "2022-12-28T11:43:37.000Z", "name": "blank"}, "emitted_at": 1675276492018} +{"stream": "untitled_base/table_1", "data": {"_airtable_id": "recZX1Je5k4nXhTi0", "_airtable_created_time": "2021-12-09T07:54:15.000Z", "name": "blank"}, "emitted_at": 1675276492019} +{"stream": "untitled_base/table_1", "data": {"_airtable_id": "recxXAoQ0cC5yCMZ7", "_airtable_created_time": "2021-12-09T07:54:15.000Z", "name": "test1", "notes": "test", "status": "Todo"}, "emitted_at": 1675276492019} +{"stream": "untitled_base/table_1", "data": {"_airtable_id": "reczJvdeo0b8KsM6K", "_airtable_created_time": "2022-12-28T11:43:38.000Z", "name": "test3", "notes": "test3", "status": "Done"}, "emitted_at": 1675276492019} diff --git a/airbyte-integrations/connectors/source-airtable/requirements.txt b/airbyte-integrations/connectors/source-airtable/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-airtable/requirements.txt +++ b/airbyte-integrations/connectors/source-airtable/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-airtable/setup.py b/airbyte-integrations/connectors/source-airtable/setup.py index 0e7ced22fe22..f9cc78d0a1a9 100644 --- a/airbyte-integrations/connectors/source-airtable/setup.py +++ b/airbyte-integrations/connectors/source-airtable/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-airtable/source_airtable/auth.py b/airbyte-integrations/connectors/source-airtable/source_airtable/auth.py index 0a51c0af623e..9e5987eaa08a 100644 --- a/airbyte-integrations/connectors/source-airtable/source_airtable/auth.py +++ b/airbyte-integrations/connectors/source-airtable/source_airtable/auth.py @@ -52,4 +52,8 @@ def __new__(cls, config: dict) -> Union[TokenAuthenticator, AirtableOAuth]: if "api_key" in config: return TokenAuthenticator(token=(config or {}).get("api_key")) # for new oauth configs - return AirtableOAuth(config, "https://airtable.com/oauth2/v1/token") + credentials = config["credentials"] + if credentials["auth_method"] == "oauth2.0": + return AirtableOAuth(config, "https://airtable.com/oauth2/v1/token") + elif credentials["auth_method"] == "api_key": + return TokenAuthenticator(token=credentials["api_key"]) diff --git a/airbyte-integrations/connectors/source-airtable/source_airtable/schema_helpers.py b/airbyte-integrations/connectors/source-airtable/source_airtable/schema_helpers.py index 43e253dc9d72..af1f83e73f17 100644 --- a/airbyte-integrations/connectors/source-airtable/source_airtable/schema_helpers.py +++ b/airbyte-integrations/connectors/source-airtable/source_airtable/schema_helpers.py @@ -60,6 +60,8 @@ class SchemaTypes: "singleLineText": SchemaTypes.string, "externalSyncSource": SchemaTypes.string, "url": SchemaTypes.string, + # referal default type + "simpleText": SchemaTypes.string, } # returns the `array of Any` where Any is based on Simple Types. @@ -89,17 +91,22 @@ def get_json_schema(table: Dict[str, Any]) -> Dict[str, str]: name: str = SchemaHelpers.clean_name(field.get("name")) original_type: str = field.get("type") options: Dict = field.get("options", {}) - exec_type: str = options.get("result", {}).get("type") if options else None - field_type: str = exec_type if exec_type else original_type + options_result: Dict = options.get("result", {}) + exec_type: str = options_result.get("type") if options_result else None # choose the JsonSchema Type for known Airtable Types if original_type in COMPLEX_AIRTABLE_TYPES.keys(): complex_type = deepcopy(COMPLEX_AIRTABLE_TYPES.get(original_type)) # process arrays with values + field_type: str = exec_type if exec_type else "simpleText" + # For cases with `options.result` == None, we should apply the type `string`. + # Other edge cases, if `field_type` not in SIMPLE_AIRTABLE_TYPES, fall back to "simpleText" == `string` + # reference issue: https://github.com/airbytehq/oncall/issues/1432#issuecomment-1412743120 if complex_type == SchemaTypes.array_with_any: complex_type["items"] = deepcopy(SIMPLE_AIRTABLE_TYPES.get(field_type)) properties.update(**{name: complex_type}) elif original_type in SIMPLE_AIRTABLE_TYPES.keys(): + field_type: str = exec_type if exec_type else original_type properties.update(**{name: deepcopy(SIMPLE_AIRTABLE_TYPES.get(field_type))}) else: # Airtable may add more field types in the future and don't consider it a breaking change diff --git a/airbyte-integrations/connectors/source-alloydb-strict-encrypt/acceptance-test-config.yml b/airbyte-integrations/connectors/source-alloydb-strict-encrypt/acceptance-test-config.yml index ec3eed823ea1..f497d002a406 100644 --- a/airbyte-integrations/connectors/source-alloydb-strict-encrypt/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-alloydb-strict-encrypt/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-postgres-strict-encrypt:dev tests: diff --git a/airbyte-integrations/connectors/source-alloydb/acceptance-test-config.yml b/airbyte-integrations/connectors/source-alloydb/acceptance-test-config.yml index 761386060182..2838a5ca4273 100644 --- a/airbyte-integrations/connectors/source-alloydb/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-alloydb/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-alloydb:dev tests: diff --git a/airbyte-integrations/connectors/source-alpha-vantage/README.md b/airbyte-integrations/connectors/source-alpha-vantage/README.md index bb054c73dec7..5d261772493e 100644 --- a/airbyte-integrations/connectors/source-alpha-vantage/README.md +++ b/airbyte-integrations/connectors/source-alpha-vantage/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-alpha-vantage/acceptance-test-config.yml b/airbyte-integrations/connectors/source-alpha-vantage/acceptance-test-config.yml index 4f8e9525c8e3..b5ae66d30609 100644 --- a/airbyte-integrations/connectors/source-alpha-vantage/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-alpha-vantage/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-alpha-vantage:dev tests: diff --git a/airbyte-integrations/connectors/source-alpha-vantage/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-alpha-vantage/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-alpha-vantage/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-alpha-vantage/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-alpha-vantage/build.gradle b/airbyte-integrations/connectors/source-alpha-vantage/build.gradle index f8d1a7d118a1..c2c09821ebf8 100644 --- a/airbyte-integrations/connectors/source-alpha-vantage/build.gradle +++ b/airbyte-integrations/connectors/source-alpha-vantage/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-alpha-vantage/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-alpha-vantage/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-alpha-vantage/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-alpha-vantage/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-alpha-vantage/requirements.txt b/airbyte-integrations/connectors/source-alpha-vantage/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-alpha-vantage/requirements.txt +++ b/airbyte-integrations/connectors/source-alpha-vantage/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-alpha-vantage/setup.py b/airbyte-integrations/connectors/source-alpha-vantage/setup.py index 5bc457370080..06c3b2026e2b 100644 --- a/airbyte-integrations/connectors/source-alpha-vantage/setup.py +++ b/airbyte-integrations/connectors/source-alpha-vantage/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-amazon-ads/README.md b/airbyte-integrations/connectors/source-amazon-ads/README.md index 3002f939b404..610c77fb435d 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/README.md +++ b/airbyte-integrations/connectors/source-amazon-ads/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-amazon-ads/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-amazon-ads/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-amazon-ads/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-amazon-ads/build.gradle b/airbyte-integrations/connectors/source-amazon-ads/build.gradle index 325bc0f413bb..71f751d12d85 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/build.gradle +++ b/airbyte-integrations/connectors/source-amazon-ads/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-amazon-ads/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-amazon-ads/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-amazon-ads/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-amazon-ads/requirements.txt b/airbyte-integrations/connectors/source-amazon-ads/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/requirements.txt +++ b/airbyte-integrations/connectors/source-amazon-ads/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/README.md b/airbyte-integrations/connectors/source-amazon-seller-partner/README.md index 3f19a0c98a5a..5251d63fd92b 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/README.md +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/README.md @@ -93,7 +93,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-amazon-seller-partner/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/build.gradle b/airbyte-integrations/connectors/source-amazon-seller-partner/build.gradle index 487c46ada1f3..864de132f75d 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/build.gradle +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-amazon-seller-partner/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/requirements.txt b/airbyte-integrations/connectors/source-amazon-seller-partner/requirements.txt index 78140e52009f..91de78ac4144 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/requirements.txt +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-amazon-sqs/README.md b/airbyte-integrations/connectors/source-amazon-sqs/README.md index 8e77f4bc5f1e..348214fff027 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/README.md +++ b/airbyte-integrations/connectors/source-amazon-sqs/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-amazon-sqs/acceptance-test-config.yml b/airbyte-integrations/connectors/source-amazon-sqs/acceptance-test-config.yml index a655bcacce28..5123308bb931 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-amazon-sqs/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-amazon-sqs:dev tests: diff --git a/airbyte-integrations/connectors/source-amazon-sqs/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-amazon-sqs/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-amazon-sqs/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-amazon-sqs/build.gradle b/airbyte-integrations/connectors/source-amazon-sqs/build.gradle index c9d03ff66de5..7f669f5bdb2a 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/build.gradle +++ b/airbyte-integrations/connectors/source-amazon-sqs/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,6 +9,6 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-amazon-sqs/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-amazon-sqs/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-amazon-sqs/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-amazon-sqs/requirements.txt b/airbyte-integrations/connectors/source-amazon-sqs/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/requirements.txt +++ b/airbyte-integrations/connectors/source-amazon-sqs/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-amazon-sqs/setup.py b/airbyte-integrations/connectors/source-amazon-sqs/setup.py index 3c124cc3854b..ccfff3f026b6 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/setup.py +++ b/airbyte-integrations/connectors/source-amazon-sqs/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk", "boto3"] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "moto[sqs, iam]"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "moto[sqs, iam]"] setup( name="source_amazon_sqs", diff --git a/airbyte-integrations/connectors/source-amplitude/README.md b/airbyte-integrations/connectors/source-amplitude/README.md index bd6ada9a3e2f..9bdf0b8c9f33 100644 --- a/airbyte-integrations/connectors/source-amplitude/README.md +++ b/airbyte-integrations/connectors/source-amplitude/README.md @@ -95,12 +95,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-amplitude:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-amplitude/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-amplitude/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-amplitude/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-amplitude/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-amplitude/build.gradle b/airbyte-integrations/connectors/source-amplitude/build.gradle index 9196d6197402..7d0c55bff5ac 100644 --- a/airbyte-integrations/connectors/source-amplitude/build.gradle +++ b/airbyte-integrations/connectors/source-amplitude/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-amplitude/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-amplitude/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-amplitude/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-amplitude/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-amplitude/requirements.txt b/airbyte-integrations/connectors/source-amplitude/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-amplitude/requirements.txt +++ b/airbyte-integrations/connectors/source-amplitude/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-apify-dataset/README.md b/airbyte-integrations/connectors/source-apify-dataset/README.md index f8893b5643af..b9322f3f64d4 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/README.md +++ b/airbyte-integrations/connectors/source-apify-dataset/README.md @@ -101,7 +101,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-apify-dataset/acceptance-test-config.yml b/airbyte-integrations/connectors/source-apify-dataset/acceptance-test-config.yml index 5006c335ca41..deaf98acb9c5 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-apify-dataset/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-apify-dataset:dev tests: diff --git a/airbyte-integrations/connectors/source-apify-dataset/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-apify-dataset/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100755 --- a/airbyte-integrations/connectors/source-apify-dataset/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-apify-dataset/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-apify-dataset/build.gradle b/airbyte-integrations/connectors/source-apify-dataset/build.gradle index 4e84af39acde..ccdf56406c4a 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/build.gradle +++ b/airbyte-integrations/connectors/source-apify-dataset/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-apify-dataset/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-apify-dataset/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-apify-dataset/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-apify-dataset/requirements.txt b/airbyte-integrations/connectors/source-apify-dataset/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/requirements.txt +++ b/airbyte-integrations/connectors/source-apify-dataset/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-apify-dataset/setup.py b/airbyte-integrations/connectors/source-apify-dataset/setup.py index 8a67515bbd2d..64af0a0f91be 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/setup.py +++ b/airbyte-integrations/connectors/source-apify-dataset/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-appfollow/README.md b/airbyte-integrations/connectors/source-appfollow/README.md index 0dc128693ac4..30fbb84dbf2f 100644 --- a/airbyte-integrations/connectors/source-appfollow/README.md +++ b/airbyte-integrations/connectors/source-appfollow/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-appfollow/acceptance-test-config.yml b/airbyte-integrations/connectors/source-appfollow/acceptance-test-config.yml index 142bb3253c2c..ae277c417719 100644 --- a/airbyte-integrations/connectors/source-appfollow/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-appfollow/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# # See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# # See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # # for more information about how to configure these tests connector_image: airbyte/source-appfollow:dev diff --git a/airbyte-integrations/connectors/source-appfollow/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-appfollow/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-appfollow/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-appfollow/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-appfollow/build.gradle b/airbyte-integrations/connectors/source-appfollow/build.gradle index d97a44c6cb5c..8362397b1ead 100644 --- a/airbyte-integrations/connectors/source-appfollow/build.gradle +++ b/airbyte-integrations/connectors/source-appfollow/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-appfollow/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-appfollow/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-appfollow/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-appfollow/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-appfollow/requirements.txt b/airbyte-integrations/connectors/source-appfollow/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-appfollow/requirements.txt +++ b/airbyte-integrations/connectors/source-appfollow/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-appfollow/setup.py b/airbyte-integrations/connectors/source-appfollow/setup.py index c833bbdd2a5c..a461c40a6de2 100644 --- a/airbyte-integrations/connectors/source-appfollow/setup.py +++ b/airbyte-integrations/connectors/source-appfollow/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk~=0.1", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "source-acceptance-test", "requests_mock~=1.9"] +TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "connector-acceptance-test", "requests_mock~=1.9"] setup( name="source_appfollow", diff --git a/airbyte-integrations/connectors/source-appsflyer/README.md b/airbyte-integrations/connectors/source-appsflyer/README.md index 287d02627187..eda361dfe176 100644 --- a/airbyte-integrations/connectors/source-appsflyer/README.md +++ b/airbyte-integrations/connectors/source-appsflyer/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-appsflyer/acceptance-test-config.yml b/airbyte-integrations/connectors/source-appsflyer/acceptance-test-config.yml index acb6210b3fcc..457757b481ab 100644 --- a/airbyte-integrations/connectors/source-appsflyer/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-appsflyer/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-appsflyer:dev tests: diff --git a/airbyte-integrations/connectors/source-appsflyer/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-appsflyer/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-appsflyer/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-appsflyer/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-appsflyer/build.gradle b/airbyte-integrations/connectors/source-appsflyer/build.gradle index d6f32b51dbac..db6f8147c4fd 100644 --- a/airbyte-integrations/connectors/source-appsflyer/build.gradle +++ b/airbyte-integrations/connectors/source-appsflyer/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-appsflyer/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-appsflyer/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-appsflyer/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-appsflyer/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-appsflyer/requirements.txt b/airbyte-integrations/connectors/source-appsflyer/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-appsflyer/requirements.txt +++ b/airbyte-integrations/connectors/source-appsflyer/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-appsflyer/setup.py b/airbyte-integrations/connectors/source-appsflyer/setup.py index bc31f8d0c458..f22127eb99f8 100644 --- a/airbyte-integrations/connectors/source-appsflyer/setup.py +++ b/airbyte-integrations/connectors/source-appsflyer/setup.py @@ -10,7 +10,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-asana/README.md b/airbyte-integrations/connectors/source-asana/README.md index 3e60ddf3edeb..d035ea56ad2c 100644 --- a/airbyte-integrations/connectors/source-asana/README.md +++ b/airbyte-integrations/connectors/source-asana/README.md @@ -97,12 +97,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-asana:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-asana/acceptance-test-config.yml b/airbyte-integrations/connectors/source-asana/acceptance-test-config.yml index bf1454c6d836..39a5cacfd655 100644 --- a/airbyte-integrations/connectors/source-asana/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-asana/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-asana:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-asana/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-asana/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-asana/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-asana/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-asana/build.gradle b/airbyte-integrations/connectors/source-asana/build.gradle index 6e02c06daa6b..36b2961201c3 100644 --- a/airbyte-integrations/connectors/source-asana/build.gradle +++ b/airbyte-integrations/connectors/source-asana/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-asana/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-asana/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-asana/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-asana/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-asana/requirements.txt b/airbyte-integrations/connectors/source-asana/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-asana/requirements.txt +++ b/airbyte-integrations/connectors/source-asana/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-asana/setup.py b/airbyte-integrations/connectors/source-asana/setup.py index 348d94cc679c..2753f1a518bd 100644 --- a/airbyte-integrations/connectors/source-asana/setup.py +++ b/airbyte-integrations/connectors/source-asana/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk~=0.2", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "requests-mock~=1.9.3", "source-acceptance-test"] +TEST_REQUIREMENTS = ["pytest~=6.1", "requests-mock~=1.9.3", "connector-acceptance-test"] setup( name="source_asana", diff --git a/airbyte-integrations/connectors/source-ashby/README.md b/airbyte-integrations/connectors/source-ashby/README.md index 83803e0b944c..c0059c22759a 100644 --- a/airbyte-integrations/connectors/source-ashby/README.md +++ b/airbyte-integrations/connectors/source-ashby/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-ashby/acceptance-test-config.yml b/airbyte-integrations/connectors/source-ashby/acceptance-test-config.yml index f6e3ec2bb01c..ca594226e811 100644 --- a/airbyte-integrations/connectors/source-ashby/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-ashby/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-ashby:dev tests: diff --git a/airbyte-integrations/connectors/source-ashby/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-ashby/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-ashby/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-ashby/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-ashby/build.gradle b/airbyte-integrations/connectors/source-ashby/build.gradle index 17e5df44150e..396d5a509488 100644 --- a/airbyte-integrations/connectors/source-ashby/build.gradle +++ b/airbyte-integrations/connectors/source-ashby/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-ashby/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-ashby/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-ashby/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-ashby/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-ashby/requirements.txt b/airbyte-integrations/connectors/source-ashby/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-ashby/requirements.txt +++ b/airbyte-integrations/connectors/source-ashby/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-ashby/setup.py b/airbyte-integrations/connectors/source-ashby/setup.py index 46db533a3953..d428153e63a9 100644 --- a/airbyte-integrations/connectors/source-ashby/setup.py +++ b/airbyte-integrations/connectors/source-ashby/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-auth0/README.md b/airbyte-integrations/connectors/source-auth0/README.md index 684853a8716e..6be279a1d1ef 100644 --- a/airbyte-integrations/connectors/source-auth0/README.md +++ b/airbyte-integrations/connectors/source-auth0/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-auth0/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-auth0/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-auth0/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-auth0/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-auth0/build.gradle b/airbyte-integrations/connectors/source-auth0/build.gradle index f493b96498ec..b1e0ab15c2d9 100644 --- a/airbyte-integrations/connectors/source-auth0/build.gradle +++ b/airbyte-integrations/connectors/source-auth0/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-auth0/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-auth0/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-auth0/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-auth0/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-auth0/requirements.txt b/airbyte-integrations/connectors/source-auth0/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-auth0/requirements.txt +++ b/airbyte-integrations/connectors/source-auth0/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-auth0/setup.py b/airbyte-integrations/connectors/source-auth0/setup.py index 4c1aea85c909..bf6a98f026d2 100644 --- a/airbyte-integrations/connectors/source-auth0/setup.py +++ b/airbyte-integrations/connectors/source-auth0/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/README.md b/airbyte-integrations/connectors/source-aws-cloudtrail/README.md index e501f33d9384..78397e586abc 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/README.md +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/acceptance-test-config.yml b/airbyte-integrations/connectors/source-aws-cloudtrail/acceptance-test-config.yml index 89b078848f2a..a379e8274c2b 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-aws-cloudtrail:dev tests: diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-aws-cloudtrail/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/build.gradle b/airbyte-integrations/connectors/source-aws-cloudtrail/build.gradle index 375580485fd0..175c4816738a 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/build.gradle +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-aws-cloudtrail/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/requirements.txt b/airbyte-integrations/connectors/source-aws-cloudtrail/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/requirements.txt +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/setup.py b/airbyte-integrations/connectors/source-aws-cloudtrail/setup.py index 21615878b89f..a08fefbc24ac 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/setup.py +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-azure-table/README.md b/airbyte-integrations/connectors/source-azure-table/README.md index 55c880c1b163..4a7a3a78d43f 100644 --- a/airbyte-integrations/connectors/source-azure-table/README.md +++ b/airbyte-integrations/connectors/source-azure-table/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-azure-table/acceptance-test-config.yml b/airbyte-integrations/connectors/source-azure-table/acceptance-test-config.yml index 9fac21867ac6..89f5b61d61a3 100644 --- a/airbyte-integrations/connectors/source-azure-table/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-azure-table/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-azure-table:dev tests: diff --git a/airbyte-integrations/connectors/source-azure-table/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-azure-table/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100755 --- a/airbyte-integrations/connectors/source-azure-table/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-azure-table/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-azure-table/build.gradle b/airbyte-integrations/connectors/source-azure-table/build.gradle index d88944dfb647..667fd35c2cbe 100644 --- a/airbyte-integrations/connectors/source-azure-table/build.gradle +++ b/airbyte-integrations/connectors/source-azure-table/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,6 +9,6 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-azure-table/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-azure-table/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-azure-table/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-azure-table/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-azure-table/requirements.txt b/airbyte-integrations/connectors/source-azure-table/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-azure-table/requirements.txt +++ b/airbyte-integrations/connectors/source-azure-table/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-azure-table/setup.py b/airbyte-integrations/connectors/source-azure-table/setup.py index 39915c491507..bac2e14f66ca 100644 --- a/airbyte-integrations/connectors/source-azure-table/setup.py +++ b/airbyte-integrations/connectors/source-azure-table/setup.py @@ -10,7 +10,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-babelforce/README.md b/airbyte-integrations/connectors/source-babelforce/README.md index 53487da6f2e1..3a054caaa255 100644 --- a/airbyte-integrations/connectors/source-babelforce/README.md +++ b/airbyte-integrations/connectors/source-babelforce/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-babelforce/acceptance-test-config.yml b/airbyte-integrations/connectors/source-babelforce/acceptance-test-config.yml index 9ced88f65955..343966dacb78 100644 --- a/airbyte-integrations/connectors/source-babelforce/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-babelforce/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-babelforce:dev tests: diff --git a/airbyte-integrations/connectors/source-babelforce/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-babelforce/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-babelforce/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-babelforce/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-babelforce/build.gradle b/airbyte-integrations/connectors/source-babelforce/build.gradle index fbad5e3ee587..dca68c46e194 100644 --- a/airbyte-integrations/connectors/source-babelforce/build.gradle +++ b/airbyte-integrations/connectors/source-babelforce/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-babelforce/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-babelforce/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-babelforce/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-babelforce/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-babelforce/requirements.txt b/airbyte-integrations/connectors/source-babelforce/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-babelforce/requirements.txt +++ b/airbyte-integrations/connectors/source-babelforce/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-babelforce/setup.py b/airbyte-integrations/connectors/source-babelforce/setup.py index f9c3e4fd0cbb..c5c70357bd2a 100644 --- a/airbyte-integrations/connectors/source-babelforce/setup.py +++ b/airbyte-integrations/connectors/source-babelforce/setup.py @@ -10,7 +10,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-bamboo-hr/README.md b/airbyte-integrations/connectors/source-bamboo-hr/README.md index ee2fd0b3e15e..ef90e2653050 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/README.md +++ b/airbyte-integrations/connectors/source-bamboo-hr/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-bamboo-hr/acceptance-test-config.yml b/airbyte-integrations/connectors/source-bamboo-hr/acceptance-test-config.yml index 643902593238..62314bcc14a6 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-bamboo-hr/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-bamboo-hr:dev tests: diff --git a/airbyte-integrations/connectors/source-bamboo-hr/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-bamboo-hr/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-bamboo-hr/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-bamboo-hr/build.gradle b/airbyte-integrations/connectors/source-bamboo-hr/build.gradle index 07d953d64e2e..b0c10e34eac2 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/build.gradle +++ b/airbyte-integrations/connectors/source-bamboo-hr/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-bamboo-hr/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-bamboo-hr/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-bamboo-hr/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-bamboo-hr/requirements.txt b/airbyte-integrations/connectors/source-bamboo-hr/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/requirements.txt +++ b/airbyte-integrations/connectors/source-bamboo-hr/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-bamboo-hr/setup.py b/airbyte-integrations/connectors/source-bamboo-hr/setup.py index 729180812e43..600481fe71c8 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/setup.py +++ b/airbyte-integrations/connectors/source-bamboo-hr/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-bigcommerce/README.md b/airbyte-integrations/connectors/source-bigcommerce/README.md index 9e95020543b5..b7eb80c54ccf 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/README.md +++ b/airbyte-integrations/connectors/source-bigcommerce/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-bigcommerce/acceptance-test-config.yml b/airbyte-integrations/connectors/source-bigcommerce/acceptance-test-config.yml index 74276e0a67f5..94d5f137867b 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-bigcommerce/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-bigcommerce:dev tests: diff --git a/airbyte-integrations/connectors/source-bigcommerce/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-bigcommerce/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-bigcommerce/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-bigcommerce/build.gradle b/airbyte-integrations/connectors/source-bigcommerce/build.gradle index 8ae7c04af4b2..4079177de232 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/build.gradle +++ b/airbyte-integrations/connectors/source-bigcommerce/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-bigcommerce/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-bigcommerce/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-bigcommerce/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-bigcommerce/requirements.txt b/airbyte-integrations/connectors/source-bigcommerce/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/requirements.txt +++ b/airbyte-integrations/connectors/source-bigcommerce/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-bigcommerce/setup.py b/airbyte-integrations/connectors/source-bigcommerce/setup.py index bcc691daac14..cd246159eb2c 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/setup.py +++ b/airbyte-integrations/connectors/source-bigcommerce/setup.py @@ -11,7 +11,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-bigquery/acceptance-test-config.yml b/airbyte-integrations/connectors/source-bigquery/acceptance-test-config.yml index 0147bf96c530..4319f2cebd49 100644 --- a/airbyte-integrations/connectors/source-bigquery/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-bigquery/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-bigquery:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-bigquery/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-bigquery/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-bigquery/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-bigquery/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-bigquery/build.gradle b/airbyte-integrations/connectors/source-bigquery/build.gradle index 5c6168f9a971..5f32df98c2e9 100644 --- a/airbyte-integrations/connectors/source-bigquery/build.gradle +++ b/airbyte-integrations/connectors/source-bigquery/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-bigquery/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-bigquery/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-bigquery/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-bigquery/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-bing-ads/README.md b/airbyte-integrations/connectors/source-bing-ads/README.md index ec1dc10279dd..b2aca9137a5d 100644 --- a/airbyte-integrations/connectors/source-bing-ads/README.md +++ b/airbyte-integrations/connectors/source-bing-ads/README.md @@ -112,12 +112,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-bing-ads:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-bing-ads/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-bing-ads/acceptance-test-docker.sh index 1425ff74f151..609309b6f95b 100644 --- a/airbyte-integrations/connectors/source-bing-ads/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-bing-ads/acceptance-test-docker.sh @@ -3,5 +3,5 @@ docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-bing-ads/build.gradle b/airbyte-integrations/connectors/source-bing-ads/build.gradle index 3e9db95adf39..e7415d618a7c 100644 --- a/airbyte-integrations/connectors/source-bing-ads/build.gradle +++ b/airbyte-integrations/connectors/source-bing-ads/build.gradle @@ -3,7 +3,7 @@ import ru.vyarus.gradle.plugin.python.task.PythonTask plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-bing-ads/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-bing-ads/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-bing-ads/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-bing-ads/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-bing-ads/requirements.txt b/airbyte-integrations/connectors/source-bing-ads/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-bing-ads/requirements.txt +++ b/airbyte-integrations/connectors/source-bing-ads/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-bing-ads/setup.py b/airbyte-integrations/connectors/source-bing-ads/setup.py index 6ebf94d3eae5..3aa8c064c523 100644 --- a/airbyte-integrations/connectors/source-bing-ads/setup.py +++ b/airbyte-integrations/connectors/source-bing-ads/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-braintree/README.md b/airbyte-integrations/connectors/source-braintree/README.md index 63017d6fb016..b0b97315d229 100644 --- a/airbyte-integrations/connectors/source-braintree/README.md +++ b/airbyte-integrations/connectors/source-braintree/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-braintree/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-braintree/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-braintree/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-braintree/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-braintree/build.gradle b/airbyte-integrations/connectors/source-braintree/build.gradle index ef94f4067105..7be79b639fc0 100644 --- a/airbyte-integrations/connectors/source-braintree/build.gradle +++ b/airbyte-integrations/connectors/source-braintree/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-braintree/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-braintree/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-braintree/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-braintree/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-braintree/requirements.txt b/airbyte-integrations/connectors/source-braintree/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-braintree/requirements.txt +++ b/airbyte-integrations/connectors/source-braintree/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-braintree/setup.py b/airbyte-integrations/connectors/source-braintree/setup.py index 9066e4df9d91..ff047d583905 100644 --- a/airbyte-integrations/connectors/source-braintree/setup.py +++ b/airbyte-integrations/connectors/source-braintree/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk~=0.1", "braintree~=4.11.0", "pendulum~=1.5.1", "inflection~=0.5.1", "backoff~=1.11.0"] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "freezegun~=1.1.0", "responses~=0.13.3"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "freezegun~=1.1.0", "responses~=0.13.3"] setup( name="source_braintree", diff --git a/airbyte-integrations/connectors/source-braze/README.md b/airbyte-integrations/connectors/source-braze/README.md index e18943ed1cd7..eb8215a5c015 100644 --- a/airbyte-integrations/connectors/source-braze/README.md +++ b/airbyte-integrations/connectors/source-braze/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with Docker, run: diff --git a/airbyte-integrations/connectors/source-braze/acceptance-test-config.yml b/airbyte-integrations/connectors/source-braze/acceptance-test-config.yml index 174dc49a67ee..23de8af06889 100644 --- a/airbyte-integrations/connectors/source-braze/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-braze/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-braze:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-braze/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-braze/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-braze/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-braze/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-braze/build.gradle b/airbyte-integrations/connectors/source-braze/build.gradle index 06787f04df74..953cadefb1f0 100644 --- a/airbyte-integrations/connectors/source-braze/build.gradle +++ b/airbyte-integrations/connectors/source-braze/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-braze/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-braze/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-braze/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-braze/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-braze/requirements.txt b/airbyte-integrations/connectors/source-braze/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-braze/requirements.txt +++ b/airbyte-integrations/connectors/source-braze/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-braze/setup.py b/airbyte-integrations/connectors/source-braze/setup.py index f5f4f9ae0034..21ce0f9cda29 100644 --- a/airbyte-integrations/connectors/source-braze/setup.py +++ b/airbyte-integrations/connectors/source-braze/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.2", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-breezometer/README.md b/airbyte-integrations/connectors/source-breezometer/README.md index 6eac3506be21..817bee6aaaef 100644 --- a/airbyte-integrations/connectors/source-breezometer/README.md +++ b/airbyte-integrations/connectors/source-breezometer/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-breezometer/acceptance-test-config.yml b/airbyte-integrations/connectors/source-breezometer/acceptance-test-config.yml index 778fb3bea9a4..4fde1af28e29 100644 --- a/airbyte-integrations/connectors/source-breezometer/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-breezometer/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-breezometer:dev tests: diff --git a/airbyte-integrations/connectors/source-breezometer/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-breezometer/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-breezometer/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-breezometer/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-breezometer/build.gradle b/airbyte-integrations/connectors/source-breezometer/build.gradle index 929c6da37610..97e8fbb9d5d5 100644 --- a/airbyte-integrations/connectors/source-breezometer/build.gradle +++ b/airbyte-integrations/connectors/source-breezometer/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-breezometer/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-breezometer/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-breezometer/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-breezometer/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-breezometer/requirements.txt b/airbyte-integrations/connectors/source-breezometer/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-breezometer/requirements.txt +++ b/airbyte-integrations/connectors/source-breezometer/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-breezometer/setup.py b/airbyte-integrations/connectors/source-breezometer/setup.py index fb959469de7e..dc4d38924f0a 100644 --- a/airbyte-integrations/connectors/source-breezometer/setup.py +++ b/airbyte-integrations/connectors/source-breezometer/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-callrail/README.md b/airbyte-integrations/connectors/source-callrail/README.md index b2b7e461e831..0dddd71e268e 100644 --- a/airbyte-integrations/connectors/source-callrail/README.md +++ b/airbyte-integrations/connectors/source-callrail/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-callrail/acceptance-test-config.yml b/airbyte-integrations/connectors/source-callrail/acceptance-test-config.yml index a3a585ceda93..b7fc433cdcd2 100644 --- a/airbyte-integrations/connectors/source-callrail/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-callrail/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-callrail:dev tests: diff --git a/airbyte-integrations/connectors/source-callrail/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-callrail/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-callrail/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-callrail/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-callrail/build.gradle b/airbyte-integrations/connectors/source-callrail/build.gradle index d40b8a205eea..682d3b09eeda 100644 --- a/airbyte-integrations/connectors/source-callrail/build.gradle +++ b/airbyte-integrations/connectors/source-callrail/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-callrail/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-callrail/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-callrail/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-callrail/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-callrail/requirements.txt b/airbyte-integrations/connectors/source-callrail/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-callrail/requirements.txt +++ b/airbyte-integrations/connectors/source-callrail/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-callrail/setup.py b/airbyte-integrations/connectors/source-callrail/setup.py index 2c1999dd5e2c..2334c867f62e 100644 --- a/airbyte-integrations/connectors/source-callrail/setup.py +++ b/airbyte-integrations/connectors/source-callrail/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-cart/README.md b/airbyte-integrations/connectors/source-cart/README.md index 297d9196dfd8..ab584dbf5f0c 100644 --- a/airbyte-integrations/connectors/source-cart/README.md +++ b/airbyte-integrations/connectors/source-cart/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-cart/acceptance-test-config.yml b/airbyte-integrations/connectors/source-cart/acceptance-test-config.yml index 8a8f34a782bd..a730ef928a91 100644 --- a/airbyte-integrations/connectors/source-cart/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-cart/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-cart:dev tests: diff --git a/airbyte-integrations/connectors/source-cart/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-cart/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-cart/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-cart/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-cart/build.gradle b/airbyte-integrations/connectors/source-cart/build.gradle index 75b74b48285c..5dcb42dae546 100644 --- a/airbyte-integrations/connectors/source-cart/build.gradle +++ b/airbyte-integrations/connectors/source-cart/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-cart/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-cart/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-cart/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-cart/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-cart/requirements.txt b/airbyte-integrations/connectors/source-cart/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-cart/requirements.txt +++ b/airbyte-integrations/connectors/source-cart/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-cart/setup.py b/airbyte-integrations/connectors/source-cart/setup.py index 30507cc35519..db8532db78d5 100644 --- a/airbyte-integrations/connectors/source-cart/setup.py +++ b/airbyte-integrations/connectors/source-cart/setup.py @@ -11,7 +11,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-chargebee/README.md b/airbyte-integrations/connectors/source-chargebee/README.md index fad73a98ad2c..07e708770264 100644 --- a/airbyte-integrations/connectors/source-chargebee/README.md +++ b/airbyte-integrations/connectors/source-chargebee/README.md @@ -93,7 +93,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-chargebee/acceptance-test-config.yml b/airbyte-integrations/connectors/source-chargebee/acceptance-test-config.yml index 22e062549773..9af95039d023 100644 --- a/airbyte-integrations/connectors/source-chargebee/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-chargebee/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-chargebee:dev tests: diff --git a/airbyte-integrations/connectors/source-chargebee/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-chargebee/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-chargebee/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-chargebee/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-chargebee/build.gradle b/airbyte-integrations/connectors/source-chargebee/build.gradle index 924cc8056217..98b3907fcbfd 100644 --- a/airbyte-integrations/connectors/source-chargebee/build.gradle +++ b/airbyte-integrations/connectors/source-chargebee/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-chargebee/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-chargebee/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-chargebee/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-chargebee/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-chargebee/requirements.txt b/airbyte-integrations/connectors/source-chargebee/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-chargebee/requirements.txt +++ b/airbyte-integrations/connectors/source-chargebee/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-chargebee/setup.py b/airbyte-integrations/connectors/source-chargebee/setup.py index fbfa956a47ab..6ff880f0b07b 100644 --- a/airbyte-integrations/connectors/source-chargebee/setup.py +++ b/airbyte-integrations/connectors/source-chargebee/setup.py @@ -16,7 +16,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", "jsonschema~=3.2.0", "responses~=0.13.3", ] diff --git a/airbyte-integrations/connectors/source-chargify/README.md b/airbyte-integrations/connectors/source-chargify/README.md index afd69a52da00..f44eca7c41f6 100644 --- a/airbyte-integrations/connectors/source-chargify/README.md +++ b/airbyte-integrations/connectors/source-chargify/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-chargify/acceptance-test-config.yml b/airbyte-integrations/connectors/source-chargify/acceptance-test-config.yml index 3c96f7968faa..4b7dd606b666 100644 --- a/airbyte-integrations/connectors/source-chargify/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-chargify/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-chargify:dev tests: diff --git a/airbyte-integrations/connectors/source-chargify/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-chargify/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-chargify/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-chargify/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-chargify/build.gradle b/airbyte-integrations/connectors/source-chargify/build.gradle index 2dcfc0aad3b6..e991e4fd1909 100644 --- a/airbyte-integrations/connectors/source-chargify/build.gradle +++ b/airbyte-integrations/connectors/source-chargify/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-chargify/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-chargify/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-chargify/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-chargify/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-chargify/requirements.txt b/airbyte-integrations/connectors/source-chargify/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-chargify/requirements.txt +++ b/airbyte-integrations/connectors/source-chargify/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-chargify/setup.py b/airbyte-integrations/connectors/source-chargify/setup.py index 8a2c8bae3a63..40daa37b9a94 100644 --- a/airbyte-integrations/connectors/source-chargify/setup.py +++ b/airbyte-integrations/connectors/source-chargify/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-chartmogul/README.md b/airbyte-integrations/connectors/source-chartmogul/README.md index 2ba338da1728..4eebdb5830cc 100644 --- a/airbyte-integrations/connectors/source-chartmogul/README.md +++ b/airbyte-integrations/connectors/source-chartmogul/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-chartmogul/acceptance-test-config.yml b/airbyte-integrations/connectors/source-chartmogul/acceptance-test-config.yml index 247c68f3cec6..eb1dc53f8236 100644 --- a/airbyte-integrations/connectors/source-chartmogul/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-chartmogul/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-chartmogul:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-chartmogul/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-chartmogul/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-chartmogul/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-chartmogul/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-chartmogul/build.gradle b/airbyte-integrations/connectors/source-chartmogul/build.gradle index 0f9c12cdb820..adb6d7d7d3f4 100644 --- a/airbyte-integrations/connectors/source-chartmogul/build.gradle +++ b/airbyte-integrations/connectors/source-chartmogul/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-chartmogul/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-chartmogul/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-chartmogul/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-chartmogul/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-chartmogul/requirements.txt b/airbyte-integrations/connectors/source-chartmogul/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-chartmogul/requirements.txt +++ b/airbyte-integrations/connectors/source-chartmogul/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-chartmogul/setup.py b/airbyte-integrations/connectors/source-chartmogul/setup.py index 7ca6e6620535..47a94e525260 100644 --- a/airbyte-integrations/connectors/source-chartmogul/setup.py +++ b/airbyte-integrations/connectors/source-chartmogul/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "requests-mock", ] diff --git a/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/acceptance-test-config.yml b/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/acceptance-test-config.yml index fd4344e84e43..c4d71fd3e5b9 100644 --- a/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-clickhouse-strict-encrypt:dev tests: diff --git a/airbyte-integrations/connectors/source-clickhouse/acceptance-test-config.yml b/airbyte-integrations/connectors/source-clickhouse/acceptance-test-config.yml index c1cb0b594e5b..a329f4e6b0db 100644 --- a/airbyte-integrations/connectors/source-clickhouse/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-clickhouse/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-clickhouse:dev tests: diff --git a/airbyte-integrations/connectors/source-clickhouse/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-clickhouse/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-clickhouse/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-clickhouse/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-clickhouse/build.gradle b/airbyte-integrations/connectors/source-clickhouse/build.gradle index 1e9f4cc21a28..dca21deacd5d 100644 --- a/airbyte-integrations/connectors/source-clickhouse/build.gradle +++ b/airbyte-integrations/connectors/source-clickhouse/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-clickhouse/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-clickhouse/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-clickhouse/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-clickhouse/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-clickup-api/README.md b/airbyte-integrations/connectors/source-clickup-api/README.md index e9ee8b716388..c02b885876d3 100644 --- a/airbyte-integrations/connectors/source-clickup-api/README.md +++ b/airbyte-integrations/connectors/source-clickup-api/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-clickup-api/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-clickup-api/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-clickup-api/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-clickup-api/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-clickup-api/build.gradle b/airbyte-integrations/connectors/source-clickup-api/build.gradle index c280b1726da8..211412e41195 100644 --- a/airbyte-integrations/connectors/source-clickup-api/build.gradle +++ b/airbyte-integrations/connectors/source-clickup-api/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-clickup-api/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-clickup-api/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-clickup-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-clickup-api/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-clickup-api/requirements.txt b/airbyte-integrations/connectors/source-clickup-api/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-clickup-api/requirements.txt +++ b/airbyte-integrations/connectors/source-clickup-api/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-clickup-api/setup.py b/airbyte-integrations/connectors/source-clickup-api/setup.py index 04b79827f760..654706b36b4e 100644 --- a/airbyte-integrations/connectors/source-clickup-api/setup.py +++ b/airbyte-integrations/connectors/source-clickup-api/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-clockify/README.md b/airbyte-integrations/connectors/source-clockify/README.md index 0f4544e0896e..1a464e4dd95f 100644 --- a/airbyte-integrations/connectors/source-clockify/README.md +++ b/airbyte-integrations/connectors/source-clockify/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-clockify/acceptance-test-config.yml b/airbyte-integrations/connectors/source-clockify/acceptance-test-config.yml index 451c4f772c54..34c057d5c0bd 100644 --- a/airbyte-integrations/connectors/source-clockify/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-clockify/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-clockify:dev tests: diff --git a/airbyte-integrations/connectors/source-clockify/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-clockify/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-clockify/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-clockify/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-clockify/build.gradle b/airbyte-integrations/connectors/source-clockify/build.gradle index 9fbbaa9b16f7..cbfa98aee8a7 100644 --- a/airbyte-integrations/connectors/source-clockify/build.gradle +++ b/airbyte-integrations/connectors/source-clockify/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-clockify/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-clockify/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-clockify/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-clockify/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-clockify/requirements.txt b/airbyte-integrations/connectors/source-clockify/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-clockify/requirements.txt +++ b/airbyte-integrations/connectors/source-clockify/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-clockify/setup.py b/airbyte-integrations/connectors/source-clockify/setup.py index 4e83a518e06e..66235484fea8 100644 --- a/airbyte-integrations/connectors/source-clockify/setup.py +++ b/airbyte-integrations/connectors/source-clockify/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk~=0.2.0", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "source-acceptance-test", "responses"] +TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "connector-acceptance-test", "responses"] setup( name="source_clockify", diff --git a/airbyte-integrations/connectors/source-close-com/README.md b/airbyte-integrations/connectors/source-close-com/README.md index ecbd21be2812..61300aa46a02 100644 --- a/airbyte-integrations/connectors/source-close-com/README.md +++ b/airbyte-integrations/connectors/source-close-com/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-close-com/acceptance-test-config.yml b/airbyte-integrations/connectors/source-close-com/acceptance-test-config.yml index 1ff3a7aa3184..22da373dba77 100644 --- a/airbyte-integrations/connectors/source-close-com/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-close-com/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-close-com:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-close-com/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-close-com/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-close-com/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-close-com/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-close-com/build.gradle b/airbyte-integrations/connectors/source-close-com/build.gradle index d9e2e36a924b..6297a043adcf 100644 --- a/airbyte-integrations/connectors/source-close-com/build.gradle +++ b/airbyte-integrations/connectors/source-close-com/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-close-com/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-close-com/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-close-com/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-close-com/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-close-com/requirements.txt b/airbyte-integrations/connectors/source-close-com/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-close-com/requirements.txt +++ b/airbyte-integrations/connectors/source-close-com/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-close-com/setup.py b/airbyte-integrations/connectors/source-close-com/setup.py index 7bc6d70de471..72eff33a807b 100644 --- a/airbyte-integrations/connectors/source-close-com/setup.py +++ b/airbyte-integrations/connectors/source-close-com/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/acceptance-test-config.yml b/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/acceptance-test-config.yml index b76eb32040bc..c1e7ae01c0be 100644 --- a/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-cockroachdb-strict-encrypt:dev tests: diff --git a/airbyte-integrations/connectors/source-cockroachdb/acceptance-test-config.yml b/airbyte-integrations/connectors/source-cockroachdb/acceptance-test-config.yml index be8bdf914af3..56c47e4288c9 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-cockroachdb/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-cockroachdb:dev tests: diff --git a/airbyte-integrations/connectors/source-cockroachdb/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-cockroachdb/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-cockroachdb/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-cockroachdb/build.gradle b/airbyte-integrations/connectors/source-cockroachdb/build.gradle index 67e77014637f..2e4e4c7d280d 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/build.gradle +++ b/airbyte-integrations/connectors/source-cockroachdb/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-cockroachdb/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-cockroachdb/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-cockroachdb/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-coda/README.md b/airbyte-integrations/connectors/source-coda/README.md index 85b13c68d561..cb17f9a23641 100644 --- a/airbyte-integrations/connectors/source-coda/README.md +++ b/airbyte-integrations/connectors/source-coda/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-coda/acceptance-test-config.yml b/airbyte-integrations/connectors/source-coda/acceptance-test-config.yml index 67a56834addc..a692eb177d65 100644 --- a/airbyte-integrations/connectors/source-coda/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-coda/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-coda:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-coda/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-coda/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-coda/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-coda/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-coda/build.gradle b/airbyte-integrations/connectors/source-coda/build.gradle index d685c0c4bc74..591f4084a04e 100644 --- a/airbyte-integrations/connectors/source-coda/build.gradle +++ b/airbyte-integrations/connectors/source-coda/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-coda/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-coda/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-coda/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-coda/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-coda/requirements.txt b/airbyte-integrations/connectors/source-coda/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-coda/requirements.txt +++ b/airbyte-integrations/connectors/source-coda/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-coda/setup.py b/airbyte-integrations/connectors/source-coda/setup.py index 574189c1bced..b1d4f18c616b 100644 --- a/airbyte-integrations/connectors/source-coda/setup.py +++ b/airbyte-integrations/connectors/source-coda/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.2.5", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-coin-api/README.md b/airbyte-integrations/connectors/source-coin-api/README.md index 71ce0cd08342..e6066eb02c93 100644 --- a/airbyte-integrations/connectors/source-coin-api/README.md +++ b/airbyte-integrations/connectors/source-coin-api/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-coin-api/acceptance-test-config.yml b/airbyte-integrations/connectors/source-coin-api/acceptance-test-config.yml index 3309e585bb35..883e0f88ad1f 100644 --- a/airbyte-integrations/connectors/source-coin-api/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-coin-api/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-coin-api:dev tests: diff --git a/airbyte-integrations/connectors/source-coin-api/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-coin-api/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-coin-api/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-coin-api/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-coin-api/build.gradle b/airbyte-integrations/connectors/source-coin-api/build.gradle index 69d7e64f059a..635bf0d2385f 100644 --- a/airbyte-integrations/connectors/source-coin-api/build.gradle +++ b/airbyte-integrations/connectors/source-coin-api/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-coin-api/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-coin-api/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-coin-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-coin-api/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-coin-api/requirements.txt b/airbyte-integrations/connectors/source-coin-api/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-coin-api/requirements.txt +++ b/airbyte-integrations/connectors/source-coin-api/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-coin-api/setup.py b/airbyte-integrations/connectors/source-coin-api/setup.py index 2a0261aafb9b..86466897a0ee 100644 --- a/airbyte-integrations/connectors/source-coin-api/setup.py +++ b/airbyte-integrations/connectors/source-coin-api/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-coingecko-coins/README.md b/airbyte-integrations/connectors/source-coingecko-coins/README.md index 3b79c356b80b..090b4bd32dab 100644 --- a/airbyte-integrations/connectors/source-coingecko-coins/README.md +++ b/airbyte-integrations/connectors/source-coingecko-coins/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-coingecko-coins/acceptance-test-config.yml b/airbyte-integrations/connectors/source-coingecko-coins/acceptance-test-config.yml index facea3353f00..65964a923b99 100644 --- a/airbyte-integrations/connectors/source-coingecko-coins/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-coingecko-coins/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-coingecko-coins:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-coingecko-coins/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-coingecko-coins/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-coingecko-coins/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-coingecko-coins/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-coingecko-coins/build.gradle b/airbyte-integrations/connectors/source-coingecko-coins/build.gradle index 3f201f518dc6..04085cbbc265 100644 --- a/airbyte-integrations/connectors/source-coingecko-coins/build.gradle +++ b/airbyte-integrations/connectors/source-coingecko-coins/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-coingecko-coins/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-coingecko-coins/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-coingecko-coins/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-coingecko-coins/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-coingecko-coins/requirements.txt b/airbyte-integrations/connectors/source-coingecko-coins/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-coingecko-coins/requirements.txt +++ b/airbyte-integrations/connectors/source-coingecko-coins/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-coingecko-coins/setup.py b/airbyte-integrations/connectors/source-coingecko-coins/setup.py index 1cadaac382a1..966695f8453b 100644 --- a/airbyte-integrations/connectors/source-coingecko-coins/setup.py +++ b/airbyte-integrations/connectors/source-coingecko-coins/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-coinmarketcap/README.md b/airbyte-integrations/connectors/source-coinmarketcap/README.md index b3742a3f61c7..6858e55fe36e 100644 --- a/airbyte-integrations/connectors/source-coinmarketcap/README.md +++ b/airbyte-integrations/connectors/source-coinmarketcap/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-coinmarketcap/acceptance-test-config.yml b/airbyte-integrations/connectors/source-coinmarketcap/acceptance-test-config.yml index e812dc5165b4..29bc9e9e1a53 100644 --- a/airbyte-integrations/connectors/source-coinmarketcap/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-coinmarketcap/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-coinmarketcap:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-coinmarketcap/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-coinmarketcap/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-coinmarketcap/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-coinmarketcap/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-coinmarketcap/build.gradle b/airbyte-integrations/connectors/source-coinmarketcap/build.gradle index b63e834f0136..4aa435500679 100644 --- a/airbyte-integrations/connectors/source-coinmarketcap/build.gradle +++ b/airbyte-integrations/connectors/source-coinmarketcap/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-coinmarketcap/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-coinmarketcap/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-coinmarketcap/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-coinmarketcap/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-coinmarketcap/requirements.txt b/airbyte-integrations/connectors/source-coinmarketcap/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-coinmarketcap/requirements.txt +++ b/airbyte-integrations/connectors/source-coinmarketcap/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-coinmarketcap/setup.py b/airbyte-integrations/connectors/source-coinmarketcap/setup.py index 5c1ff243fce1..3b7229fda62c 100644 --- a/airbyte-integrations/connectors/source-coinmarketcap/setup.py +++ b/airbyte-integrations/connectors/source-coinmarketcap/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-commcare/README.md b/airbyte-integrations/connectors/source-commcare/README.md index 1505013ace3f..659dd3037c48 100644 --- a/airbyte-integrations/connectors/source-commcare/README.md +++ b/airbyte-integrations/connectors/source-commcare/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-commcare/acceptance-test-config.yml b/airbyte-integrations/connectors/source-commcare/acceptance-test-config.yml index 4f8fe24e4ca6..205c4d88126f 100644 --- a/airbyte-integrations/connectors/source-commcare/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-commcare/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-commcare:dev tests: diff --git a/airbyte-integrations/connectors/source-commcare/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-commcare/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-commcare/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-commcare/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-commcare/build.gradle b/airbyte-integrations/connectors/source-commcare/build.gradle index 344c8004cd66..78c86bc364a5 100644 --- a/airbyte-integrations/connectors/source-commcare/build.gradle +++ b/airbyte-integrations/connectors/source-commcare/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-commcare/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-commcare/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-commcare/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-commcare/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-commcare/requirements.txt b/airbyte-integrations/connectors/source-commcare/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-commcare/requirements.txt +++ b/airbyte-integrations/connectors/source-commcare/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-commcare/setup.py b/airbyte-integrations/connectors/source-commcare/setup.py index a2ec6ab5ca25..dcae547ec408 100644 --- a/airbyte-integrations/connectors/source-commcare/setup.py +++ b/airbyte-integrations/connectors/source-commcare/setup.py @@ -15,7 +15,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-commercetools/README.md b/airbyte-integrations/connectors/source-commercetools/README.md index 5b75ee797932..af4e8895f827 100644 --- a/airbyte-integrations/connectors/source-commercetools/README.md +++ b/airbyte-integrations/connectors/source-commercetools/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-commercetools/acceptance-test-config.yml b/airbyte-integrations/connectors/source-commercetools/acceptance-test-config.yml index c12a6d3841bb..eb31af453cff 100644 --- a/airbyte-integrations/connectors/source-commercetools/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-commercetools/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-commercetools:dev tests: diff --git a/airbyte-integrations/connectors/source-commercetools/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-commercetools/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-commercetools/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-commercetools/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-commercetools/build.gradle b/airbyte-integrations/connectors/source-commercetools/build.gradle index 7d5c9a8be7b6..26d7685a6ece 100644 --- a/airbyte-integrations/connectors/source-commercetools/build.gradle +++ b/airbyte-integrations/connectors/source-commercetools/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,6 +9,6 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-commercetools/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-commercetools/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-commercetools/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-commercetools/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-commercetools/requirements.txt b/airbyte-integrations/connectors/source-commercetools/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-commercetools/requirements.txt +++ b/airbyte-integrations/connectors/source-commercetools/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-commercetools/setup.py b/airbyte-integrations/connectors/source-commercetools/setup.py index f2f3e3c6edfa..778906c809e0 100644 --- a/airbyte-integrations/connectors/source-commercetools/setup.py +++ b/airbyte-integrations/connectors/source-commercetools/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-configcat/README.md b/airbyte-integrations/connectors/source-configcat/README.md index 7041446c7f99..1b15f5857321 100644 --- a/airbyte-integrations/connectors/source-configcat/README.md +++ b/airbyte-integrations/connectors/source-configcat/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-configcat/acceptance-test-config.yml b/airbyte-integrations/connectors/source-configcat/acceptance-test-config.yml index 50576c0dd298..1786ecd61ade 100644 --- a/airbyte-integrations/connectors/source-configcat/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-configcat/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-configcat:dev tests: diff --git a/airbyte-integrations/connectors/source-configcat/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-configcat/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-configcat/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-configcat/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-configcat/build.gradle b/airbyte-integrations/connectors/source-configcat/build.gradle index e7b33e0f3e27..73167f5abb79 100644 --- a/airbyte-integrations/connectors/source-configcat/build.gradle +++ b/airbyte-integrations/connectors/source-configcat/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-configcat/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-configcat/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-configcat/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-configcat/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-configcat/requirements.txt b/airbyte-integrations/connectors/source-configcat/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-configcat/requirements.txt +++ b/airbyte-integrations/connectors/source-configcat/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-configcat/setup.py b/airbyte-integrations/connectors/source-configcat/setup.py index ebc053047688..6983ded8e9d2 100644 --- a/airbyte-integrations/connectors/source-configcat/setup.py +++ b/airbyte-integrations/connectors/source-configcat/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-confluence/README.md b/airbyte-integrations/connectors/source-confluence/README.md index 2710ecd57c58..90be582dab79 100644 --- a/airbyte-integrations/connectors/source-confluence/README.md +++ b/airbyte-integrations/connectors/source-confluence/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-confluence/acceptance-test-config.yml b/airbyte-integrations/connectors/source-confluence/acceptance-test-config.yml index b468c4900f0a..d76d438d8c0d 100644 --- a/airbyte-integrations/connectors/source-confluence/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-confluence/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-confluence:dev tests: diff --git a/airbyte-integrations/connectors/source-confluence/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-confluence/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-confluence/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-confluence/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-confluence/build.gradle b/airbyte-integrations/connectors/source-confluence/build.gradle index 66251f90b464..ba7e50d0b18d 100644 --- a/airbyte-integrations/connectors/source-confluence/build.gradle +++ b/airbyte-integrations/connectors/source-confluence/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,6 +9,6 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-confluence/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-confluence/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-confluence/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-confluence/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-confluence/requirements.txt b/airbyte-integrations/connectors/source-confluence/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-confluence/requirements.txt +++ b/airbyte-integrations/connectors/source-confluence/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-confluence/setup.py b/airbyte-integrations/connectors/source-confluence/setup.py index 383131cd102b..888b994b638e 100644 --- a/airbyte-integrations/connectors/source-confluence/setup.py +++ b/airbyte-integrations/connectors/source-confluence/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.13.3", ] diff --git a/airbyte-integrations/connectors/source-convertkit/README.md b/airbyte-integrations/connectors/source-convertkit/README.md index e616271b56ca..8ea831dba592 100644 --- a/airbyte-integrations/connectors/source-convertkit/README.md +++ b/airbyte-integrations/connectors/source-convertkit/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-convertkit/acceptance-test-config.yml b/airbyte-integrations/connectors/source-convertkit/acceptance-test-config.yml index f9aea565ac71..5184a39b38df 100644 --- a/airbyte-integrations/connectors/source-convertkit/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-convertkit/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-convertkit:dev tests: diff --git a/airbyte-integrations/connectors/source-convertkit/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-convertkit/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-convertkit/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-convertkit/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-convertkit/build.gradle b/airbyte-integrations/connectors/source-convertkit/build.gradle index 7e7db2e9e9c9..f62e24d99570 100644 --- a/airbyte-integrations/connectors/source-convertkit/build.gradle +++ b/airbyte-integrations/connectors/source-convertkit/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-convertkit/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-convertkit/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-convertkit/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-convertkit/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-convertkit/requirements.txt b/airbyte-integrations/connectors/source-convertkit/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-convertkit/requirements.txt +++ b/airbyte-integrations/connectors/source-convertkit/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-convertkit/setup.py b/airbyte-integrations/connectors/source-convertkit/setup.py index 46a7c93718ad..5093497006fd 100644 --- a/airbyte-integrations/connectors/source-convertkit/setup.py +++ b/airbyte-integrations/connectors/source-convertkit/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-convex/README.md b/airbyte-integrations/connectors/source-convex/README.md index 864e0a264a7f..0998e63ec879 100644 --- a/airbyte-integrations/connectors/source-convex/README.md +++ b/airbyte-integrations/connectors/source-convex/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-convex/acceptance-test-config.yml b/airbyte-integrations/connectors/source-convex/acceptance-test-config.yml index 58f3c8774e8a..6bc6300dcac2 100644 --- a/airbyte-integrations/connectors/source-convex/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-convex/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-convex:dev tests: diff --git a/airbyte-integrations/connectors/source-convex/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-convex/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-convex/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-convex/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-convex/build.gradle b/airbyte-integrations/connectors/source-convex/build.gradle index 19b2ea0ede6d..4b9986cd278c 100644 --- a/airbyte-integrations/connectors/source-convex/build.gradle +++ b/airbyte-integrations/connectors/source-convex/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-convex/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-convex/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-convex/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-convex/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-convex/requirements.txt b/airbyte-integrations/connectors/source-convex/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-convex/requirements.txt +++ b/airbyte-integrations/connectors/source-convex/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-convex/setup.py b/airbyte-integrations/connectors/source-convex/setup.py index 8da8d18c95bd..ea81dc69a721 100644 --- a/airbyte-integrations/connectors/source-convex/setup.py +++ b/airbyte-integrations/connectors/source-convex/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.13.3", ] diff --git a/airbyte-integrations/connectors/source-copper/README.md b/airbyte-integrations/connectors/source-copper/README.md index 3cc52f79034b..b6e7d25f1328 100644 --- a/airbyte-integrations/connectors/source-copper/README.md +++ b/airbyte-integrations/connectors/source-copper/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-copper/acceptance-test-config.yml b/airbyte-integrations/connectors/source-copper/acceptance-test-config.yml index 0e0d638a3882..bf675b8d0ec3 100644 --- a/airbyte-integrations/connectors/source-copper/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-copper/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-copper:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-copper/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-copper/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-copper/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-copper/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-copper/build.gradle b/airbyte-integrations/connectors/source-copper/build.gradle index 4f761c74cd66..652f68b862ba 100644 --- a/airbyte-integrations/connectors/source-copper/build.gradle +++ b/airbyte-integrations/connectors/source-copper/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-copper/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-copper/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-copper/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-copper/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-copper/requirements.txt b/airbyte-integrations/connectors/source-copper/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-copper/requirements.txt +++ b/airbyte-integrations/connectors/source-copper/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-copper/setup.py b/airbyte-integrations/connectors/source-copper/setup.py index aa1c8291ca2a..89ef6b39152f 100644 --- a/airbyte-integrations/connectors/source-copper/setup.py +++ b/airbyte-integrations/connectors/source-copper/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "responses~=0.21.0", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-courier/README.md b/airbyte-integrations/connectors/source-courier/README.md index 5da67bba77cc..74294b4c464f 100644 --- a/airbyte-integrations/connectors/source-courier/README.md +++ b/airbyte-integrations/connectors/source-courier/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-courier/acceptance-test-config.yml b/airbyte-integrations/connectors/source-courier/acceptance-test-config.yml index 5e37fa10d28a..c81243abdfbb 100644 --- a/airbyte-integrations/connectors/source-courier/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-courier/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-courier:dev tests: diff --git a/airbyte-integrations/connectors/source-courier/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-courier/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-courier/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-courier/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-courier/build.gradle b/airbyte-integrations/connectors/source-courier/build.gradle index e5e4b3d94531..f02f8618cbc0 100644 --- a/airbyte-integrations/connectors/source-courier/build.gradle +++ b/airbyte-integrations/connectors/source-courier/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-courier/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-courier/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-courier/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-courier/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-courier/requirements.txt b/airbyte-integrations/connectors/source-courier/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-courier/requirements.txt +++ b/airbyte-integrations/connectors/source-courier/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-courier/setup.py b/airbyte-integrations/connectors/source-courier/setup.py index 8a7e73bd373c..a67494230138 100644 --- a/airbyte-integrations/connectors/source-courier/setup.py +++ b/airbyte-integrations/connectors/source-courier/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-datadog/README.md b/airbyte-integrations/connectors/source-datadog/README.md index a0d9e1192749..f2c4e7889bb1 100644 --- a/airbyte-integrations/connectors/source-datadog/README.md +++ b/airbyte-integrations/connectors/source-datadog/README.md @@ -78,12 +78,12 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-datadog:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` ### Unit Tests diff --git a/airbyte-integrations/connectors/source-datadog/acceptance-test-config.yml b/airbyte-integrations/connectors/source-datadog/acceptance-test-config.yml index 6e1df480373e..0d38ac0d8533 100644 --- a/airbyte-integrations/connectors/source-datadog/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-datadog/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-datadog:dev tests: diff --git a/airbyte-integrations/connectors/source-datadog/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-datadog/acceptance-test-docker.sh index c522eebbd94e..cf9bc08d3a29 100644 --- a/airbyte-integrations/connectors/source-datadog/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-datadog/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-datadog/build.gradle b/airbyte-integrations/connectors/source-datadog/build.gradle index 7d7e44963718..72c6317b2957 100644 --- a/airbyte-integrations/connectors/source-datadog/build.gradle +++ b/airbyte-integrations/connectors/source-datadog/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-datadog/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-datadog/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-datadog/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-datadog/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-datadog/requirements.txt b/airbyte-integrations/connectors/source-datadog/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-datadog/requirements.txt +++ b/airbyte-integrations/connectors/source-datadog/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-datadog/setup.py b/airbyte-integrations/connectors/source-datadog/setup.py index 3156ffa7e737..a82bdeb3c761 100644 --- a/airbyte-integrations/connectors/source-datadog/setup.py +++ b/airbyte-integrations/connectors/source-datadog/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest==6.1.2", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-datascope/README.md b/airbyte-integrations/connectors/source-datascope/README.md index 425473f9f645..272e0b581afe 100644 --- a/airbyte-integrations/connectors/source-datascope/README.md +++ b/airbyte-integrations/connectors/source-datascope/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-datascope/acceptance-test-config.yml b/airbyte-integrations/connectors/source-datascope/acceptance-test-config.yml index 5667fa1776cd..147e648cf984 100644 --- a/airbyte-integrations/connectors/source-datascope/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-datascope/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-datascope:dev tests: diff --git a/airbyte-integrations/connectors/source-datascope/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-datascope/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-datascope/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-datascope/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-datascope/build.gradle b/airbyte-integrations/connectors/source-datascope/build.gradle index effe7c6fe23e..034b286839b8 100644 --- a/airbyte-integrations/connectors/source-datascope/build.gradle +++ b/airbyte-integrations/connectors/source-datascope/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-datascope/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-datascope/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-datascope/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-datascope/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-datascope/requirements.txt b/airbyte-integrations/connectors/source-datascope/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-datascope/requirements.txt +++ b/airbyte-integrations/connectors/source-datascope/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-datascope/setup.py b/airbyte-integrations/connectors/source-datascope/setup.py index bf5f11481f35..2a4df28341b7 100644 --- a/airbyte-integrations/connectors/source-datascope/setup.py +++ b/airbyte-integrations/connectors/source-datascope/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-db2-strict-encrypt/acceptance-test-config.yml b/airbyte-integrations/connectors/source-db2-strict-encrypt/acceptance-test-config.yml index 3c75a9839b74..46b9d792ff44 100644 --- a/airbyte-integrations/connectors/source-db2-strict-encrypt/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-db2-strict-encrypt/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-db2-strict-encrypt:dev tests: diff --git a/airbyte-integrations/connectors/source-db2/acceptance-test-config.yml b/airbyte-integrations/connectors/source-db2/acceptance-test-config.yml index a0707f64ca70..37095f7ef91f 100644 --- a/airbyte-integrations/connectors/source-db2/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-db2/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-db2:dev tests: diff --git a/airbyte-integrations/connectors/source-db2/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-db2/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-db2/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-db2/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-db2/build.gradle b/airbyte-integrations/connectors/source-db2/build.gradle index 6798912d60f7..9b8277db39b0 100644 --- a/airbyte-integrations/connectors/source-db2/build.gradle +++ b/airbyte-integrations/connectors/source-db2/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-db2/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-db2/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-db2/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-db2/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-delighted/README.md b/airbyte-integrations/connectors/source-delighted/README.md index f73e6527ff75..c608e669d31d 100644 --- a/airbyte-integrations/connectors/source-delighted/README.md +++ b/airbyte-integrations/connectors/source-delighted/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](source-acceptance-tests.md) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](connector-acceptance-tests.md) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-delighted/acceptance-test-config.yml b/airbyte-integrations/connectors/source-delighted/acceptance-test-config.yml index b682c7d2b9f4..40c758778a84 100644 --- a/airbyte-integrations/connectors/source-delighted/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-delighted/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/contributing-to-airbyte/building-new-connector/source-acceptance-tests.md) +# See [Connector Acceptance Tests](https://docs.airbyte.com/contributing-to-airbyte/building-new-connector/connector-acceptance-tests.md) # for more information about how to configure these tests connector_image: airbyte/source-delighted:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-delighted/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-delighted/acceptance-test-docker.sh index 1425ff74f151..609309b6f95b 100644 --- a/airbyte-integrations/connectors/source-delighted/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-delighted/acceptance-test-docker.sh @@ -3,5 +3,5 @@ docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-delighted/build.gradle b/airbyte-integrations/connectors/source-delighted/build.gradle index f73c4a7c210f..335cbfdfbba6 100644 --- a/airbyte-integrations/connectors/source-delighted/build.gradle +++ b/airbyte-integrations/connectors/source-delighted/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,6 +9,6 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-delighted/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-delighted/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-delighted/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-delighted/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-delighted/requirements.txt b/airbyte-integrations/connectors/source-delighted/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-delighted/requirements.txt +++ b/airbyte-integrations/connectors/source-delighted/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-delighted/setup.py b/airbyte-integrations/connectors/source-delighted/setup.py index 8b1d24a2e4e5..b36ee107efa4 100644 --- a/airbyte-integrations/connectors/source-delighted/setup.py +++ b/airbyte-integrations/connectors/source-delighted/setup.py @@ -11,7 +11,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.13.3", ] diff --git a/airbyte-integrations/connectors/source-dixa/README.md b/airbyte-integrations/connectors/source-dixa/README.md index 244392f1ed60..dc11a762c554 100644 --- a/airbyte-integrations/connectors/source-dixa/README.md +++ b/airbyte-integrations/connectors/source-dixa/README.md @@ -102,7 +102,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-dixa/acceptance-test-config.yml b/airbyte-integrations/connectors/source-dixa/acceptance-test-config.yml index ae61b2275289..a3a615fb5a34 100644 --- a/airbyte-integrations/connectors/source-dixa/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-dixa/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-dixa:dev tests: diff --git a/airbyte-integrations/connectors/source-dixa/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-dixa/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-dixa/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-dixa/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-dixa/build.gradle b/airbyte-integrations/connectors/source-dixa/build.gradle index 43b7d4b7d0e8..b8b497e5e99c 100644 --- a/airbyte-integrations/connectors/source-dixa/build.gradle +++ b/airbyte-integrations/connectors/source-dixa/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-dixa/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-dixa/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-dixa/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-dixa/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-dixa/requirements.txt b/airbyte-integrations/connectors/source-dixa/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-dixa/requirements.txt +++ b/airbyte-integrations/connectors/source-dixa/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-dixa/setup.py b/airbyte-integrations/connectors/source-dixa/setup.py index e84209cdac98..bfeabba6d152 100644 --- a/airbyte-integrations/connectors/source-dixa/setup.py +++ b/airbyte-integrations/connectors/source-dixa/setup.py @@ -11,7 +11,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-dockerhub/README.md b/airbyte-integrations/connectors/source-dockerhub/README.md index 043b7f07bd9f..a6cf6c8b73c7 100644 --- a/airbyte-integrations/connectors/source-dockerhub/README.md +++ b/airbyte-integrations/connectors/source-dockerhub/README.md @@ -111,7 +111,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-dockerhub/acceptance-test-config.yml b/airbyte-integrations/connectors/source-dockerhub/acceptance-test-config.yml index ad86d5fe26ee..e17d56ce9e3a 100644 --- a/airbyte-integrations/connectors/source-dockerhub/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-dockerhub/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-dockerhub:dev tests: diff --git a/airbyte-integrations/connectors/source-dockerhub/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-dockerhub/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-dockerhub/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-dockerhub/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-dockerhub/build.gradle b/airbyte-integrations/connectors/source-dockerhub/build.gradle index 4cc7b7adfa87..80198b4ea6a1 100644 --- a/airbyte-integrations/connectors/source-dockerhub/build.gradle +++ b/airbyte-integrations/connectors/source-dockerhub/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-dockerhub/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-dockerhub/integration_tests/acceptance.py index 1a6f55e7224b..e59b1f775747 100644 --- a/airbyte-integrations/connectors/source-dockerhub/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-dockerhub/integration_tests/acceptance.py @@ -9,7 +9,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-dockerhub/requirements.txt b/airbyte-integrations/connectors/source-dockerhub/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-dockerhub/requirements.txt +++ b/airbyte-integrations/connectors/source-dockerhub/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-dockerhub/setup.py b/airbyte-integrations/connectors/source-dockerhub/setup.py index f382fbc56177..e92617ce0473 100644 --- a/airbyte-integrations/connectors/source-dockerhub/setup.py +++ b/airbyte-integrations/connectors/source-dockerhub/setup.py @@ -10,7 +10,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-dremio/README.md b/airbyte-integrations/connectors/source-dremio/README.md index af4ccb246306..f6940f75d578 100644 --- a/airbyte-integrations/connectors/source-dremio/README.md +++ b/airbyte-integrations/connectors/source-dremio/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-dremio/acceptance-test-config.yml b/airbyte-integrations/connectors/source-dremio/acceptance-test-config.yml index 2f01640cf0e3..809caa6c4bae 100644 --- a/airbyte-integrations/connectors/source-dremio/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-dremio/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-dremio:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-dremio/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-dremio/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-dremio/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-dremio/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-dremio/build.gradle b/airbyte-integrations/connectors/source-dremio/build.gradle index 746a5a0ba465..dc98548e5e0d 100644 --- a/airbyte-integrations/connectors/source-dremio/build.gradle +++ b/airbyte-integrations/connectors/source-dremio/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-dremio/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-dremio/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-dremio/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-dremio/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-dremio/requirements.txt b/airbyte-integrations/connectors/source-dremio/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-dremio/requirements.txt +++ b/airbyte-integrations/connectors/source-dremio/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-dremio/setup.py b/airbyte-integrations/connectors/source-dremio/setup.py index b17ca308f082..a8f20e060ddc 100644 --- a/airbyte-integrations/connectors/source-dremio/setup.py +++ b/airbyte-integrations/connectors/source-dremio/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-drift/README.md b/airbyte-integrations/connectors/source-drift/README.md index 570a3a3849e5..7155c2470cea 100644 --- a/airbyte-integrations/connectors/source-drift/README.md +++ b/airbyte-integrations/connectors/source-drift/README.md @@ -89,12 +89,12 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/sample_files:/sample_files Make sure to familiarize yourself with [pytest test discovery](https://docs.pytest.org/en/latest/goodpractices.html#test-discovery) to know how your test files and methods should be named. #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-drift:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-drift/acceptance-test-config.yml b/airbyte-integrations/connectors/source-drift/acceptance-test-config.yml index a4956b8af17c..192379caf094 100644 --- a/airbyte-integrations/connectors/source-drift/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-drift/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-drift:dev tests: diff --git a/airbyte-integrations/connectors/source-drift/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-drift/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-drift/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-drift/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-drift/build.gradle b/airbyte-integrations/connectors/source-drift/build.gradle index f88c8f7fa9b0..30a46b816f1d 100644 --- a/airbyte-integrations/connectors/source-drift/build.gradle +++ b/airbyte-integrations/connectors/source-drift/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-drift/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-drift/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-drift/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-drift/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-drift/requirements.txt b/airbyte-integrations/connectors/source-drift/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-drift/requirements.txt +++ b/airbyte-integrations/connectors/source-drift/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-drift/setup.py b/airbyte-integrations/connectors/source-drift/setup.py index 6510762bcc02..da8aa43e7896 100644 --- a/airbyte-integrations/connectors/source-drift/setup.py +++ b/airbyte-integrations/connectors/source-drift/setup.py @@ -10,7 +10,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-dv-360/README.md b/airbyte-integrations/connectors/source-dv-360/README.md index 5c2554eb9b04..edf18e77fd34 100644 --- a/airbyte-integrations/connectors/source-dv-360/README.md +++ b/airbyte-integrations/connectors/source-dv-360/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-dv-360/acceptance-test-config.yml b/airbyte-integrations/connectors/source-dv-360/acceptance-test-config.yml index 16800658bcfe..ab23426c22ea 100644 --- a/airbyte-integrations/connectors/source-dv-360/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-dv-360/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-dv-360:dev tests: diff --git a/airbyte-integrations/connectors/source-dv-360/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-dv-360/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-dv-360/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-dv-360/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-dv-360/build.gradle b/airbyte-integrations/connectors/source-dv-360/build.gradle index 600c3e9884bc..df00e8c6842c 100644 --- a/airbyte-integrations/connectors/source-dv-360/build.gradle +++ b/airbyte-integrations/connectors/source-dv-360/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-dv-360/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-dv-360/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-dv-360/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-dv-360/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-dv-360/requirements.txt b/airbyte-integrations/connectors/source-dv-360/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-dv-360/requirements.txt +++ b/airbyte-integrations/connectors/source-dv-360/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-dv-360/setup.py b/airbyte-integrations/connectors/source-dv-360/setup.py index bc2f7e3986eb..1764e0e300ba 100644 --- a/airbyte-integrations/connectors/source-dv-360/setup.py +++ b/airbyte-integrations/connectors/source-dv-360/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk~=0.1", "google-api-python-client"] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "pytest-mock"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "pytest-mock"] setup( name="source_dv_360", diff --git a/airbyte-integrations/connectors/source-dynamodb/acceptance-test-config.yml b/airbyte-integrations/connectors/source-dynamodb/acceptance-test-config.yml index d906ec9269e9..db5ee6a4a9cd 100644 --- a/airbyte-integrations/connectors/source-dynamodb/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-dynamodb/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-dynamodb:dev acceptance-tests: diff --git a/airbyte-integrations/connectors/source-elasticsearch/acceptance-test-config.yml b/airbyte-integrations/connectors/source-elasticsearch/acceptance-test-config.yml index 73ee3ce32d37..10f25c3aee65 100644 --- a/airbyte-integrations/connectors/source-elasticsearch/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-elasticsearch/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-elasticsearch:dev tests: diff --git a/airbyte-integrations/connectors/source-elasticsearch/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-elasticsearch/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-elasticsearch/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-elasticsearch/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-elasticsearch/build.gradle b/airbyte-integrations/connectors/source-elasticsearch/build.gradle index fff8a6d3fe05..b1c29c72294d 100644 --- a/airbyte-integrations/connectors/source-elasticsearch/build.gradle +++ b/airbyte-integrations/connectors/source-elasticsearch/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-elasticsearch/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-elasticsearch/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-elasticsearch/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-elasticsearch/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-emailoctopus/README.md b/airbyte-integrations/connectors/source-emailoctopus/README.md index 0c850c27fa3c..67ae2b7a7180 100644 --- a/airbyte-integrations/connectors/source-emailoctopus/README.md +++ b/airbyte-integrations/connectors/source-emailoctopus/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-emailoctopus/acceptance-test-config.yml b/airbyte-integrations/connectors/source-emailoctopus/acceptance-test-config.yml index fa2b66fee5df..fe9c29c8fd88 100644 --- a/airbyte-integrations/connectors/source-emailoctopus/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-emailoctopus/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-emailoctopus:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-emailoctopus/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-emailoctopus/acceptance-test-docker.sh index fa680528f222..12d5fc492996 100755 --- a/airbyte-integrations/connectors/source-emailoctopus/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-emailoctopus/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-emailoctopus/build.gradle b/airbyte-integrations/connectors/source-emailoctopus/build.gradle index e9b31b83826a..81ac7a95f987 100644 --- a/airbyte-integrations/connectors/source-emailoctopus/build.gradle +++ b/airbyte-integrations/connectors/source-emailoctopus/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-emailoctopus/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-emailoctopus/integration_tests/acceptance.py index e2a8f1a4cb74..c1f899e184f9 100644 --- a/airbyte-integrations/connectors/source-emailoctopus/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-emailoctopus/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-emailoctopus/requirements.txt b/airbyte-integrations/connectors/source-emailoctopus/requirements.txt index 78140e52009f..91de78ac4144 100644 --- a/airbyte-integrations/connectors/source-emailoctopus/requirements.txt +++ b/airbyte-integrations/connectors/source-emailoctopus/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-emailoctopus/setup.py b/airbyte-integrations/connectors/source-emailoctopus/setup.py index 8d763ab4793d..5c2d9026d964 100644 --- a/airbyte-integrations/connectors/source-emailoctopus/setup.py +++ b/airbyte-integrations/connectors/source-emailoctopus/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-exchange-rates/acceptance-test-config.yml b/airbyte-integrations/connectors/source-exchange-rates/acceptance-test-config.yml index 9f6c1b7ced5e..011c2171cac4 100644 --- a/airbyte-integrations/connectors/source-exchange-rates/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-exchange-rates/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-exchange-rates:dev tests: diff --git a/airbyte-integrations/connectors/source-exchange-rates/build.gradle b/airbyte-integrations/connectors/source-exchange-rates/build.gradle index 7534546bebb7..25b4d6b6a1b6 100644 --- a/airbyte-integrations/connectors/source-exchange-rates/build.gradle +++ b/airbyte-integrations/connectors/source-exchange-rates/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-exchange-rates/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-exchange-rates/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-exchange-rates/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-exchange-rates/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-exchange-rates/requirements.txt b/airbyte-integrations/connectors/source-exchange-rates/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-exchange-rates/requirements.txt +++ b/airbyte-integrations/connectors/source-exchange-rates/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-facebook-marketing/README.md b/airbyte-integrations/connectors/source-facebook-marketing/README.md index 6a412dd45d53..a4cb3969608e 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/README.md +++ b/airbyte-integrations/connectors/source-facebook-marketing/README.md @@ -95,12 +95,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-facebook-marketing:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-facebook-marketing/acceptance-test-config.yml b/airbyte-integrations/connectors/source-facebook-marketing/acceptance-test-config.yml index 3799cbc2e64c..402f009c0300 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-facebook-marketing/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-facebook-marketing:dev test_strictness_level: "high" diff --git a/airbyte-integrations/connectors/source-facebook-marketing/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-facebook-marketing/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100755 --- a/airbyte-integrations/connectors/source-facebook-marketing/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-facebook-marketing/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-facebook-marketing/build.gradle b/airbyte-integrations/connectors/source-facebook-marketing/build.gradle index 359a9b200ff3..8820d9a465ad 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/build.gradle +++ b/airbyte-integrations/connectors/source-facebook-marketing/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-facebook-marketing/requirements.txt b/airbyte-integrations/connectors/source-facebook-marketing/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/requirements.txt +++ b/airbyte-integrations/connectors/source-facebook-marketing/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-facebook-pages/README.md b/airbyte-integrations/connectors/source-facebook-pages/README.md index 58abf6afc436..728fcd0e5d33 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/README.md +++ b/airbyte-integrations/connectors/source-facebook-pages/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-facebook-pages/acceptance-test-config.yml b/airbyte-integrations/connectors/source-facebook-pages/acceptance-test-config.yml index fcc797222b8e..8fa479afa29f 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-facebook-pages/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-facebook-pages:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-facebook-pages/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-facebook-pages/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-facebook-pages/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-facebook-pages/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-facebook-pages/build.gradle b/airbyte-integrations/connectors/source-facebook-pages/build.gradle index de4bded7265c..6ecc25e59b25 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/build.gradle +++ b/airbyte-integrations/connectors/source-facebook-pages/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-facebook-pages/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-facebook-pages/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-facebook-pages/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-facebook-pages/requirements.txt b/airbyte-integrations/connectors/source-facebook-pages/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/requirements.txt +++ b/airbyte-integrations/connectors/source-facebook-pages/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-facebook-pages/setup.py b/airbyte-integrations/connectors/source-facebook-pages/setup.py index 724caa517d70..0fda815841d4 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/setup.py +++ b/airbyte-integrations/connectors/source-facebook-pages/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-faker/README.md b/airbyte-integrations/connectors/source-faker/README.md index 4773805d8b82..a99cf816ab13 100644 --- a/airbyte-integrations/connectors/source-faker/README.md +++ b/airbyte-integrations/connectors/source-faker/README.md @@ -122,7 +122,7 @@ python -m pytest integration_tests #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run diff --git a/airbyte-integrations/connectors/source-faker/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-faker/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-faker/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-faker/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-faker/build.gradle b/airbyte-integrations/connectors/source-faker/build.gradle index af227c969082..7a2559a214e3 100644 --- a/airbyte-integrations/connectors/source-faker/build.gradle +++ b/airbyte-integrations/connectors/source-faker/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-faker/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-faker/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-faker/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-faker/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-faker/requirements.txt b/airbyte-integrations/connectors/source-faker/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-faker/requirements.txt +++ b/airbyte-integrations/connectors/source-faker/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-faker/setup.py b/airbyte-integrations/connectors/source-faker/setup.py index b5aca6a3705d..71267eec27ad 100644 --- a/airbyte-integrations/connectors/source-faker/setup.py +++ b/airbyte-integrations/connectors/source-faker/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.2", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-fastbill/README.md b/airbyte-integrations/connectors/source-fastbill/README.md index 6f41c83e8f71..8cdfc72fd52d 100644 --- a/airbyte-integrations/connectors/source-fastbill/README.md +++ b/airbyte-integrations/connectors/source-fastbill/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-fastbill/acceptance-test-config.yml b/airbyte-integrations/connectors/source-fastbill/acceptance-test-config.yml index f49f10d2c8c5..84429591ceaa 100644 --- a/airbyte-integrations/connectors/source-fastbill/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-fastbill/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-fastbill:dev tests: diff --git a/airbyte-integrations/connectors/source-fastbill/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-fastbill/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-fastbill/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-fastbill/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-fastbill/build.gradle b/airbyte-integrations/connectors/source-fastbill/build.gradle index a23711c3afee..b0b71f4f7511 100644 --- a/airbyte-integrations/connectors/source-fastbill/build.gradle +++ b/airbyte-integrations/connectors/source-fastbill/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-fastbill/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-fastbill/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-fastbill/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-fastbill/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-fastbill/requirements.txt b/airbyte-integrations/connectors/source-fastbill/requirements.txt index 78140e52009f..91de78ac4144 100644 --- a/airbyte-integrations/connectors/source-fastbill/requirements.txt +++ b/airbyte-integrations/connectors/source-fastbill/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-fastbill/setup.py b/airbyte-integrations/connectors/source-fastbill/setup.py index 15c8044979ea..664c74491feb 100644 --- a/airbyte-integrations/connectors/source-fastbill/setup.py +++ b/airbyte-integrations/connectors/source-fastbill/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk~=0.4", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "source-acceptance-test", "responses~=0.21.0"] +TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "connector-acceptance-test", "responses~=0.21.0"] setup( name="source_fastbill", diff --git a/airbyte-integrations/connectors/source-fauna/README.md b/airbyte-integrations/connectors/source-fauna/README.md index c0fbf8ad0ba2..56353b6fc5d0 100644 --- a/airbyte-integrations/connectors/source-fauna/README.md +++ b/airbyte-integrations/connectors/source-fauna/README.md @@ -154,7 +154,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-fauna/acceptance-test-config.yml b/airbyte-integrations/connectors/source-fauna/acceptance-test-config.yml index 97d36b5de8f1..3dfadb9d8aea 100644 --- a/airbyte-integrations/connectors/source-fauna/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-fauna/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-fauna:dev tests: diff --git a/airbyte-integrations/connectors/source-fauna/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-fauna/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-fauna/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-fauna/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-fauna/build.gradle b/airbyte-integrations/connectors/source-fauna/build.gradle index b31dfb90368d..ae661a5c3654 100644 --- a/airbyte-integrations/connectors/source-fauna/build.gradle +++ b/airbyte-integrations/connectors/source-fauna/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-fauna/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-fauna/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-fauna/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-fauna/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-fauna/requirements.txt b/airbyte-integrations/connectors/source-fauna/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-fauna/requirements.txt +++ b/airbyte-integrations/connectors/source-fauna/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-fauna/setup.py b/airbyte-integrations/connectors/source-fauna/setup.py index 52c78dcf55ea..92b6739225ab 100644 --- a/airbyte-integrations/connectors/source-fauna/setup.py +++ b/airbyte-integrations/connectors/source-fauna/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-file-secure/README.md b/airbyte-integrations/connectors/source-file-secure/README.md index d1ab61dccb47..a46a3d4bb0a7 100644 --- a/airbyte-integrations/connectors/source-file-secure/README.md +++ b/airbyte-integrations/connectors/source-file-secure/README.md @@ -60,7 +60,7 @@ python -m pytest unit_tests First, make sure you build the latest Docker image: ``` docker build . -t airbyte/source-file-secure:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` You can also build the connector image via Gradle: diff --git a/airbyte-integrations/connectors/source-file-secure/acceptance-test-config.yml b/airbyte-integrations/connectors/source-file-secure/acceptance-test-config.yml index 97ed8432dc5f..280e3619823b 100644 --- a/airbyte-integrations/connectors/source-file-secure/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-file-secure/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests # Here we tries to test a basic tests only. diff --git a/airbyte-integrations/connectors/source-file-secure/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-file-secure/acceptance-test-docker.sh index 5c40c48bd154..c0662dba65d5 100644 --- a/airbyte-integrations/connectors/source-file-secure/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-file-secure/acceptance-test-docker.sh @@ -6,11 +6,11 @@ echo "try to build the source image: ${source_image}" docker build -t ${source_image} . # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-file-secure/build.gradle b/airbyte-integrations/connectors/source-file-secure/build.gradle index 7417c474d873..5b42a5a6b866 100644 --- a/airbyte-integrations/connectors/source-file-secure/build.gradle +++ b/airbyte-integrations/connectors/source-file-secure/build.gradle @@ -2,7 +2,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-file-secure/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-file-secure/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-file-secure/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-file-secure/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-file-secure/requirements.txt b/airbyte-integrations/connectors/source-file-secure/requirements.txt index 982c4b5a4923..add0ec3bd480 100644 --- a/airbyte-integrations/connectors/source-file-secure/requirements.txt +++ b/airbyte-integrations/connectors/source-file-secure/requirements.txt @@ -1,3 +1,3 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e ../source-file -e . diff --git a/airbyte-integrations/connectors/source-file/README.md b/airbyte-integrations/connectors/source-file/README.md index f256f2954657..d29855b492bb 100644 --- a/airbyte-integrations/connectors/source-file/README.md +++ b/airbyte-integrations/connectors/source-file/README.md @@ -133,12 +133,12 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/sample_files:/sample_files Make sure to familiarize yourself with [pytest test discovery](https://docs.pytest.org/en/latest/goodpractices.html#test-discovery) to know how your test files and methods should be named. #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-file:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-file/acceptance-test-config.yml b/airbyte-integrations/connectors/source-file/acceptance-test-config.yml index 7517f00b7695..b747ed70a605 100644 --- a/airbyte-integrations/connectors/source-file/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-file/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-file:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-file/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-file/acceptance-test-docker.sh index c522eebbd94e..cf9bc08d3a29 100644 --- a/airbyte-integrations/connectors/source-file/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-file/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-file/build.gradle b/airbyte-integrations/connectors/source-file/build.gradle index a3917d1f07cd..a023a720abe7 100644 --- a/airbyte-integrations/connectors/source-file/build.gradle +++ b/airbyte-integrations/connectors/source-file/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-file/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-file/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-file/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-file/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-file/requirements.txt b/airbyte-integrations/connectors/source-file/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-file/requirements.txt +++ b/airbyte-integrations/connectors/source-file/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-firebolt/README.md b/airbyte-integrations/connectors/source-firebolt/README.md index 14282a3bf812..3b60e7094091 100644 --- a/airbyte-integrations/connectors/source-firebolt/README.md +++ b/airbyte-integrations/connectors/source-firebolt/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-firebolt/acceptance-test-config.yml b/airbyte-integrations/connectors/source-firebolt/acceptance-test-config.yml index 9e8770dcbee7..63d17cc334d0 100644 --- a/airbyte-integrations/connectors/source-firebolt/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-firebolt/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-firebolt:dev tests: diff --git a/airbyte-integrations/connectors/source-firebolt/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-firebolt/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-firebolt/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-firebolt/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-firebolt/build.gradle b/airbyte-integrations/connectors/source-firebolt/build.gradle index f92bd34f7fb3..2bf29b2581c4 100644 --- a/airbyte-integrations/connectors/source-firebolt/build.gradle +++ b/airbyte-integrations/connectors/source-firebolt/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-firebolt/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-firebolt/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-firebolt/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-firebolt/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-firebolt/requirements.txt b/airbyte-integrations/connectors/source-firebolt/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-firebolt/requirements.txt +++ b/airbyte-integrations/connectors/source-firebolt/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-firebolt/setup.py b/airbyte-integrations/connectors/source-firebolt/setup.py index 0356dfee2dc1..dc1eb7ba617d 100644 --- a/airbyte-integrations/connectors/source-firebolt/setup.py +++ b/airbyte-integrations/connectors/source-firebolt/setup.py @@ -10,7 +10,7 @@ TEST_REQUIREMENTS = [ "pytest>=6.2.5", # 6.2.5 has python10 compatibility fixes "pytest-asyncio>=0.18.0", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-flexport/README.md b/airbyte-integrations/connectors/source-flexport/README.md index 4ffa1faead1d..0396edd7a0b6 100644 --- a/airbyte-integrations/connectors/source-flexport/README.md +++ b/airbyte-integrations/connectors/source-flexport/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-flexport/acceptance-test-config.yml b/airbyte-integrations/connectors/source-flexport/acceptance-test-config.yml index 2bdfec546bff..d2356e9c17b0 100644 --- a/airbyte-integrations/connectors/source-flexport/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-flexport/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-flexport:dev tests: diff --git a/airbyte-integrations/connectors/source-flexport/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-flexport/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-flexport/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-flexport/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-flexport/build.gradle b/airbyte-integrations/connectors/source-flexport/build.gradle index c3d63f1d0f90..8945e87680dc 100644 --- a/airbyte-integrations/connectors/source-flexport/build.gradle +++ b/airbyte-integrations/connectors/source-flexport/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-flexport/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-flexport/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-flexport/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-flexport/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-flexport/requirements.txt b/airbyte-integrations/connectors/source-flexport/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-flexport/requirements.txt +++ b/airbyte-integrations/connectors/source-flexport/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-flexport/setup.py b/airbyte-integrations/connectors/source-flexport/setup.py index f985e3b238ad..88f0c5e33ebd 100644 --- a/airbyte-integrations/connectors/source-flexport/setup.py +++ b/airbyte-integrations/connectors/source-flexport/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "requests-mock~=1.9.3", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-freshcaller/README.md b/airbyte-integrations/connectors/source-freshcaller/README.md index 0ea467b8aa97..1cd93030fc58 100644 --- a/airbyte-integrations/connectors/source-freshcaller/README.md +++ b/airbyte-integrations/connectors/source-freshcaller/README.md @@ -98,12 +98,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-freshcaller:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-freshcaller/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-freshcaller/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-freshcaller/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-freshcaller/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-freshcaller/build.gradle b/airbyte-integrations/connectors/source-freshcaller/build.gradle index e09a198b7e9d..58d72aa403fb 100644 --- a/airbyte-integrations/connectors/source-freshcaller/build.gradle +++ b/airbyte-integrations/connectors/source-freshcaller/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-freshcaller/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-freshcaller/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-freshcaller/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-freshcaller/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-freshcaller/requirements.txt b/airbyte-integrations/connectors/source-freshcaller/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-freshcaller/requirements.txt +++ b/airbyte-integrations/connectors/source-freshcaller/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-freshcaller/setup.py b/airbyte-integrations/connectors/source-freshcaller/setup.py index 862872947a06..105e8a483b82 100644 --- a/airbyte-integrations/connectors/source-freshcaller/setup.py +++ b/airbyte-integrations/connectors/source-freshcaller/setup.py @@ -14,7 +14,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "requests-mock~=1.9.3", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-freshdesk/README.md b/airbyte-integrations/connectors/source-freshdesk/README.md index f234581f12a7..b7adde01d06d 100644 --- a/airbyte-integrations/connectors/source-freshdesk/README.md +++ b/airbyte-integrations/connectors/source-freshdesk/README.md @@ -89,7 +89,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/sample_files:/sample_files Make sure to familiarize yourself with [pytest test discovery](https://docs.pytest.org/en/latest/goodpractices.html#test-discovery) to know how your test files and methods should be named. #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](../../../docs/connector-development/testing-connectors/source-acceptance-tests-reference.md) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](../../../docs/connector-development/testing-connectors/connector-acceptance-tests-reference.md) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-freshdesk/acceptance-test-config.yml b/airbyte-integrations/connectors/source-freshdesk/acceptance-test-config.yml index 9dcb445af762..085a70a38499 100644 --- a/airbyte-integrations/connectors/source-freshdesk/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-freshdesk/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-freshdesk:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-freshdesk/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-freshdesk/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-freshdesk/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-freshdesk/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-freshdesk/build.gradle b/airbyte-integrations/connectors/source-freshdesk/build.gradle index 7d0755c0b6c3..82e2a7cccc57 100644 --- a/airbyte-integrations/connectors/source-freshdesk/build.gradle +++ b/airbyte-integrations/connectors/source-freshdesk/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-freshdesk/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-freshdesk/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-freshdesk/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-freshdesk/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-freshdesk/requirements.txt b/airbyte-integrations/connectors/source-freshdesk/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-freshdesk/requirements.txt +++ b/airbyte-integrations/connectors/source-freshdesk/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-freshdesk/setup.py b/airbyte-integrations/connectors/source-freshdesk/setup.py index c150879f2c61..a5d95d5c4e04 100644 --- a/airbyte-integrations/connectors/source-freshdesk/setup.py +++ b/airbyte-integrations/connectors/source-freshdesk/setup.py @@ -16,7 +16,7 @@ "pytest~=6.2", "pytest-mock~=3.6", "requests_mock~=1.9.3", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-freshsales/README.md b/airbyte-integrations/connectors/source-freshsales/README.md index 01cfa7382c1c..5b6887ee204d 100644 --- a/airbyte-integrations/connectors/source-freshsales/README.md +++ b/airbyte-integrations/connectors/source-freshsales/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-freshsales/acceptance-test-config.yml b/airbyte-integrations/connectors/source-freshsales/acceptance-test-config.yml index 34c6bbb77470..1d48f75cfa45 100644 --- a/airbyte-integrations/connectors/source-freshsales/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-freshsales/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-freshsales:dev tests: diff --git a/airbyte-integrations/connectors/source-freshsales/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-freshsales/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-freshsales/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-freshsales/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-freshsales/build.gradle b/airbyte-integrations/connectors/source-freshsales/build.gradle index c3559ddd3765..73cfb3a8122d 100644 --- a/airbyte-integrations/connectors/source-freshsales/build.gradle +++ b/airbyte-integrations/connectors/source-freshsales/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,6 +9,6 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-freshsales/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-freshsales/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-freshsales/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-freshsales/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-freshsales/requirements.txt b/airbyte-integrations/connectors/source-freshsales/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-freshsales/requirements.txt +++ b/airbyte-integrations/connectors/source-freshsales/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-freshsales/setup.py b/airbyte-integrations/connectors/source-freshsales/setup.py index 3e74cf762515..8672504ed2f2 100644 --- a/airbyte-integrations/connectors/source-freshsales/setup.py +++ b/airbyte-integrations/connectors/source-freshsales/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-freshservice/README.md b/airbyte-integrations/connectors/source-freshservice/README.md index fcdb53224875..8f50e4975edc 100644 --- a/airbyte-integrations/connectors/source-freshservice/README.md +++ b/airbyte-integrations/connectors/source-freshservice/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-freshservice/acceptance-test-config.yml b/airbyte-integrations/connectors/source-freshservice/acceptance-test-config.yml index 3f3c20a088bb..7ab8c6fd82c9 100644 --- a/airbyte-integrations/connectors/source-freshservice/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-freshservice/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-freshservice:dev tests: diff --git a/airbyte-integrations/connectors/source-freshservice/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-freshservice/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-freshservice/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-freshservice/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-freshservice/build.gradle b/airbyte-integrations/connectors/source-freshservice/build.gradle index e1b3a26489a4..41e9241eca76 100644 --- a/airbyte-integrations/connectors/source-freshservice/build.gradle +++ b/airbyte-integrations/connectors/source-freshservice/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-freshservice/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-freshservice/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-freshservice/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-freshservice/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-freshservice/requirements.txt b/airbyte-integrations/connectors/source-freshservice/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-freshservice/requirements.txt +++ b/airbyte-integrations/connectors/source-freshservice/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-freshservice/setup.py b/airbyte-integrations/connectors/source-freshservice/setup.py index edbef19478fa..b03352748831 100644 --- a/airbyte-integrations/connectors/source-freshservice/setup.py +++ b/airbyte-integrations/connectors/source-freshservice/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "responses~=0.13.3", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-genesys/README.md b/airbyte-integrations/connectors/source-genesys/README.md index eb5b860d7887..58bcbe410178 100644 --- a/airbyte-integrations/connectors/source-genesys/README.md +++ b/airbyte-integrations/connectors/source-genesys/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-genesys/acceptance-test-config.yml b/airbyte-integrations/connectors/source-genesys/acceptance-test-config.yml index f01a257bf2f6..c5484597064a 100644 --- a/airbyte-integrations/connectors/source-genesys/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-genesys/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-genesys:dev tests: diff --git a/airbyte-integrations/connectors/source-genesys/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-genesys/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-genesys/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-genesys/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-genesys/build.gradle b/airbyte-integrations/connectors/source-genesys/build.gradle index 8482754e0f62..7c7591465241 100644 --- a/airbyte-integrations/connectors/source-genesys/build.gradle +++ b/airbyte-integrations/connectors/source-genesys/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-genesys/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-genesys/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-genesys/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-genesys/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-genesys/requirements.txt b/airbyte-integrations/connectors/source-genesys/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-genesys/requirements.txt +++ b/airbyte-integrations/connectors/source-genesys/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-genesys/setup.py b/airbyte-integrations/connectors/source-genesys/setup.py index cd94065bf9d6..a991b7a2d7b9 100644 --- a/airbyte-integrations/connectors/source-genesys/setup.py +++ b/airbyte-integrations/connectors/source-genesys/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-getlago/README.md b/airbyte-integrations/connectors/source-getlago/README.md index 43fe3c9ad32c..fd1225f162b0 100644 --- a/airbyte-integrations/connectors/source-getlago/README.md +++ b/airbyte-integrations/connectors/source-getlago/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-getlago/acceptance-test-config.yml b/airbyte-integrations/connectors/source-getlago/acceptance-test-config.yml index 4702ef0deb6f..0c2a1c28a382 100644 --- a/airbyte-integrations/connectors/source-getlago/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-getlago/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-getlago:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-getlago/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-getlago/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-getlago/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-getlago/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-getlago/build.gradle b/airbyte-integrations/connectors/source-getlago/build.gradle index f47ea3c56cd4..b3240ef1b99c 100644 --- a/airbyte-integrations/connectors/source-getlago/build.gradle +++ b/airbyte-integrations/connectors/source-getlago/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-getlago/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-getlago/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-getlago/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-getlago/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-getlago/requirements.txt b/airbyte-integrations/connectors/source-getlago/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-getlago/requirements.txt +++ b/airbyte-integrations/connectors/source-getlago/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-getlago/setup.py b/airbyte-integrations/connectors/source-getlago/setup.py index c1252a7b3911..cbaea907071f 100644 --- a/airbyte-integrations/connectors/source-getlago/setup.py +++ b/airbyte-integrations/connectors/source-getlago/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-github/README.md b/airbyte-integrations/connectors/source-github/README.md index 7d82446bb141..a68ca523d961 100644 --- a/airbyte-integrations/connectors/source-github/README.md +++ b/airbyte-integrations/connectors/source-github/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-github/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-github/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-github/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-github/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-github/build.gradle b/airbyte-integrations/connectors/source-github/build.gradle index 7a8dac431e8e..7cd561f6d61c 100644 --- a/airbyte-integrations/connectors/source-github/build.gradle +++ b/airbyte-integrations/connectors/source-github/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-github/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-github/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-github/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-github/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-github/requirements.txt b/airbyte-integrations/connectors/source-github/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-github/requirements.txt +++ b/airbyte-integrations/connectors/source-github/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-github/setup.py b/airbyte-integrations/connectors/source-github/setup.py index 476271bbbf77..007a7025fc44 100644 --- a/airbyte-integrations/connectors/source-github/setup.py +++ b/airbyte-integrations/connectors/source-github/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk~=0.2", "pendulum~=2.1.2", "sgqlc"] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "responses~=0.19.0"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "responses~=0.19.0"] setup( name="source_github", diff --git a/airbyte-integrations/connectors/source-gitlab/README.md b/airbyte-integrations/connectors/source-gitlab/README.md index 634097937f6e..d117ecc233d5 100644 --- a/airbyte-integrations/connectors/source-gitlab/README.md +++ b/airbyte-integrations/connectors/source-gitlab/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-gitlab/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-gitlab/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-gitlab/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-gitlab/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-gitlab/build.gradle b/airbyte-integrations/connectors/source-gitlab/build.gradle index 22a8a89cc130..5c2166049efc 100644 --- a/airbyte-integrations/connectors/source-gitlab/build.gradle +++ b/airbyte-integrations/connectors/source-gitlab/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-gitlab/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-gitlab/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-gitlab/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-gitlab/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-gitlab/requirements.txt b/airbyte-integrations/connectors/source-gitlab/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-gitlab/requirements.txt +++ b/airbyte-integrations/connectors/source-gitlab/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-gitlab/setup.py b/airbyte-integrations/connectors/source-gitlab/setup.py index 5b1e107930b1..2a2d5454fc46 100644 --- a/airbyte-integrations/connectors/source-gitlab/setup.py +++ b/airbyte-integrations/connectors/source-gitlab/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk", "vcrpy==4.1.1"] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "requests_mock"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "requests_mock"] setup( name="source_gitlab", diff --git a/airbyte-integrations/connectors/source-glassfrog/README.md b/airbyte-integrations/connectors/source-glassfrog/README.md index b9bdfa189c10..7e5cde1f5cc1 100644 --- a/airbyte-integrations/connectors/source-glassfrog/README.md +++ b/airbyte-integrations/connectors/source-glassfrog/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-glassfrog/acceptance-test-config.yml b/airbyte-integrations/connectors/source-glassfrog/acceptance-test-config.yml index b4bc499bf5a7..91b1c13d09f2 100644 --- a/airbyte-integrations/connectors/source-glassfrog/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-glassfrog/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-glassfrog:dev tests: diff --git a/airbyte-integrations/connectors/source-glassfrog/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-glassfrog/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-glassfrog/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-glassfrog/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-glassfrog/build.gradle b/airbyte-integrations/connectors/source-glassfrog/build.gradle index f6fdd76c641d..b09bea255f2d 100644 --- a/airbyte-integrations/connectors/source-glassfrog/build.gradle +++ b/airbyte-integrations/connectors/source-glassfrog/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-glassfrog/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-glassfrog/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-glassfrog/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-glassfrog/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-glassfrog/requirements.txt b/airbyte-integrations/connectors/source-glassfrog/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-glassfrog/requirements.txt +++ b/airbyte-integrations/connectors/source-glassfrog/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-glassfrog/setup.py b/airbyte-integrations/connectors/source-glassfrog/setup.py index 314c1a0d751c..bdc8dbb0366b 100644 --- a/airbyte-integrations/connectors/source-glassfrog/setup.py +++ b/airbyte-integrations/connectors/source-glassfrog/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-gnews/README.md b/airbyte-integrations/connectors/source-gnews/README.md index 5eadf155eda1..ad314c997843 100644 --- a/airbyte-integrations/connectors/source-gnews/README.md +++ b/airbyte-integrations/connectors/source-gnews/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-gnews/acceptance-test-config.yml b/airbyte-integrations/connectors/source-gnews/acceptance-test-config.yml index 7fbd4f7d5a1e..b24317a8ba45 100644 --- a/airbyte-integrations/connectors/source-gnews/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-gnews/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-gnews:dev tests: diff --git a/airbyte-integrations/connectors/source-gnews/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-gnews/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-gnews/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-gnews/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-gnews/build.gradle b/airbyte-integrations/connectors/source-gnews/build.gradle index e431eb5fbcff..b486b124362b 100644 --- a/airbyte-integrations/connectors/source-gnews/build.gradle +++ b/airbyte-integrations/connectors/source-gnews/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-gnews/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-gnews/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-gnews/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-gnews/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-gnews/requirements.txt b/airbyte-integrations/connectors/source-gnews/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-gnews/requirements.txt +++ b/airbyte-integrations/connectors/source-gnews/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-gnews/setup.py b/airbyte-integrations/connectors/source-gnews/setup.py index 96dd86e05988..ce29e411d0c9 100644 --- a/airbyte-integrations/connectors/source-gnews/setup.py +++ b/airbyte-integrations/connectors/source-gnews/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-gocardless/README.md b/airbyte-integrations/connectors/source-gocardless/README.md index 2a1a7615978e..10498e005c8e 100644 --- a/airbyte-integrations/connectors/source-gocardless/README.md +++ b/airbyte-integrations/connectors/source-gocardless/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-gocardless/acceptance-test-config.yml b/airbyte-integrations/connectors/source-gocardless/acceptance-test-config.yml index 69f9b9ffc612..7b524d512f4b 100644 --- a/airbyte-integrations/connectors/source-gocardless/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-gocardless/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-gocardless:dev tests: diff --git a/airbyte-integrations/connectors/source-gocardless/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-gocardless/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-gocardless/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-gocardless/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-gocardless/build.gradle b/airbyte-integrations/connectors/source-gocardless/build.gradle index ee320315ba9f..48bc120dc432 100644 --- a/airbyte-integrations/connectors/source-gocardless/build.gradle +++ b/airbyte-integrations/connectors/source-gocardless/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-gocardless/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-gocardless/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-gocardless/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-gocardless/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-gocardless/requirements.txt b/airbyte-integrations/connectors/source-gocardless/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-gocardless/requirements.txt +++ b/airbyte-integrations/connectors/source-gocardless/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-gocardless/setup.py b/airbyte-integrations/connectors/source-gocardless/setup.py index 36b135317450..a822128b4f03 100644 --- a/airbyte-integrations/connectors/source-gocardless/setup.py +++ b/airbyte-integrations/connectors/source-gocardless/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-gong/README.md b/airbyte-integrations/connectors/source-gong/README.md index 1a78b4baaaca..432a1a599e51 100644 --- a/airbyte-integrations/connectors/source-gong/README.md +++ b/airbyte-integrations/connectors/source-gong/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-gong/acceptance-test-config.yml b/airbyte-integrations/connectors/source-gong/acceptance-test-config.yml index a404498b934b..1d526f147c10 100644 --- a/airbyte-integrations/connectors/source-gong/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-gong/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-gong:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-gong/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-gong/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-gong/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-gong/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-gong/build.gradle b/airbyte-integrations/connectors/source-gong/build.gradle index 60c10f55a43f..f243d3955091 100644 --- a/airbyte-integrations/connectors/source-gong/build.gradle +++ b/airbyte-integrations/connectors/source-gong/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-gong/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-gong/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-gong/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-gong/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-gong/requirements.txt b/airbyte-integrations/connectors/source-gong/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-gong/requirements.txt +++ b/airbyte-integrations/connectors/source-gong/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-gong/setup.py b/airbyte-integrations/connectors/source-gong/setup.py index 0aae02822bb1..5ad20b385a46 100644 --- a/airbyte-integrations/connectors/source-gong/setup.py +++ b/airbyte-integrations/connectors/source-gong/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-google-ads/README.md b/airbyte-integrations/connectors/source-google-ads/README.md index 68952313e658..2ecbb03251ca 100644 --- a/airbyte-integrations/connectors/source-google-ads/README.md +++ b/airbyte-integrations/connectors/source-google-ads/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-google-ads/acceptance-test-config.yml b/airbyte-integrations/connectors/source-google-ads/acceptance-test-config.yml index 6e136fdb23b5..02583192a5a6 100644 --- a/airbyte-integrations/connectors/source-google-ads/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-google-ads/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-google-ads:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-google-ads/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-google-ads/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100755 --- a/airbyte-integrations/connectors/source-google-ads/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-google-ads/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-google-ads/build.gradle b/airbyte-integrations/connectors/source-google-ads/build.gradle index 996905bf785a..4ef0c45bc5bc 100644 --- a/airbyte-integrations/connectors/source-google-ads/build.gradle +++ b/airbyte-integrations/connectors/source-google-ads/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-google-ads/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-ads/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-google-ads/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-ads/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-google-ads/requirements.txt b/airbyte-integrations/connectors/source-google-ads/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-google-ads/requirements.txt +++ b/airbyte-integrations/connectors/source-google-ads/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-google-analytics-data-api/README.md b/airbyte-integrations/connectors/source-google-analytics-data-api/README.md index 4d44636be217..7ff91a822ed5 100644 --- a/airbyte-integrations/connectors/source-google-analytics-data-api/README.md +++ b/airbyte-integrations/connectors/source-google-analytics-data-api/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-google-analytics-data-api/acceptance-test-config.yml b/airbyte-integrations/connectors/source-google-analytics-data-api/acceptance-test-config.yml index 9e15ef3ee92c..6d0227cd95af 100644 --- a/airbyte-integrations/connectors/source-google-analytics-data-api/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-google-analytics-data-api/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-google-analytics-data-api:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-google-analytics-data-api/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-google-analytics-data-api/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-google-analytics-data-api/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-google-analytics-data-api/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-google-analytics-data-api/build.gradle b/airbyte-integrations/connectors/source-google-analytics-data-api/build.gradle index 46fbe7b6e812..47b4268c39cc 100644 --- a/airbyte-integrations/connectors/source-google-analytics-data-api/build.gradle +++ b/airbyte-integrations/connectors/source-google-analytics-data-api/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-google-analytics-data-api/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-analytics-data-api/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-google-analytics-data-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-analytics-data-api/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-google-analytics-data-api/requirements.txt b/airbyte-integrations/connectors/source-google-analytics-data-api/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-google-analytics-data-api/requirements.txt +++ b/airbyte-integrations/connectors/source-google-analytics-data-api/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-google-analytics-data-api/setup.py b/airbyte-integrations/connectors/source-google-analytics-data-api/setup.py index def5d6fb5f34..8884fda02777 100644 --- a/airbyte-integrations/connectors/source-google-analytics-data-api/setup.py +++ b/airbyte-integrations/connectors/source-google-analytics-data-api/setup.py @@ -12,7 +12,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "requests-mock~=1.9", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/README.md b/airbyte-integrations/connectors/source-google-analytics-v4/README.md index 9dea195a464d..93aaa5533ceb 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/README.md +++ b/airbyte-integrations/connectors/source-google-analytics-v4/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-google-analytics-v4/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-google-analytics-v4/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/build.gradle b/airbyte-integrations/connectors/source-google-analytics-v4/build.gradle index 6d1c5c391949..24f594ce9be6 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/build.gradle +++ b/airbyte-integrations/connectors/source-google-analytics-v4/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-analytics-v4/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-analytics-v4/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/requirements.txt b/airbyte-integrations/connectors/source-google-analytics-v4/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/requirements.txt +++ b/airbyte-integrations/connectors/source-google-analytics-v4/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/setup.py b/airbyte-integrations/connectors/source-google-analytics-v4/setup.py index 5fdb02797790..63b26171009c 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/setup.py +++ b/airbyte-integrations/connectors/source-google-analytics-v4/setup.py @@ -12,7 +12,7 @@ "requests-mock", "pytest-mock", "freezegun", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-google-directory/acceptance-test-config.yml b/airbyte-integrations/connectors/source-google-directory/acceptance-test-config.yml index c9eae6557530..291c559f0534 100644 --- a/airbyte-integrations/connectors/source-google-directory/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-google-directory/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-google-directory:dev tests: diff --git a/airbyte-integrations/connectors/source-google-directory/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-google-directory/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-google-directory/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-google-directory/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-google-directory/build.gradle b/airbyte-integrations/connectors/source-google-directory/build.gradle index cc749b14afc5..b05ed036c08e 100644 --- a/airbyte-integrations/connectors/source-google-directory/build.gradle +++ b/airbyte-integrations/connectors/source-google-directory/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-google-directory/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-directory/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-google-directory/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-directory/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-google-directory/requirements.txt b/airbyte-integrations/connectors/source-google-directory/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-google-directory/requirements.txt +++ b/airbyte-integrations/connectors/source-google-directory/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-google-directory/setup.py b/airbyte-integrations/connectors/source-google-directory/setup.py index a309e4c25cc8..8660b6e31b6f 100644 --- a/airbyte-integrations/connectors/source-google-directory/setup.py +++ b/airbyte-integrations/connectors/source-google-directory/setup.py @@ -16,7 +16,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-google-pagespeed-insights/README.md b/airbyte-integrations/connectors/source-google-pagespeed-insights/README.md index be430009b2c0..e02be14d79f2 100644 --- a/airbyte-integrations/connectors/source-google-pagespeed-insights/README.md +++ b/airbyte-integrations/connectors/source-google-pagespeed-insights/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-google-pagespeed-insights/acceptance-test-config.yml b/airbyte-integrations/connectors/source-google-pagespeed-insights/acceptance-test-config.yml index 994f1904f3a0..d548dd3d8b37 100644 --- a/airbyte-integrations/connectors/source-google-pagespeed-insights/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-google-pagespeed-insights/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-google-pagespeed-insights:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-google-pagespeed-insights/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-google-pagespeed-insights/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-google-pagespeed-insights/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-google-pagespeed-insights/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-google-pagespeed-insights/build.gradle b/airbyte-integrations/connectors/source-google-pagespeed-insights/build.gradle index 34ae58a88362..51d3f622d9a3 100644 --- a/airbyte-integrations/connectors/source-google-pagespeed-insights/build.gradle +++ b/airbyte-integrations/connectors/source-google-pagespeed-insights/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-google-pagespeed-insights/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-pagespeed-insights/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-google-pagespeed-insights/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-pagespeed-insights/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-google-pagespeed-insights/requirements.txt b/airbyte-integrations/connectors/source-google-pagespeed-insights/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-google-pagespeed-insights/requirements.txt +++ b/airbyte-integrations/connectors/source-google-pagespeed-insights/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-google-pagespeed-insights/setup.py b/airbyte-integrations/connectors/source-google-pagespeed-insights/setup.py index a5e62514c6ff..fa22d644827c 100644 --- a/airbyte-integrations/connectors/source-google-pagespeed-insights/setup.py +++ b/airbyte-integrations/connectors/source-google-pagespeed-insights/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-google-search-console/README.md b/airbyte-integrations/connectors/source-google-search-console/README.md index 20372693ce88..50971a1a8d1b 100755 --- a/airbyte-integrations/connectors/source-google-search-console/README.md +++ b/airbyte-integrations/connectors/source-google-search-console/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-google-search-console/acceptance-test-config.yml b/airbyte-integrations/connectors/source-google-search-console/acceptance-test-config.yml index 4aa9eb83bd57..fc4687b0986c 100755 --- a/airbyte-integrations/connectors/source-google-search-console/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-google-search-console/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-google-search-console:dev test_strictness_level: "high" diff --git a/airbyte-integrations/connectors/source-google-search-console/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-google-search-console/acceptance-test-docker.sh index 7ad3352709bd..b740b353ec42 100755 --- a/airbyte-integrations/connectors/source-google-search-console/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-google-search-console/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-google-search-console/build.gradle b/airbyte-integrations/connectors/source-google-search-console/build.gradle index b84af1c856d8..22ba2886c8a3 100755 --- a/airbyte-integrations/connectors/source-google-search-console/build.gradle +++ b/airbyte-integrations/connectors/source-google-search-console/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-google-search-console/credentials/setup.py b/airbyte-integrations/connectors/source-google-search-console/credentials/setup.py index 1a7e5f6ec50c..056052a15e7d 100755 --- a/airbyte-integrations/connectors/source-google-search-console/credentials/setup.py +++ b/airbyte-integrations/connectors/source-google-search-console/credentials/setup.py @@ -11,7 +11,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-google-search-console/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-search-console/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100755 --- a/airbyte-integrations/connectors/source-google-search-console/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-search-console/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-google-search-console/requirements.txt b/airbyte-integrations/connectors/source-google-search-console/requirements.txt index 7be17a56d745..9ce85523c234 100755 --- a/airbyte-integrations/connectors/source-google-search-console/requirements.txt +++ b/airbyte-integrations/connectors/source-google-search-console/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-google-search-console/setup.py b/airbyte-integrations/connectors/source-google-search-console/setup.py index 973381d4139b..f3313bc5e8ab 100755 --- a/airbyte-integrations/connectors/source-google-search-console/setup.py +++ b/airbyte-integrations/connectors/source-google-search-console/setup.py @@ -14,7 +14,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "requests-mock", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-google-sheets/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-google-sheets/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-google-sheets/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-google-sheets/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-google-sheets/build.gradle b/airbyte-integrations/connectors/source-google-sheets/build.gradle index 01b365327dd8..3719e70d8ecf 100644 --- a/airbyte-integrations/connectors/source-google-sheets/build.gradle +++ b/airbyte-integrations/connectors/source-google-sheets/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-google-sheets/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-sheets/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-google-sheets/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-sheets/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-google-sheets/requirements.txt b/airbyte-integrations/connectors/source-google-sheets/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-google-sheets/requirements.txt +++ b/airbyte-integrations/connectors/source-google-sheets/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-google-sheets/setup.py b/airbyte-integrations/connectors/source-google-sheets/setup.py index 6e49f9b86f27..40ebe90343c2 100644 --- a/airbyte-integrations/connectors/source-google-sheets/setup.py +++ b/airbyte-integrations/connectors/source-google-sheets/setup.py @@ -17,7 +17,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-google-webfonts/README.md b/airbyte-integrations/connectors/source-google-webfonts/README.md index f0e9d4f2ba72..fec59a21cbba 100644 --- a/airbyte-integrations/connectors/source-google-webfonts/README.md +++ b/airbyte-integrations/connectors/source-google-webfonts/README.md @@ -72,7 +72,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-google-webfonts/acceptance-test-config.yml b/airbyte-integrations/connectors/source-google-webfonts/acceptance-test-config.yml index 7e69e954eac4..42e8dc5d03c7 100644 --- a/airbyte-integrations/connectors/source-google-webfonts/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-google-webfonts/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-google-webfonts:dev tests: diff --git a/airbyte-integrations/connectors/source-google-webfonts/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-google-webfonts/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-google-webfonts/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-google-webfonts/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-google-webfonts/build.gradle b/airbyte-integrations/connectors/source-google-webfonts/build.gradle index 8bf7fd748729..2edf95d72c3d 100644 --- a/airbyte-integrations/connectors/source-google-webfonts/build.gradle +++ b/airbyte-integrations/connectors/source-google-webfonts/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-google-webfonts/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-webfonts/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-google-webfonts/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-webfonts/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-google-webfonts/requirements.txt b/airbyte-integrations/connectors/source-google-webfonts/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-google-webfonts/requirements.txt +++ b/airbyte-integrations/connectors/source-google-webfonts/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-google-webfonts/setup.py b/airbyte-integrations/connectors/source-google-webfonts/setup.py index f290fc2148d4..87cdc651ffe8 100644 --- a/airbyte-integrations/connectors/source-google-webfonts/setup.py +++ b/airbyte-integrations/connectors/source-google-webfonts/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/acceptance-test-config.yml b/airbyte-integrations/connectors/source-google-workspace-admin-reports/acceptance-test-config.yml index 0e4ef47ccfca..636c0727117a 100755 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-google-workspace-admin-reports:dev tests: diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-google-workspace-admin-reports/acceptance-test-docker.sh index 7ad3352709bd..b740b353ec42 100755 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/build.gradle b/airbyte-integrations/connectors/source-google-workspace-admin-reports/build.gradle index 85d57369fc31..965b837a734f 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/build.gradle +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100755 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/requirements.txt b/airbyte-integrations/connectors/source-google-workspace-admin-reports/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/requirements.txt +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/setup.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/setup.py index 17c54059d10c..81807d735665 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/setup.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/setup.py @@ -17,7 +17,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-greenhouse/README.md b/airbyte-integrations/connectors/source-greenhouse/README.md index 8b1c6864ab6a..aa8fa3af70dd 100644 --- a/airbyte-integrations/connectors/source-greenhouse/README.md +++ b/airbyte-integrations/connectors/source-greenhouse/README.md @@ -59,7 +59,7 @@ To run unit tests locally, from the connector directory run: python -m pytest unit_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-greenhouse/acceptance-test-config.yml b/airbyte-integrations/connectors/source-greenhouse/acceptance-test-config.yml index e7d19346d4da..84acf6c16d19 100644 --- a/airbyte-integrations/connectors/source-greenhouse/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-greenhouse/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-greenhouse:dev test_strictness_level: "high" diff --git a/airbyte-integrations/connectors/source-greenhouse/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-greenhouse/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-greenhouse/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-greenhouse/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-greenhouse/build.gradle b/airbyte-integrations/connectors/source-greenhouse/build.gradle index 330da24791ab..68993f7d0cd6 100644 --- a/airbyte-integrations/connectors/source-greenhouse/build.gradle +++ b/airbyte-integrations/connectors/source-greenhouse/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-greenhouse/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-greenhouse/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-greenhouse/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-greenhouse/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-greenhouse/requirements.txt b/airbyte-integrations/connectors/source-greenhouse/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-greenhouse/requirements.txt +++ b/airbyte-integrations/connectors/source-greenhouse/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-gridly/README.md b/airbyte-integrations/connectors/source-gridly/README.md index 375f788f5b32..b3a0ea66f9db 100644 --- a/airbyte-integrations/connectors/source-gridly/README.md +++ b/airbyte-integrations/connectors/source-gridly/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-gridly/acceptance-test-config.yml b/airbyte-integrations/connectors/source-gridly/acceptance-test-config.yml index 29f0507b7494..18e4423aca9f 100644 --- a/airbyte-integrations/connectors/source-gridly/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-gridly/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-gridly:dev tests: diff --git a/airbyte-integrations/connectors/source-gridly/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-gridly/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-gridly/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-gridly/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-gridly/build.gradle b/airbyte-integrations/connectors/source-gridly/build.gradle index fa61deefe078..bbecc83978a7 100644 --- a/airbyte-integrations/connectors/source-gridly/build.gradle +++ b/airbyte-integrations/connectors/source-gridly/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-gridly/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-gridly/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-gridly/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-gridly/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-gridly/requirements.txt b/airbyte-integrations/connectors/source-gridly/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-gridly/requirements.txt +++ b/airbyte-integrations/connectors/source-gridly/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-gridly/setup.py b/airbyte-integrations/connectors/source-gridly/setup.py index 60ae90355d17..3f195869de6c 100644 --- a/airbyte-integrations/connectors/source-gridly/setup.py +++ b/airbyte-integrations/connectors/source-gridly/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-gutendex/README.md b/airbyte-integrations/connectors/source-gutendex/README.md index 99d0de8d9bf5..42eea363acf7 100644 --- a/airbyte-integrations/connectors/source-gutendex/README.md +++ b/airbyte-integrations/connectors/source-gutendex/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-gutendex/acceptance-test-config.yml b/airbyte-integrations/connectors/source-gutendex/acceptance-test-config.yml index dfaeaba5938a..0e82a0483084 100644 --- a/airbyte-integrations/connectors/source-gutendex/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-gutendex/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-gutendex:dev tests: diff --git a/airbyte-integrations/connectors/source-gutendex/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-gutendex/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-gutendex/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-gutendex/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-gutendex/build.gradle b/airbyte-integrations/connectors/source-gutendex/build.gradle index ac8a19190f5c..4a0eced2c958 100644 --- a/airbyte-integrations/connectors/source-gutendex/build.gradle +++ b/airbyte-integrations/connectors/source-gutendex/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-gutendex/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-gutendex/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-gutendex/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-gutendex/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-gutendex/requirements.txt b/airbyte-integrations/connectors/source-gutendex/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-gutendex/requirements.txt +++ b/airbyte-integrations/connectors/source-gutendex/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-gutendex/setup.py b/airbyte-integrations/connectors/source-gutendex/setup.py index 75f9ae066236..e78b180b0a6a 100644 --- a/airbyte-integrations/connectors/source-gutendex/setup.py +++ b/airbyte-integrations/connectors/source-gutendex/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-harvest/README.md b/airbyte-integrations/connectors/source-harvest/README.md index 0d0b500167f4..837b66aaba6a 100644 --- a/airbyte-integrations/connectors/source-harvest/README.md +++ b/airbyte-integrations/connectors/source-harvest/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-harvest/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-harvest/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-harvest/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-harvest/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-harvest/build.gradle b/airbyte-integrations/connectors/source-harvest/build.gradle index b2315be59888..f1bbb57c9e42 100644 --- a/airbyte-integrations/connectors/source-harvest/build.gradle +++ b/airbyte-integrations/connectors/source-harvest/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-harvest/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-harvest/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-harvest/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-harvest/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-harvest/requirements.txt b/airbyte-integrations/connectors/source-harvest/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-harvest/requirements.txt +++ b/airbyte-integrations/connectors/source-harvest/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-harvest/setup.py b/airbyte-integrations/connectors/source-harvest/setup.py index 25cfab38fd2f..bcb4acbe20ee 100644 --- a/airbyte-integrations/connectors/source-harvest/setup.py +++ b/airbyte-integrations/connectors/source-harvest/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "requests-mock", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-hellobaton/README.md b/airbyte-integrations/connectors/source-hellobaton/README.md index 1b3bc774802a..772a10e7de9b 100644 --- a/airbyte-integrations/connectors/source-hellobaton/README.md +++ b/airbyte-integrations/connectors/source-hellobaton/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-hellobaton/acceptance-test-config.yml b/airbyte-integrations/connectors/source-hellobaton/acceptance-test-config.yml index 16a85d2829f9..b3016f30f2a4 100644 --- a/airbyte-integrations/connectors/source-hellobaton/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-hellobaton/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-hellobaton:dev tests: diff --git a/airbyte-integrations/connectors/source-hellobaton/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-hellobaton/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-hellobaton/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-hellobaton/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-hellobaton/build.gradle b/airbyte-integrations/connectors/source-hellobaton/build.gradle index 55c27d361567..08e2290bc576 100644 --- a/airbyte-integrations/connectors/source-hellobaton/build.gradle +++ b/airbyte-integrations/connectors/source-hellobaton/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-hellobaton/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-hellobaton/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-hellobaton/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-hellobaton/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-hellobaton/requirements.txt b/airbyte-integrations/connectors/source-hellobaton/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-hellobaton/requirements.txt +++ b/airbyte-integrations/connectors/source-hellobaton/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-hellobaton/setup.py b/airbyte-integrations/connectors/source-hellobaton/setup.py index 41fd67159b9b..2eefe21c8925 100644 --- a/airbyte-integrations/connectors/source-hellobaton/setup.py +++ b/airbyte-integrations/connectors/source-hellobaton/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-hubplanner/README.md b/airbyte-integrations/connectors/source-hubplanner/README.md index f38554dc5785..e58e8e540395 100644 --- a/airbyte-integrations/connectors/source-hubplanner/README.md +++ b/airbyte-integrations/connectors/source-hubplanner/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-hubplanner/acceptance-test-config.yml b/airbyte-integrations/connectors/source-hubplanner/acceptance-test-config.yml index fc18dcb74956..8ca311be523e 100644 --- a/airbyte-integrations/connectors/source-hubplanner/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-hubplanner/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-hubplanner:dev tests: diff --git a/airbyte-integrations/connectors/source-hubplanner/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-hubplanner/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-hubplanner/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-hubplanner/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-hubplanner/build.gradle b/airbyte-integrations/connectors/source-hubplanner/build.gradle index c75aea3d3c21..54ec4fbb1116 100644 --- a/airbyte-integrations/connectors/source-hubplanner/build.gradle +++ b/airbyte-integrations/connectors/source-hubplanner/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-hubplanner/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-hubplanner/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-hubplanner/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-hubplanner/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-hubplanner/requirements.txt b/airbyte-integrations/connectors/source-hubplanner/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-hubplanner/requirements.txt +++ b/airbyte-integrations/connectors/source-hubplanner/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-hubplanner/setup.py b/airbyte-integrations/connectors/source-hubplanner/setup.py index cd9e6accd855..626697c025bb 100644 --- a/airbyte-integrations/connectors/source-hubplanner/setup.py +++ b/airbyte-integrations/connectors/source-hubplanner/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-hubspot/README.md b/airbyte-integrations/connectors/source-hubspot/README.md index 3d70b60a467c..50c797fec8a7 100644 --- a/airbyte-integrations/connectors/source-hubspot/README.md +++ b/airbyte-integrations/connectors/source-hubspot/README.md @@ -124,7 +124,7 @@ python -m pytest integration_tests #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run diff --git a/airbyte-integrations/connectors/source-hubspot/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-hubspot/acceptance-test-docker.sh index be84823293a6..994a8812d70a 100755 --- a/airbyte-integrations/connectors/source-hubspot/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-hubspot/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-hubspot/build.gradle b/airbyte-integrations/connectors/source-hubspot/build.gradle index 259bffb74a61..a7e1c44dad63 100644 --- a/airbyte-integrations/connectors/source-hubspot/build.gradle +++ b/airbyte-integrations/connectors/source-hubspot/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-hubspot/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-hubspot/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-hubspot/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-hubspot/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-hubspot/requirements.txt b/airbyte-integrations/connectors/source-hubspot/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-hubspot/requirements.txt +++ b/airbyte-integrations/connectors/source-hubspot/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-hubspot/setup.py b/airbyte-integrations/connectors/source-hubspot/setup.py index a4c05e9a795b..8e7f2901d324 100644 --- a/airbyte-integrations/connectors/source-hubspot/setup.py +++ b/airbyte-integrations/connectors/source-hubspot/setup.py @@ -16,7 +16,7 @@ "pytest==6.1.2", "pytest-mock~=3.6", "requests-mock~=1.9.3", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-insightly/README.md b/airbyte-integrations/connectors/source-insightly/README.md index bd9f9dc0778f..61fbc856b46f 100644 --- a/airbyte-integrations/connectors/source-insightly/README.md +++ b/airbyte-integrations/connectors/source-insightly/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-insightly/acceptance-test-config.yml b/airbyte-integrations/connectors/source-insightly/acceptance-test-config.yml index afadd4a05794..7eeffd3c3607 100644 --- a/airbyte-integrations/connectors/source-insightly/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-insightly/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-insightly:dev tests: diff --git a/airbyte-integrations/connectors/source-insightly/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-insightly/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-insightly/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-insightly/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-insightly/build.gradle b/airbyte-integrations/connectors/source-insightly/build.gradle index e3b780080d17..1b5baf0891c1 100644 --- a/airbyte-integrations/connectors/source-insightly/build.gradle +++ b/airbyte-integrations/connectors/source-insightly/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-insightly/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-insightly/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-insightly/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-insightly/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-insightly/requirements.txt b/airbyte-integrations/connectors/source-insightly/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-insightly/requirements.txt +++ b/airbyte-integrations/connectors/source-insightly/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-insightly/setup.py b/airbyte-integrations/connectors/source-insightly/setup.py index d288f5200b9b..8a656c405027 100644 --- a/airbyte-integrations/connectors/source-insightly/setup.py +++ b/airbyte-integrations/connectors/source-insightly/setup.py @@ -13,7 +13,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-instagram/README.md b/airbyte-integrations/connectors/source-instagram/README.md index 3de258e14ffb..24d31aae6339 100644 --- a/airbyte-integrations/connectors/source-instagram/README.md +++ b/airbyte-integrations/connectors/source-instagram/README.md @@ -60,12 +60,12 @@ python -m pytest unit_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-instagram:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` or ``` diff --git a/airbyte-integrations/connectors/source-instagram/acceptance-test-config.yml b/airbyte-integrations/connectors/source-instagram/acceptance-test-config.yml index 20ce9fea9491..3f11e39d35f7 100644 --- a/airbyte-integrations/connectors/source-instagram/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-instagram/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-instagram:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-instagram/build.gradle b/airbyte-integrations/connectors/source-instagram/build.gradle index a1146b8d9906..7329ccd97b2b 100644 --- a/airbyte-integrations/connectors/source-instagram/build.gradle +++ b/airbyte-integrations/connectors/source-instagram/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-instagram/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-instagram/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-instagram/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-instagram/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-instagram/requirements.txt b/airbyte-integrations/connectors/source-instagram/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-instagram/requirements.txt +++ b/airbyte-integrations/connectors/source-instagram/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-instatus/README.md b/airbyte-integrations/connectors/source-instatus/README.md index e01c92088e66..8ea3e3f1b455 100644 --- a/airbyte-integrations/connectors/source-instatus/README.md +++ b/airbyte-integrations/connectors/source-instatus/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with Docker, run: diff --git a/airbyte-integrations/connectors/source-instatus/acceptance-test-config.yml b/airbyte-integrations/connectors/source-instatus/acceptance-test-config.yml index b1770e1bc751..2878fb1de5da 100644 --- a/airbyte-integrations/connectors/source-instatus/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-instatus/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-instatus:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-instatus/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-instatus/acceptance-test-docker.sh index 877204b28e9b..77d567964681 100755 --- a/airbyte-integrations/connectors/source-instatus/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-instatus/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input \ diff --git a/airbyte-integrations/connectors/source-instatus/build.gradle b/airbyte-integrations/connectors/source-instatus/build.gradle index 9354cbab81e4..f266aa6a3538 100644 --- a/airbyte-integrations/connectors/source-instatus/build.gradle +++ b/airbyte-integrations/connectors/source-instatus/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-instatus/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-instatus/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-instatus/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-instatus/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-instatus/requirements.txt b/airbyte-integrations/connectors/source-instatus/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-instatus/requirements.txt +++ b/airbyte-integrations/connectors/source-instatus/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-instatus/setup.py b/airbyte-integrations/connectors/source-instatus/setup.py index e19a5dc515c5..617f8e8bbc5a 100644 --- a/airbyte-integrations/connectors/source-instatus/setup.py +++ b/airbyte-integrations/connectors/source-instatus/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.2", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-intercom/README.md b/airbyte-integrations/connectors/source-intercom/README.md index 9e57fd68949b..2d300eaf8b05 100644 --- a/airbyte-integrations/connectors/source-intercom/README.md +++ b/airbyte-integrations/connectors/source-intercom/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-intercom/acceptance-test-config.yml b/airbyte-integrations/connectors/source-intercom/acceptance-test-config.yml index fb516fe951b8..f9506806e107 100644 --- a/airbyte-integrations/connectors/source-intercom/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-intercom/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-intercom:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-intercom/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-intercom/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-intercom/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-intercom/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-intercom/build.gradle b/airbyte-integrations/connectors/source-intercom/build.gradle index ca642adb4115..3446296ba962 100644 --- a/airbyte-integrations/connectors/source-intercom/build.gradle +++ b/airbyte-integrations/connectors/source-intercom/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-intercom/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-intercom/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-intercom/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-intercom/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-intercom/requirements.txt b/airbyte-integrations/connectors/source-intercom/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-intercom/requirements.txt +++ b/airbyte-integrations/connectors/source-intercom/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-intercom/setup.py b/airbyte-integrations/connectors/source-intercom/setup.py index e0a3e66ffcf0..9b158e9b1632 100644 --- a/airbyte-integrations/connectors/source-intercom/setup.py +++ b/airbyte-integrations/connectors/source-intercom/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "requests-mock", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-intruder/README.md b/airbyte-integrations/connectors/source-intruder/README.md index bc6dbf57caeb..46a577610c6e 100644 --- a/airbyte-integrations/connectors/source-intruder/README.md +++ b/airbyte-integrations/connectors/source-intruder/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-intruder/acceptance-test-config.yml b/airbyte-integrations/connectors/source-intruder/acceptance-test-config.yml index 2217214e36a7..874695a762c3 100644 --- a/airbyte-integrations/connectors/source-intruder/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-intruder/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-intruder:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-intruder/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-intruder/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-intruder/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-intruder/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-intruder/build.gradle b/airbyte-integrations/connectors/source-intruder/build.gradle index 7422eaeb21e7..d346ef5c1805 100644 --- a/airbyte-integrations/connectors/source-intruder/build.gradle +++ b/airbyte-integrations/connectors/source-intruder/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-intruder/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-intruder/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-intruder/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-intruder/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-intruder/requirements.txt b/airbyte-integrations/connectors/source-intruder/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-intruder/requirements.txt +++ b/airbyte-integrations/connectors/source-intruder/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-intruder/setup.py b/airbyte-integrations/connectors/source-intruder/setup.py index 7f6881387ce9..535aee1db188 100644 --- a/airbyte-integrations/connectors/source-intruder/setup.py +++ b/airbyte-integrations/connectors/source-intruder/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-ip2whois/README.md b/airbyte-integrations/connectors/source-ip2whois/README.md index 63ea134c95d2..db558c7826f9 100644 --- a/airbyte-integrations/connectors/source-ip2whois/README.md +++ b/airbyte-integrations/connectors/source-ip2whois/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-ip2whois/acceptance-test-config.yml b/airbyte-integrations/connectors/source-ip2whois/acceptance-test-config.yml index 546ba5547372..0a97d3bef967 100644 --- a/airbyte-integrations/connectors/source-ip2whois/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-ip2whois/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-ip2whois:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-ip2whois/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-ip2whois/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-ip2whois/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-ip2whois/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-ip2whois/build.gradle b/airbyte-integrations/connectors/source-ip2whois/build.gradle index 9cb21ae42cb5..ba74c959a17a 100644 --- a/airbyte-integrations/connectors/source-ip2whois/build.gradle +++ b/airbyte-integrations/connectors/source-ip2whois/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-ip2whois/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-ip2whois/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-ip2whois/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-ip2whois/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-ip2whois/requirements.txt b/airbyte-integrations/connectors/source-ip2whois/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-ip2whois/requirements.txt +++ b/airbyte-integrations/connectors/source-ip2whois/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-ip2whois/setup.py b/airbyte-integrations/connectors/source-ip2whois/setup.py index fbebfc836c33..8e0945a311f4 100644 --- a/airbyte-integrations/connectors/source-ip2whois/setup.py +++ b/airbyte-integrations/connectors/source-ip2whois/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-iterable/acceptance-test-config.yml b/airbyte-integrations/connectors/source-iterable/acceptance-test-config.yml index e76473f1336d..5d245079c877 100644 --- a/airbyte-integrations/connectors/source-iterable/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-iterable/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/contributing-to-airbyte/building-new-connector/source-acceptance-tests.md) +# See [Connector Acceptance Tests](https://docs.airbyte.com/contributing-to-airbyte/building-new-connector/connector-acceptance-tests.md) # for more information about how to configure these tests connector_image: airbyte/source-iterable:dev tests: diff --git a/airbyte-integrations/connectors/source-iterable/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-iterable/acceptance-test-docker.sh index 4ceedd9e7ba0..735d9d162608 100755 --- a/airbyte-integrations/connectors/source-iterable/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-iterable/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-iterable/build.gradle b/airbyte-integrations/connectors/source-iterable/build.gradle index e95e96c3c030..a8cb71f1fec7 100644 --- a/airbyte-integrations/connectors/source-iterable/build.gradle +++ b/airbyte-integrations/connectors/source-iterable/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-iterable/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-iterable/integration_tests/acceptance.py index 416093ab7624..63fbf8f0f576 100644 --- a/airbyte-integrations/connectors/source-iterable/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-iterable/integration_tests/acceptance.py @@ -4,7 +4,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-iterable/requirements.txt b/airbyte-integrations/connectors/source-iterable/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-iterable/requirements.txt +++ b/airbyte-integrations/connectors/source-iterable/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-jdbc/acceptance-test-config.yml b/airbyte-integrations/connectors/source-jdbc/acceptance-test-config.yml index 9a4392c5347b..b039c6cc8a2f 100644 --- a/airbyte-integrations/connectors/source-jdbc/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-jdbc/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-jdbc:dev tests: diff --git a/airbyte-integrations/connectors/source-jdbc/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-jdbc/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-jdbc/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-jdbc/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-jdbc/build.gradle b/airbyte-integrations/connectors/source-jdbc/build.gradle index 54f984906b46..777620be980a 100644 --- a/airbyte-integrations/connectors/source-jdbc/build.gradle +++ b/airbyte-integrations/connectors/source-jdbc/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' id "java-library" // https://docs.gradle.org/current/userguide/java_testing.html#sec:java_test_fixtures id "java-test-fixtures" diff --git a/airbyte-integrations/connectors/source-jdbc/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-jdbc/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-jdbc/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-jdbc/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-jira/README.md b/airbyte-integrations/connectors/source-jira/README.md index 9b94f4b4db21..627f1f3c880d 100644 --- a/airbyte-integrations/connectors/source-jira/README.md +++ b/airbyte-integrations/connectors/source-jira/README.md @@ -84,12 +84,12 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-jira:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` ### Integration Tests diff --git a/airbyte-integrations/connectors/source-jira/acceptance-test-config.yml b/airbyte-integrations/connectors/source-jira/acceptance-test-config.yml index 0998fcb53998..5566cbd8f019 100644 --- a/airbyte-integrations/connectors/source-jira/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-jira/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-jira:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-jira/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-jira/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-jira/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-jira/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-jira/build.gradle b/airbyte-integrations/connectors/source-jira/build.gradle index 1d50457b6ecc..ae596c85ef07 100644 --- a/airbyte-integrations/connectors/source-jira/build.gradle +++ b/airbyte-integrations/connectors/source-jira/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-jira/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-jira/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-jira/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-jira/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-jira/requirements.txt b/airbyte-integrations/connectors/source-jira/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-jira/requirements.txt +++ b/airbyte-integrations/connectors/source-jira/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-jira/setup.py b/airbyte-integrations/connectors/source-jira/setup.py index 0c8e9d5b4240..858451cd49f5 100644 --- a/airbyte-integrations/connectors/source-jira/setup.py +++ b/airbyte-integrations/connectors/source-jira/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest==6.2.5", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.22.0", ] diff --git a/airbyte-integrations/connectors/source-k6-cloud/README.md b/airbyte-integrations/connectors/source-k6-cloud/README.md index 6cb5fc82fd7a..33afbeff8310 100644 --- a/airbyte-integrations/connectors/source-k6-cloud/README.md +++ b/airbyte-integrations/connectors/source-k6-cloud/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-k6-cloud/acceptance-test-config.yml b/airbyte-integrations/connectors/source-k6-cloud/acceptance-test-config.yml index 5b1bf8473918..f6d6e4574572 100644 --- a/airbyte-integrations/connectors/source-k6-cloud/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-k6-cloud/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-k6-cloud:dev tests: diff --git a/airbyte-integrations/connectors/source-k6-cloud/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-k6-cloud/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-k6-cloud/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-k6-cloud/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-k6-cloud/build.gradle b/airbyte-integrations/connectors/source-k6-cloud/build.gradle index 7b54fb7876c8..a18607214137 100644 --- a/airbyte-integrations/connectors/source-k6-cloud/build.gradle +++ b/airbyte-integrations/connectors/source-k6-cloud/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-k6-cloud/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-k6-cloud/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-k6-cloud/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-k6-cloud/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-k6-cloud/requirements.txt b/airbyte-integrations/connectors/source-k6-cloud/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-k6-cloud/requirements.txt +++ b/airbyte-integrations/connectors/source-k6-cloud/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-k6-cloud/setup.py b/airbyte-integrations/connectors/source-k6-cloud/setup.py index 636642328746..d27893f05d6b 100644 --- a/airbyte-integrations/connectors/source-k6-cloud/setup.py +++ b/airbyte-integrations/connectors/source-k6-cloud/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-kafka/acceptance-test-config.yml b/airbyte-integrations/connectors/source-kafka/acceptance-test-config.yml index 6bebc5793b0a..61502139adf1 100644 --- a/airbyte-integrations/connectors/source-kafka/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-kafka/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-kafka:dev tests: diff --git a/airbyte-integrations/connectors/source-kafka/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-kafka/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-kafka/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-kafka/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-kafka/build.gradle b/airbyte-integrations/connectors/source-kafka/build.gradle index d06782d15150..202bf2abfea8 100644 --- a/airbyte-integrations/connectors/source-kafka/build.gradle +++ b/airbyte-integrations/connectors/source-kafka/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-kafka/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-kafka/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-kafka/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-kafka/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-klarna/README.md b/airbyte-integrations/connectors/source-klarna/README.md index 7491793a46be..e8c59a8d0a8f 100644 --- a/airbyte-integrations/connectors/source-klarna/README.md +++ b/airbyte-integrations/connectors/source-klarna/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-klarna/acceptance-test-config.yml b/airbyte-integrations/connectors/source-klarna/acceptance-test-config.yml index 3ab4e9b12fd1..eca3dbc24e45 100644 --- a/airbyte-integrations/connectors/source-klarna/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-klarna/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-klarna:dev tests: diff --git a/airbyte-integrations/connectors/source-klarna/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-klarna/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-klarna/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-klarna/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-klarna/build.gradle b/airbyte-integrations/connectors/source-klarna/build.gradle index 0dfdcdb72586..e707216c6638 100644 --- a/airbyte-integrations/connectors/source-klarna/build.gradle +++ b/airbyte-integrations/connectors/source-klarna/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-klarna/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-klarna/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-klarna/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-klarna/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-klarna/requirements.txt b/airbyte-integrations/connectors/source-klarna/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-klarna/requirements.txt +++ b/airbyte-integrations/connectors/source-klarna/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-klarna/setup.py b/airbyte-integrations/connectors/source-klarna/setup.py index 0521ee4647c4..b62a4f36d72d 100644 --- a/airbyte-integrations/connectors/source-klarna/setup.py +++ b/airbyte-integrations/connectors/source-klarna/setup.py @@ -11,7 +11,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "responses~=0.22.0", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-klaviyo/README.md b/airbyte-integrations/connectors/source-klaviyo/README.md index 657fd54f8756..9c39602b2a84 100644 --- a/airbyte-integrations/connectors/source-klaviyo/README.md +++ b/airbyte-integrations/connectors/source-klaviyo/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-klaviyo/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-klaviyo/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-klaviyo/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-klaviyo/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-klaviyo/build.gradle b/airbyte-integrations/connectors/source-klaviyo/build.gradle index 8d5121c5230b..1250d9619207 100644 --- a/airbyte-integrations/connectors/source-klaviyo/build.gradle +++ b/airbyte-integrations/connectors/source-klaviyo/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-klaviyo/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-klaviyo/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-klaviyo/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-klaviyo/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-klaviyo/requirements.txt b/airbyte-integrations/connectors/source-klaviyo/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-klaviyo/requirements.txt +++ b/airbyte-integrations/connectors/source-klaviyo/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-klaviyo/setup.py b/airbyte-integrations/connectors/source-klaviyo/setup.py index 03d6195d3a24..ae975894b371 100644 --- a/airbyte-integrations/connectors/source-klaviyo/setup.py +++ b/airbyte-integrations/connectors/source-klaviyo/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk~=0.1"] -TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock", "source-acceptance-test", "requests_mock~=1.8"] +TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock", "connector-acceptance-test", "requests_mock~=1.8"] setup( name="source_klaviyo", diff --git a/airbyte-integrations/connectors/source-kustomer-singer/README.md b/airbyte-integrations/connectors/source-kustomer-singer/README.md index ff8c08d965c2..f92a7a9d4d56 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/README.md +++ b/airbyte-integrations/connectors/source-kustomer-singer/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-kustomer-singer/acceptance-test-config.yml b/airbyte-integrations/connectors/source-kustomer-singer/acceptance-test-config.yml index 887819255c20..4e8535b8f6d6 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-kustomer-singer/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-kustomer-singer:dev tests: diff --git a/airbyte-integrations/connectors/source-kustomer-singer/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-kustomer-singer/acceptance-test-docker.sh index 1425ff74f151..609309b6f95b 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-kustomer-singer/acceptance-test-docker.sh @@ -3,5 +3,5 @@ docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-kustomer-singer/build.gradle b/airbyte-integrations/connectors/source-kustomer-singer/build.gradle index bafdee687142..4722da7271e5 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/build.gradle +++ b/airbyte-integrations/connectors/source-kustomer-singer/build.gradle @@ -2,7 +2,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' // TODO -// id 'airbyte-source-acceptance-test' +// id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-kustomer-singer/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-kustomer-singer/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-kustomer-singer/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-kustomer-singer/requirements.txt b/airbyte-integrations/connectors/source-kustomer-singer/requirements.txt index 8e2cb6f446a2..8f1f1d5c6b27 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/requirements.txt +++ b/airbyte-integrations/connectors/source-kustomer-singer/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. -# -e ../../bases/source-acceptance-test +# -e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-kyriba/README.md b/airbyte-integrations/connectors/source-kyriba/README.md index 3768afbc9794..5474b11a3d65 100644 --- a/airbyte-integrations/connectors/source-kyriba/README.md +++ b/airbyte-integrations/connectors/source-kyriba/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-kyriba/acceptance-test-config.yml b/airbyte-integrations/connectors/source-kyriba/acceptance-test-config.yml index adc5c7db1647..2c1a1e1d9718 100644 --- a/airbyte-integrations/connectors/source-kyriba/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-kyriba/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-kyriba:dev tests: diff --git a/airbyte-integrations/connectors/source-kyriba/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-kyriba/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-kyriba/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-kyriba/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-kyriba/build.gradle b/airbyte-integrations/connectors/source-kyriba/build.gradle index a973107549d1..a33b161be39e 100644 --- a/airbyte-integrations/connectors/source-kyriba/build.gradle +++ b/airbyte-integrations/connectors/source-kyriba/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-kyriba/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-kyriba/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-kyriba/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-kyriba/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-kyriba/requirements.txt b/airbyte-integrations/connectors/source-kyriba/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-kyriba/requirements.txt +++ b/airbyte-integrations/connectors/source-kyriba/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-kyriba/setup.py b/airbyte-integrations/connectors/source-kyriba/setup.py index 38db7b9e7771..91695c6a767f 100644 --- a/airbyte-integrations/connectors/source-kyriba/setup.py +++ b/airbyte-integrations/connectors/source-kyriba/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-launchdarkly/README.md b/airbyte-integrations/connectors/source-launchdarkly/README.md index eb7656e96dae..a6ba931922ba 100644 --- a/airbyte-integrations/connectors/source-launchdarkly/README.md +++ b/airbyte-integrations/connectors/source-launchdarkly/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-launchdarkly/acceptance-test-config.yml b/airbyte-integrations/connectors/source-launchdarkly/acceptance-test-config.yml index c4e6316b06c2..dd27120e9bdb 100644 --- a/airbyte-integrations/connectors/source-launchdarkly/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-launchdarkly/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-launchdarkly:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-launchdarkly/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-launchdarkly/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-launchdarkly/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-launchdarkly/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-launchdarkly/build.gradle b/airbyte-integrations/connectors/source-launchdarkly/build.gradle index aa38e150b911..c8e2d48f076d 100644 --- a/airbyte-integrations/connectors/source-launchdarkly/build.gradle +++ b/airbyte-integrations/connectors/source-launchdarkly/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-launchdarkly/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-launchdarkly/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-launchdarkly/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-launchdarkly/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-launchdarkly/requirements.txt b/airbyte-integrations/connectors/source-launchdarkly/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-launchdarkly/requirements.txt +++ b/airbyte-integrations/connectors/source-launchdarkly/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-launchdarkly/setup.py b/airbyte-integrations/connectors/source-launchdarkly/setup.py index 0369cb54cefc..af477879668e 100644 --- a/airbyte-integrations/connectors/source-launchdarkly/setup.py +++ b/airbyte-integrations/connectors/source-launchdarkly/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-lemlist/README.md b/airbyte-integrations/connectors/source-lemlist/README.md index 702b50b8c1ea..c1d6724ba94d 100644 --- a/airbyte-integrations/connectors/source-lemlist/README.md +++ b/airbyte-integrations/connectors/source-lemlist/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-lemlist/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-lemlist/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-lemlist/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-lemlist/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-lemlist/build.gradle b/airbyte-integrations/connectors/source-lemlist/build.gradle index a43040ac7ad7..3a7c00c439ff 100644 --- a/airbyte-integrations/connectors/source-lemlist/build.gradle +++ b/airbyte-integrations/connectors/source-lemlist/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-lemlist/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-lemlist/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-lemlist/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-lemlist/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-lemlist/requirements.txt b/airbyte-integrations/connectors/source-lemlist/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-lemlist/requirements.txt +++ b/airbyte-integrations/connectors/source-lemlist/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-lemlist/setup.py b/airbyte-integrations/connectors/source-lemlist/setup.py index 75c429959ac4..da6fb43d8cba 100644 --- a/airbyte-integrations/connectors/source-lemlist/setup.py +++ b/airbyte-integrations/connectors/source-lemlist/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk", ] -TEST_REQUIREMENTS = ["pytest~=6.2.5", "pytest-mock~=3.6.1", "source-acceptance-test", "responses~=0.14.0"] +TEST_REQUIREMENTS = ["pytest~=6.2.5", "pytest-mock~=3.6.1", "connector-acceptance-test", "responses~=0.14.0"] setup( name="source_lemlist", diff --git a/airbyte-integrations/connectors/source-lever-hiring/README.md b/airbyte-integrations/connectors/source-lever-hiring/README.md index 7198e6590ebd..b1857d9bb975 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/README.md +++ b/airbyte-integrations/connectors/source-lever-hiring/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-lever-hiring/acceptance-test-config.yml b/airbyte-integrations/connectors/source-lever-hiring/acceptance-test-config.yml index 312a783149fb..2180b3dc7b00 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-lever-hiring/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-lever-hiring:dev tests: diff --git a/airbyte-integrations/connectors/source-lever-hiring/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-lever-hiring/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-lever-hiring/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-lever-hiring/build.gradle b/airbyte-integrations/connectors/source-lever-hiring/build.gradle index 2265a0e31104..a68149e4b041 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/build.gradle +++ b/airbyte-integrations/connectors/source-lever-hiring/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-lever-hiring/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-lever-hiring/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-lever-hiring/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-lever-hiring/requirements.txt b/airbyte-integrations/connectors/source-lever-hiring/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/requirements.txt +++ b/airbyte-integrations/connectors/source-lever-hiring/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-lever-hiring/setup.py b/airbyte-integrations/connectors/source-lever-hiring/setup.py index 77d0da957db8..3e098b9ea27a 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/setup.py +++ b/airbyte-integrations/connectors/source-lever-hiring/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.13.3", ] diff --git a/airbyte-integrations/connectors/source-linkedin-ads/README.md b/airbyte-integrations/connectors/source-linkedin-ads/README.md index dea14eef4bdf..6b17f4d5a616 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/README.md +++ b/airbyte-integrations/connectors/source-linkedin-ads/README.md @@ -97,18 +97,18 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-linkedin-ads:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your acceptance-tests with pre-build connector docker image: From `.venv` of the connector, run: ``` -python -m pytest -p source_acceptance_test.plugin +python -m pytest -p connector_acceptance_test.plugin ``` ### Using gradle to run tests diff --git a/airbyte-integrations/connectors/source-linkedin-ads/acceptance-test-config.yml b/airbyte-integrations/connectors/source-linkedin-ads/acceptance-test-config.yml index f3ca04cc632e..347b0f8ec126 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-linkedin-ads/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/contributing-to-airbyte/building-new-connector/source-acceptance-tests) +# See [Connector Acceptance Tests](https://docs.airbyte.com/contributing-to-airbyte/building-new-connector/connector-acceptance-tests) # for more information about how to configure these tests connector_image: airbyte/source-linkedin-ads:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-linkedin-ads/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-linkedin-ads/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-linkedin-ads/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-linkedin-ads/build.gradle b/airbyte-integrations/connectors/source-linkedin-ads/build.gradle index b448b613f004..6551089257fd 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/build.gradle +++ b/airbyte-integrations/connectors/source-linkedin-ads/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-linkedin-ads/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-linkedin-ads/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-linkedin-ads/requirements.txt b/airbyte-integrations/connectors/source-linkedin-ads/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/requirements.txt +++ b/airbyte-integrations/connectors/source-linkedin-ads/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-linkedin-ads/setup.py b/airbyte-integrations/connectors/source-linkedin-ads/setup.py index 46f4018e1aa6..4a0f40a221be 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/setup.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", "requests-mock", ] diff --git a/airbyte-integrations/connectors/source-linkedin-pages/README.md b/airbyte-integrations/connectors/source-linkedin-pages/README.md index 5671f959d3ff..a6089345655e 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/README.md +++ b/airbyte-integrations/connectors/source-linkedin-pages/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-linkedin-pages/acceptance-test-config.yml b/airbyte-integrations/connectors/source-linkedin-pages/acceptance-test-config.yml index 1ede1d61a6a2..fed4008bca10 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-linkedin-pages/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-linkedin-pages:dev tests: diff --git a/airbyte-integrations/connectors/source-linkedin-pages/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-linkedin-pages/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-linkedin-pages/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-linkedin-pages/build.gradle b/airbyte-integrations/connectors/source-linkedin-pages/build.gradle index df9098d6060f..34323a22dff2 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/build.gradle +++ b/airbyte-integrations/connectors/source-linkedin-pages/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-linkedin-pages/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-linkedin-pages/requirements.txt b/airbyte-integrations/connectors/source-linkedin-pages/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/requirements.txt +++ b/airbyte-integrations/connectors/source-linkedin-pages/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-linkedin-pages/setup.py b/airbyte-integrations/connectors/source-linkedin-pages/setup.py index 06721a7d3f41..f8bf6d58b960 100644 --- a/airbyte-integrations/connectors/source-linkedin-pages/setup.py +++ b/airbyte-integrations/connectors/source-linkedin-pages/setup.py @@ -13,7 +13,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-linnworks/README.md b/airbyte-integrations/connectors/source-linnworks/README.md index fa397d9d9c11..276bd3258f5c 100644 --- a/airbyte-integrations/connectors/source-linnworks/README.md +++ b/airbyte-integrations/connectors/source-linnworks/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-linnworks/acceptance-test-config.yml b/airbyte-integrations/connectors/source-linnworks/acceptance-test-config.yml index eec185a3e833..ce4b7ac5c2cf 100644 --- a/airbyte-integrations/connectors/source-linnworks/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-linnworks/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-linnworks:dev tests: diff --git a/airbyte-integrations/connectors/source-linnworks/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-linnworks/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-linnworks/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-linnworks/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-linnworks/build.gradle b/airbyte-integrations/connectors/source-linnworks/build.gradle index d51e6376c613..9f5578323821 100644 --- a/airbyte-integrations/connectors/source-linnworks/build.gradle +++ b/airbyte-integrations/connectors/source-linnworks/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-linnworks/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-linnworks/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-linnworks/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-linnworks/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-linnworks/requirements.txt b/airbyte-integrations/connectors/source-linnworks/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-linnworks/requirements.txt +++ b/airbyte-integrations/connectors/source-linnworks/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-linnworks/setup.py b/airbyte-integrations/connectors/source-linnworks/setup.py index 1ef3cb0871d8..098b089c16ad 100644 --- a/airbyte-integrations/connectors/source-linnworks/setup.py +++ b/airbyte-integrations/connectors/source-linnworks/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "requests-mock~=1.9.3", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-lokalise/README.md b/airbyte-integrations/connectors/source-lokalise/README.md index b9b209ecb381..2196a40cd774 100644 --- a/airbyte-integrations/connectors/source-lokalise/README.md +++ b/airbyte-integrations/connectors/source-lokalise/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-lokalise/acceptance-test-config.yml b/airbyte-integrations/connectors/source-lokalise/acceptance-test-config.yml index 05f1e698b9d9..e7262b855051 100644 --- a/airbyte-integrations/connectors/source-lokalise/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-lokalise/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-lokalise:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-lokalise/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-lokalise/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-lokalise/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-lokalise/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-lokalise/build.gradle b/airbyte-integrations/connectors/source-lokalise/build.gradle index be52bb5ad5ca..8a231283342f 100644 --- a/airbyte-integrations/connectors/source-lokalise/build.gradle +++ b/airbyte-integrations/connectors/source-lokalise/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-lokalise/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-lokalise/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-lokalise/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-lokalise/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-lokalise/requirements.txt b/airbyte-integrations/connectors/source-lokalise/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-lokalise/requirements.txt +++ b/airbyte-integrations/connectors/source-lokalise/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-lokalise/setup.py b/airbyte-integrations/connectors/source-lokalise/setup.py index def00ba65970..3c4e0c518d24 100644 --- a/airbyte-integrations/connectors/source-lokalise/setup.py +++ b/airbyte-integrations/connectors/source-lokalise/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-looker/README.md b/airbyte-integrations/connectors/source-looker/README.md index f7c2c8184745..9aca9eb29917 100644 --- a/airbyte-integrations/connectors/source-looker/README.md +++ b/airbyte-integrations/connectors/source-looker/README.md @@ -99,7 +99,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-looker/acceptance-test-config.yml b/airbyte-integrations/connectors/source-looker/acceptance-test-config.yml index 637e4607ac75..e6e1c025815f 100644 --- a/airbyte-integrations/connectors/source-looker/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-looker/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-looker:dev tests: diff --git a/airbyte-integrations/connectors/source-looker/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-looker/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-looker/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-looker/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-looker/build.gradle b/airbyte-integrations/connectors/source-looker/build.gradle index b30f8bda8e4e..c8741eae92c0 100644 --- a/airbyte-integrations/connectors/source-looker/build.gradle +++ b/airbyte-integrations/connectors/source-looker/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-looker/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-looker/integration_tests/acceptance.py index 5906eb9811de..35d917d1c0f7 100644 --- a/airbyte-integrations/connectors/source-looker/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-looker/integration_tests/acceptance.py @@ -7,7 +7,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-looker/requirements.txt b/airbyte-integrations/connectors/source-looker/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-looker/requirements.txt +++ b/airbyte-integrations/connectors/source-looker/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-looker/setup.py b/airbyte-integrations/connectors/source-looker/setup.py index 2007cfe40f8e..84dd46fa2f97 100644 --- a/airbyte-integrations/connectors/source-looker/setup.py +++ b/airbyte-integrations/connectors/source-looker/setup.py @@ -15,7 +15,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.13.3", ] diff --git a/airbyte-integrations/connectors/source-mailchimp/Dockerfile b/airbyte-integrations/connectors/source-mailchimp/Dockerfile index c9ce055012d5..71dff9422b63 100644 --- a/airbyte-integrations/connectors/source-mailchimp/Dockerfile +++ b/airbyte-integrations/connectors/source-mailchimp/Dockerfile @@ -12,5 +12,5 @@ COPY main.py ./ ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.3.2 +LABEL io.airbyte.version=0.3.3 LABEL io.airbyte.name=airbyte/source-mailchimp diff --git a/airbyte-integrations/connectors/source-mailchimp/README.md b/airbyte-integrations/connectors/source-mailchimp/README.md index 522c7e36fc19..0c6692dad28b 100644 --- a/airbyte-integrations/connectors/source-mailchimp/README.md +++ b/airbyte-integrations/connectors/source-mailchimp/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-mailchimp/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-mailchimp/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-mailchimp/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-mailchimp/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-mailchimp/build.gradle b/airbyte-integrations/connectors/source-mailchimp/build.gradle index dc48f4f56987..072f1bfc5c69 100644 --- a/airbyte-integrations/connectors/source-mailchimp/build.gradle +++ b/airbyte-integrations/connectors/source-mailchimp/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-mailchimp/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mailchimp/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-mailchimp/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mailchimp/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-mailchimp/requirements.txt b/airbyte-integrations/connectors/source-mailchimp/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-mailchimp/requirements.txt +++ b/airbyte-integrations/connectors/source-mailchimp/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-mailchimp/setup.py b/airbyte-integrations/connectors/source-mailchimp/setup.py index e84651c46a97..2d9e899d2af4 100644 --- a/airbyte-integrations/connectors/source-mailchimp/setup.py +++ b/airbyte-integrations/connectors/source-mailchimp/setup.py @@ -5,7 +5,7 @@ from setuptools import find_packages, setup -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "responses~=0.19.0", "requests-mock~=1.9.3"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "responses~=0.19.0", "requests-mock~=1.9.3"] setup( diff --git a/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py b/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py index 517e6c17f4c5..1fca51b24d0b 100644 --- a/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py +++ b/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py @@ -55,6 +55,7 @@ def request_params( return params def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapping]: + self.logger.info(f"Parsing response for stream {self.name}") response_json = response.json() yield from response_json[self.data_field] @@ -97,11 +98,13 @@ def get_updated_state(self, current_stream_state: MutableMapping[str, Any], late def stream_slices( self, *, sync_mode: SyncMode, cursor_field: List[str] = None, stream_state: Mapping[str, Any] = None ) -> Iterable[Optional[Mapping[str, Any]]]: + self.logger.info(f"Slicing stream: {self.name}") slice_ = {} stream_state = stream_state or {} cursor_value = stream_state.get(self.cursor_field) if cursor_value: slice_[self.filter_field] = cursor_value + self.logger.info(f"Yielding slice {slice_}") yield slice_ def request_params(self, stream_state=None, stream_slice=None, **kwargs): @@ -110,6 +113,7 @@ def request_params(self, stream_state=None, stream_slice=None, **kwargs): params = super().request_params(stream_state=stream_state, stream_slice=stream_slice, **kwargs) default_params = {"sort_field": self.sort_field, "sort_dir": "ASC", **stream_slice} params.update(default_params) + self.logger.info(f"Request params are {params}") return params @@ -144,16 +148,20 @@ def stream_slices( self, *, sync_mode: SyncMode, cursor_field: List[str] = None, stream_state: Mapping[str, Any] = None ) -> Iterable[Optional[Mapping[str, Any]]]: stream_state = stream_state or {} + self.logger.info(f"Slicing the stream: {self.name}") if self.campaign_id: # this is a workaround to speed up SATs and enable incremental tests campaigns = [{"id": self.campaign_id}] else: + self.logger.info("Reading campaigns") campaigns = Campaigns(authenticator=self.authenticator).read_records(sync_mode=SyncMode.full_refresh) + self.logger.info("Starting for loop to slice the stream") for campaign in campaigns: slice_ = {"campaign_id": campaign["id"]} cursor_value = stream_state.get(campaign["id"], {}).get(self.cursor_field) if cursor_value: slice_[self.filter_field] = cursor_value + self.logger.info(f"Yielding slice {slice_}") yield slice_ def path(self, stream_slice: Mapping[str, Any] = None, **kwargs) -> str: @@ -179,6 +187,7 @@ def get_updated_state(self, current_stream_state: MutableMapping[str, Any], late return current_stream_state def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapping]: + self.logger.info(f"Parsing response for stream {self.name}") response_json = response.json() # transform before save # [{'campaign_id', 'list_id', 'list_is_active', 'email_id', 'email_address', 'activity[array[object]]', '_links'}] -> @@ -187,3 +196,4 @@ def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapp for item in data: for activity_item in item.pop("activity", []): yield {**item, **activity_item} + self.logger.info("Parsed response") diff --git a/airbyte-integrations/connectors/source-mailerlite/README.md b/airbyte-integrations/connectors/source-mailerlite/README.md index eae17dff484c..e313ce44fab5 100644 --- a/airbyte-integrations/connectors/source-mailerlite/README.md +++ b/airbyte-integrations/connectors/source-mailerlite/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-mailerlite/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mailerlite/acceptance-test-config.yml index dd8de661f296..80718ac797a9 100644 --- a/airbyte-integrations/connectors/source-mailerlite/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mailerlite/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mailerlite:dev tests: diff --git a/airbyte-integrations/connectors/source-mailerlite/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-mailerlite/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-mailerlite/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-mailerlite/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-mailerlite/build.gradle b/airbyte-integrations/connectors/source-mailerlite/build.gradle index eb5cc9daee14..e8d38bfa9364 100644 --- a/airbyte-integrations/connectors/source-mailerlite/build.gradle +++ b/airbyte-integrations/connectors/source-mailerlite/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-mailerlite/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mailerlite/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-mailerlite/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mailerlite/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-mailerlite/requirements.txt b/airbyte-integrations/connectors/source-mailerlite/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-mailerlite/requirements.txt +++ b/airbyte-integrations/connectors/source-mailerlite/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-mailerlite/setup.py b/airbyte-integrations/connectors/source-mailerlite/setup.py index 705801cb0329..a058b383a757 100644 --- a/airbyte-integrations/connectors/source-mailerlite/setup.py +++ b/airbyte-integrations/connectors/source-mailerlite/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-mailersend/README.md b/airbyte-integrations/connectors/source-mailersend/README.md index 53f11774addf..4680ddcb3bdc 100644 --- a/airbyte-integrations/connectors/source-mailersend/README.md +++ b/airbyte-integrations/connectors/source-mailersend/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-mailersend/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mailersend/acceptance-test-config.yml index 4fc67aaba7fe..8a400087862a 100644 --- a/airbyte-integrations/connectors/source-mailersend/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mailersend/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mailersend:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-mailersend/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-mailersend/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-mailersend/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-mailersend/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-mailersend/build.gradle b/airbyte-integrations/connectors/source-mailersend/build.gradle index 15a2083d9718..d19e16b945c0 100644 --- a/airbyte-integrations/connectors/source-mailersend/build.gradle +++ b/airbyte-integrations/connectors/source-mailersend/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-mailersend/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mailersend/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-mailersend/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mailersend/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-mailersend/requirements.txt b/airbyte-integrations/connectors/source-mailersend/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-mailersend/requirements.txt +++ b/airbyte-integrations/connectors/source-mailersend/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-mailersend/setup.py b/airbyte-integrations/connectors/source-mailersend/setup.py index 91769700bd11..546a8c9d7eb6 100644 --- a/airbyte-integrations/connectors/source-mailersend/setup.py +++ b/airbyte-integrations/connectors/source-mailersend/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-mailgun/README.md b/airbyte-integrations/connectors/source-mailgun/README.md index b665730cd726..a49614c72d35 100644 --- a/airbyte-integrations/connectors/source-mailgun/README.md +++ b/airbyte-integrations/connectors/source-mailgun/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-mailgun/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mailgun/acceptance-test-config.yml index ca2b4ee804f5..354740b32bbf 100644 --- a/airbyte-integrations/connectors/source-mailgun/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mailgun/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mailgun:dev tests: diff --git a/airbyte-integrations/connectors/source-mailgun/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-mailgun/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-mailgun/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-mailgun/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-mailgun/build.gradle b/airbyte-integrations/connectors/source-mailgun/build.gradle index 03a7ff3f3fcf..cbadbe9783b3 100644 --- a/airbyte-integrations/connectors/source-mailgun/build.gradle +++ b/airbyte-integrations/connectors/source-mailgun/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-mailgun/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mailgun/integration_tests/acceptance.py index 49a002bb2405..e58ab6929537 100644 --- a/airbyte-integrations/connectors/source-mailgun/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mailgun/integration_tests/acceptance.py @@ -11,7 +11,7 @@ from .fill_data import DataFiller -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) class Config: diff --git a/airbyte-integrations/connectors/source-mailgun/requirements.txt b/airbyte-integrations/connectors/source-mailgun/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-mailgun/requirements.txt +++ b/airbyte-integrations/connectors/source-mailgun/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-mailgun/setup.py b/airbyte-integrations/connectors/source-mailgun/setup.py index c42ec1a9b2e5..222acf75cd76 100644 --- a/airbyte-integrations/connectors/source-mailgun/setup.py +++ b/airbyte-integrations/connectors/source-mailgun/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "responses~=0.16.0", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-mailjet-mail/README.md b/airbyte-integrations/connectors/source-mailjet-mail/README.md index e2814ba1bb13..8669749eeaf7 100644 --- a/airbyte-integrations/connectors/source-mailjet-mail/README.md +++ b/airbyte-integrations/connectors/source-mailjet-mail/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-mailjet-mail/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mailjet-mail/acceptance-test-config.yml index 321dd4d268ef..a2b3df29f9a4 100644 --- a/airbyte-integrations/connectors/source-mailjet-mail/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mailjet-mail/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mailjet-mail:dev tests: diff --git a/airbyte-integrations/connectors/source-mailjet-mail/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-mailjet-mail/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-mailjet-mail/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-mailjet-mail/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-mailjet-mail/build.gradle b/airbyte-integrations/connectors/source-mailjet-mail/build.gradle index 2078df5f5d93..3fbd4c02d8f9 100644 --- a/airbyte-integrations/connectors/source-mailjet-mail/build.gradle +++ b/airbyte-integrations/connectors/source-mailjet-mail/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-mailjet-mail/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mailjet-mail/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-mailjet-mail/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mailjet-mail/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-mailjet-mail/requirements.txt b/airbyte-integrations/connectors/source-mailjet-mail/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-mailjet-mail/requirements.txt +++ b/airbyte-integrations/connectors/source-mailjet-mail/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-mailjet-mail/setup.py b/airbyte-integrations/connectors/source-mailjet-mail/setup.py index 9fc525ecd862..135c0ae89459 100644 --- a/airbyte-integrations/connectors/source-mailjet-mail/setup.py +++ b/airbyte-integrations/connectors/source-mailjet-mail/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-mailjet-sms/README.md b/airbyte-integrations/connectors/source-mailjet-sms/README.md index c93c50623f14..fd5b3e2b5ca3 100644 --- a/airbyte-integrations/connectors/source-mailjet-sms/README.md +++ b/airbyte-integrations/connectors/source-mailjet-sms/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-mailjet-sms/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mailjet-sms/acceptance-test-config.yml index 765ceee61e31..9e621b1d482e 100644 --- a/airbyte-integrations/connectors/source-mailjet-sms/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mailjet-sms/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mailjet-sms:dev tests: diff --git a/airbyte-integrations/connectors/source-mailjet-sms/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-mailjet-sms/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-mailjet-sms/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-mailjet-sms/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-mailjet-sms/build.gradle b/airbyte-integrations/connectors/source-mailjet-sms/build.gradle index 6ec77e0faeec..a196522dde6b 100644 --- a/airbyte-integrations/connectors/source-mailjet-sms/build.gradle +++ b/airbyte-integrations/connectors/source-mailjet-sms/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-mailjet-sms/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mailjet-sms/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-mailjet-sms/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mailjet-sms/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-mailjet-sms/requirements.txt b/airbyte-integrations/connectors/source-mailjet-sms/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-mailjet-sms/requirements.txt +++ b/airbyte-integrations/connectors/source-mailjet-sms/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-mailjet-sms/setup.py b/airbyte-integrations/connectors/source-mailjet-sms/setup.py index 1fbf89120862..62c7767a976e 100644 --- a/airbyte-integrations/connectors/source-mailjet-sms/setup.py +++ b/airbyte-integrations/connectors/source-mailjet-sms/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-marketo/README.md b/airbyte-integrations/connectors/source-marketo/README.md index 13bb4d40d704..9471d23456d9 100644 --- a/airbyte-integrations/connectors/source-marketo/README.md +++ b/airbyte-integrations/connectors/source-marketo/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-marketo/acceptance-test-config.yml b/airbyte-integrations/connectors/source-marketo/acceptance-test-config.yml index 3f680f662222..da063e7462cd 100644 --- a/airbyte-integrations/connectors/source-marketo/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-marketo/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-marketo:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-marketo/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-marketo/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-marketo/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-marketo/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-marketo/build.gradle b/airbyte-integrations/connectors/source-marketo/build.gradle index 8ce68796afd6..bc438cffd1fd 100644 --- a/airbyte-integrations/connectors/source-marketo/build.gradle +++ b/airbyte-integrations/connectors/source-marketo/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-marketo/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-marketo/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-marketo/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-marketo/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-marketo/requirements.txt b/airbyte-integrations/connectors/source-marketo/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-marketo/requirements.txt +++ b/airbyte-integrations/connectors/source-marketo/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-marketo/setup.py b/airbyte-integrations/connectors/source-marketo/setup.py index 1130809377d9..5b17b78db694 100644 --- a/airbyte-integrations/connectors/source-marketo/setup.py +++ b/airbyte-integrations/connectors/source-marketo/setup.py @@ -14,7 +14,7 @@ "pytest-faker==2.0.0", "pytest-mock~=3.6.1", "requests-mock", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-metabase/README.md b/airbyte-integrations/connectors/source-metabase/README.md index 83176089ae17..e093d4073774 100644 --- a/airbyte-integrations/connectors/source-metabase/README.md +++ b/airbyte-integrations/connectors/source-metabase/README.md @@ -62,7 +62,7 @@ python -m pytest unit_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-metabase/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-metabase/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-metabase/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-metabase/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-metabase/build.gradle b/airbyte-integrations/connectors/source-metabase/build.gradle index 27011735b5c5..bdf84a8909ba 100644 --- a/airbyte-integrations/connectors/source-metabase/build.gradle +++ b/airbyte-integrations/connectors/source-metabase/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-metabase/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-metabase/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-metabase/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-metabase/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-metabase/requirements.txt b/airbyte-integrations/connectors/source-metabase/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-metabase/requirements.txt +++ b/airbyte-integrations/connectors/source-metabase/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-microsoft-dataverse/README.md b/airbyte-integrations/connectors/source-microsoft-dataverse/README.md index 261fc5d4b899..b74c48998813 100644 --- a/airbyte-integrations/connectors/source-microsoft-dataverse/README.md +++ b/airbyte-integrations/connectors/source-microsoft-dataverse/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-microsoft-dataverse/acceptance-test-config.yml b/airbyte-integrations/connectors/source-microsoft-dataverse/acceptance-test-config.yml index 38c7d1899a41..c9b0e33dad3c 100644 --- a/airbyte-integrations/connectors/source-microsoft-dataverse/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-microsoft-dataverse/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-microsoft-dataverse:dev tests: diff --git a/airbyte-integrations/connectors/source-microsoft-dataverse/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-microsoft-dataverse/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-microsoft-dataverse/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-microsoft-dataverse/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-microsoft-dataverse/build.gradle b/airbyte-integrations/connectors/source-microsoft-dataverse/build.gradle index ba9d9a834a74..ad3ce5ecf70e 100644 --- a/airbyte-integrations/connectors/source-microsoft-dataverse/build.gradle +++ b/airbyte-integrations/connectors/source-microsoft-dataverse/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-microsoft-dataverse/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-microsoft-dataverse/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-microsoft-dataverse/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-microsoft-dataverse/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-microsoft-dataverse/requirements.txt b/airbyte-integrations/connectors/source-microsoft-dataverse/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-microsoft-dataverse/requirements.txt +++ b/airbyte-integrations/connectors/source-microsoft-dataverse/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-microsoft-dataverse/setup.py b/airbyte-integrations/connectors/source-microsoft-dataverse/setup.py index 2eb0ceeda35e..bd77be9379c9 100644 --- a/airbyte-integrations/connectors/source-microsoft-dataverse/setup.py +++ b/airbyte-integrations/connectors/source-microsoft-dataverse/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-config.yml b/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-config.yml index 3ed33bbf1dd1..b87584405b26 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-microsoft-teams:dev tests: diff --git a/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-microsoft-teams/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-microsoft-teams/build.gradle b/airbyte-integrations/connectors/source-microsoft-teams/build.gradle index 694ca5ffffb5..2b91c3d20d33 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/build.gradle +++ b/airbyte-integrations/connectors/source-microsoft-teams/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-microsoft-teams/requirements.txt b/airbyte-integrations/connectors/source-microsoft-teams/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/requirements.txt +++ b/airbyte-integrations/connectors/source-microsoft-teams/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-microsoft-teams/setup.py b/airbyte-integrations/connectors/source-microsoft-teams/setup.py index b54b7fa8d7a2..926bc5659abe 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/setup.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/setup.py @@ -15,7 +15,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-mixpanel/README.md b/airbyte-integrations/connectors/source-mixpanel/README.md index 36a2a875572e..3b5924076c0e 100644 --- a/airbyte-integrations/connectors/source-mixpanel/README.md +++ b/airbyte-integrations/connectors/source-mixpanel/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-mixpanel/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mixpanel/acceptance-test-config.yml index 43baaefd5f9b..b80464e4912c 100644 --- a/airbyte-integrations/connectors/source-mixpanel/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mixpanel/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mixpanel:dev test_strictness_level: "high" diff --git a/airbyte-integrations/connectors/source-mixpanel/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-mixpanel/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-mixpanel/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-mixpanel/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-mixpanel/build.gradle b/airbyte-integrations/connectors/source-mixpanel/build.gradle index 0aed85e2f489..c94ff8d6d8bc 100644 --- a/airbyte-integrations/connectors/source-mixpanel/build.gradle +++ b/airbyte-integrations/connectors/source-mixpanel/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-mixpanel/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mixpanel/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-mixpanel/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mixpanel/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-mixpanel/requirements.txt b/airbyte-integrations/connectors/source-mixpanel/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-mixpanel/requirements.txt +++ b/airbyte-integrations/connectors/source-mixpanel/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-mixpanel/setup.py b/airbyte-integrations/connectors/source-mixpanel/setup.py index 8853942e605d..94e480479d49 100644 --- a/airbyte-integrations/connectors/source-mixpanel/setup.py +++ b/airbyte-integrations/connectors/source-mixpanel/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk~=0.2", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "pytest-mock~=3.6", "requests_mock~=1.8"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "pytest-mock~=3.6", "requests_mock~=1.8"] setup( name="source_mixpanel", diff --git a/airbyte-integrations/connectors/source-monday/README.md b/airbyte-integrations/connectors/source-monday/README.md index b876f674886e..9fb9c7cc4e57 100644 --- a/airbyte-integrations/connectors/source-monday/README.md +++ b/airbyte-integrations/connectors/source-monday/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-monday/acceptance-test-config.yml b/airbyte-integrations/connectors/source-monday/acceptance-test-config.yml index ce12a5d3c675..f401faf6dfdf 100644 --- a/airbyte-integrations/connectors/source-monday/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-monday/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-monday:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-monday/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-monday/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-monday/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-monday/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-monday/build.gradle b/airbyte-integrations/connectors/source-monday/build.gradle index 4c5d111ea203..be2a0793944f 100644 --- a/airbyte-integrations/connectors/source-monday/build.gradle +++ b/airbyte-integrations/connectors/source-monday/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-monday/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-monday/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-monday/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-monday/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-monday/requirements.txt b/airbyte-integrations/connectors/source-monday/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-monday/requirements.txt +++ b/airbyte-integrations/connectors/source-monday/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-monday/setup.py b/airbyte-integrations/connectors/source-monday/setup.py index c7f3b68b2191..20ec64afe0db 100644 --- a/airbyte-integrations/connectors/source-monday/setup.py +++ b/airbyte-integrations/connectors/source-monday/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-mongodb-v2/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mongodb-v2/acceptance-test-config.yml index ce4581678511..b9fbb0c58c78 100644 --- a/airbyte-integrations/connectors/source-mongodb-v2/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mongodb-v2/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mongodb-v2:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-mongodb-v2/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-mongodb-v2/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100755 --- a/airbyte-integrations/connectors/source-mongodb-v2/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-mongodb-v2/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-mongodb-v2/build.gradle b/airbyte-integrations/connectors/source-mongodb-v2/build.gradle index ab5675cd3211..184450a14c73 100644 --- a/airbyte-integrations/connectors/source-mongodb-v2/build.gradle +++ b/airbyte-integrations/connectors/source-mongodb-v2/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-mongodb-v2/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mongodb-v2/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-mongodb-v2/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mongodb-v2/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-mssql-strict-encrypt/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mssql-strict-encrypt/acceptance-test-config.yml index 2c513e3132ce..ca1b6918bf58 100644 --- a/airbyte-integrations/connectors/source-mssql-strict-encrypt/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mssql-strict-encrypt/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mssql-strict-encrypt:dev tests: diff --git a/airbyte-integrations/connectors/source-mssql/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mssql/acceptance-test-config.yml index 2b3f94e1b3a8..706d04b5d0b9 100644 --- a/airbyte-integrations/connectors/source-mssql/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mssql/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mssql:dev tests: diff --git a/airbyte-integrations/connectors/source-mssql/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-mssql/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-mssql/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-mssql/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-mssql/build.gradle b/airbyte-integrations/connectors/source-mssql/build.gradle index 55f5f5a313c3..ffd490be4ee4 100644 --- a/airbyte-integrations/connectors/source-mssql/build.gradle +++ b/airbyte-integrations/connectors/source-mssql/build.gradle @@ -3,7 +3,7 @@ plugins { id 'airbyte-docker' id 'airbyte-integration-test-java' id 'airbyte-performance-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-mssql/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mssql/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-mssql/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mssql/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-my-hours/README.md b/airbyte-integrations/connectors/source-my-hours/README.md index ecc63e618bbd..0c36c4916434 100644 --- a/airbyte-integrations/connectors/source-my-hours/README.md +++ b/airbyte-integrations/connectors/source-my-hours/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-my-hours/acceptance-test-config.yml b/airbyte-integrations/connectors/source-my-hours/acceptance-test-config.yml index 652b076e81be..63087cafebc3 100644 --- a/airbyte-integrations/connectors/source-my-hours/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-my-hours/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-my-hours:dev tests: diff --git a/airbyte-integrations/connectors/source-my-hours/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-my-hours/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-my-hours/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-my-hours/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-my-hours/build.gradle b/airbyte-integrations/connectors/source-my-hours/build.gradle index 51a470763139..40b6e37e709f 100644 --- a/airbyte-integrations/connectors/source-my-hours/build.gradle +++ b/airbyte-integrations/connectors/source-my-hours/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-my-hours/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-my-hours/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-my-hours/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-my-hours/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-my-hours/requirements.txt b/airbyte-integrations/connectors/source-my-hours/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-my-hours/requirements.txt +++ b/airbyte-integrations/connectors/source-my-hours/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-my-hours/setup.py b/airbyte-integrations/connectors/source-my-hours/setup.py index 10f6e57da8b2..e19e47199dfa 100644 --- a/airbyte-integrations/connectors/source-my-hours/setup.py +++ b/airbyte-integrations/connectors/source-my-hours/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "requests_mock==1.8.0", "responses~=0.16.0", ] diff --git a/airbyte-integrations/connectors/source-mysql-strict-encrypt/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mysql-strict-encrypt/acceptance-test-config.yml index 5dbe535ccb3e..c2ef1564874e 100644 --- a/airbyte-integrations/connectors/source-mysql-strict-encrypt/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mysql-strict-encrypt/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mysql-strict-encrypt:dev tests: diff --git a/airbyte-integrations/connectors/source-mysql/acceptance-test-config.yml b/airbyte-integrations/connectors/source-mysql/acceptance-test-config.yml index 4653b50be581..a3dd76400d68 100644 --- a/airbyte-integrations/connectors/source-mysql/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-mysql/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-mysql:dev tests: diff --git a/airbyte-integrations/connectors/source-mysql/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-mysql/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-mysql/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-mysql/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-mysql/build.gradle b/airbyte-integrations/connectors/source-mysql/build.gradle index b82567b64c26..89f6eb87b0f7 100644 --- a/airbyte-integrations/connectors/source-mysql/build.gradle +++ b/airbyte-integrations/connectors/source-mysql/build.gradle @@ -3,7 +3,7 @@ plugins { id 'airbyte-docker' id 'airbyte-integration-test-java' id 'airbyte-performance-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-mysql/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mysql/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-mysql/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mysql/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-n8n/README.md b/airbyte-integrations/connectors/source-n8n/README.md index cd06a03f5f49..1030a8f655ec 100644 --- a/airbyte-integrations/connectors/source-n8n/README.md +++ b/airbyte-integrations/connectors/source-n8n/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-n8n/acceptance-test-config.yml b/airbyte-integrations/connectors/source-n8n/acceptance-test-config.yml index 3c51cc74a242..c72809a2672c 100644 --- a/airbyte-integrations/connectors/source-n8n/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-n8n/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-n8n:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-n8n/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-n8n/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-n8n/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-n8n/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-n8n/build.gradle b/airbyte-integrations/connectors/source-n8n/build.gradle index 1d54f8ea835e..4cb0f6c570e6 100644 --- a/airbyte-integrations/connectors/source-n8n/build.gradle +++ b/airbyte-integrations/connectors/source-n8n/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-n8n/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-n8n/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-n8n/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-n8n/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-n8n/requirements.txt b/airbyte-integrations/connectors/source-n8n/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-n8n/requirements.txt +++ b/airbyte-integrations/connectors/source-n8n/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-n8n/setup.py b/airbyte-integrations/connectors/source-n8n/setup.py index bbaadbab6b65..fbfcf96178b3 100644 --- a/airbyte-integrations/connectors/source-n8n/setup.py +++ b/airbyte-integrations/connectors/source-n8n/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-nasa/README.md b/airbyte-integrations/connectors/source-nasa/README.md index 532154929ece..1eaa431ebb4a 100644 --- a/airbyte-integrations/connectors/source-nasa/README.md +++ b/airbyte-integrations/connectors/source-nasa/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-nasa/acceptance-test-config.yml b/airbyte-integrations/connectors/source-nasa/acceptance-test-config.yml index 543a876fd5b4..b934790d8dba 100644 --- a/airbyte-integrations/connectors/source-nasa/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-nasa/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-nasa:dev tests: diff --git a/airbyte-integrations/connectors/source-nasa/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-nasa/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-nasa/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-nasa/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-nasa/build.gradle b/airbyte-integrations/connectors/source-nasa/build.gradle index 84acad7f37c4..be5dc20b8d59 100644 --- a/airbyte-integrations/connectors/source-nasa/build.gradle +++ b/airbyte-integrations/connectors/source-nasa/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-nasa/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-nasa/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-nasa/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-nasa/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-nasa/requirements.txt b/airbyte-integrations/connectors/source-nasa/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-nasa/requirements.txt +++ b/airbyte-integrations/connectors/source-nasa/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-nasa/setup.py b/airbyte-integrations/connectors/source-nasa/setup.py index bde7a24e5245..a66c721adf8d 100644 --- a/airbyte-integrations/connectors/source-nasa/setup.py +++ b/airbyte-integrations/connectors/source-nasa/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-netsuite/README.md b/airbyte-integrations/connectors/source-netsuite/README.md index 1fcb0e344130..00509cec457f 100644 --- a/airbyte-integrations/connectors/source-netsuite/README.md +++ b/airbyte-integrations/connectors/source-netsuite/README.md @@ -98,12 +98,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-netsuite:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-netsuite/acceptance-test-config.yml b/airbyte-integrations/connectors/source-netsuite/acceptance-test-config.yml index b2099398732a..90edf7530a22 100644 --- a/airbyte-integrations/connectors/source-netsuite/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-netsuite/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-netsuite:dev tests: diff --git a/airbyte-integrations/connectors/source-netsuite/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-netsuite/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-netsuite/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-netsuite/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-netsuite/build.gradle b/airbyte-integrations/connectors/source-netsuite/build.gradle index 4aae6a6e5363..7639ed1ff369 100644 --- a/airbyte-integrations/connectors/source-netsuite/build.gradle +++ b/airbyte-integrations/connectors/source-netsuite/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-netsuite/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-netsuite/integration_tests/acceptance.py index 59bc2f04e375..0adee4627d06 100644 --- a/airbyte-integrations/connectors/source-netsuite/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-netsuite/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-netsuite/requirements.txt b/airbyte-integrations/connectors/source-netsuite/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-netsuite/requirements.txt +++ b/airbyte-integrations/connectors/source-netsuite/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-netsuite/setup.py b/airbyte-integrations/connectors/source-netsuite/setup.py index 85d053fd38c0..e2cb98124bd9 100644 --- a/airbyte-integrations/connectors/source-netsuite/setup.py +++ b/airbyte-integrations/connectors/source-netsuite/setup.py @@ -13,7 +13,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "requests-mock", ] diff --git a/airbyte-integrations/connectors/source-news-api/README.md b/airbyte-integrations/connectors/source-news-api/README.md index 45ddb2499eeb..9d32f1b4212a 100644 --- a/airbyte-integrations/connectors/source-news-api/README.md +++ b/airbyte-integrations/connectors/source-news-api/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-news-api/acceptance-test-config.yml b/airbyte-integrations/connectors/source-news-api/acceptance-test-config.yml index 707b28130dcb..859a317b41c8 100644 --- a/airbyte-integrations/connectors/source-news-api/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-news-api/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-news-api:dev tests: diff --git a/airbyte-integrations/connectors/source-news-api/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-news-api/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-news-api/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-news-api/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-news-api/build.gradle b/airbyte-integrations/connectors/source-news-api/build.gradle index 748352a9064e..83e27779983d 100644 --- a/airbyte-integrations/connectors/source-news-api/build.gradle +++ b/airbyte-integrations/connectors/source-news-api/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-news-api/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-news-api/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-news-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-news-api/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-news-api/requirements.txt b/airbyte-integrations/connectors/source-news-api/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-news-api/requirements.txt +++ b/airbyte-integrations/connectors/source-news-api/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-news-api/setup.py b/airbyte-integrations/connectors/source-news-api/setup.py index 4e5daa9de7c0..9d7c199e46cf 100644 --- a/airbyte-integrations/connectors/source-news-api/setup.py +++ b/airbyte-integrations/connectors/source-news-api/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-newsdata/README.md b/airbyte-integrations/connectors/source-newsdata/README.md index 4a4e36cc6c3a..3fed2f2d83e2 100644 --- a/airbyte-integrations/connectors/source-newsdata/README.md +++ b/airbyte-integrations/connectors/source-newsdata/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-newsdata/acceptance-test-config.yml b/airbyte-integrations/connectors/source-newsdata/acceptance-test-config.yml index a333228b391b..911eb6b26ae7 100644 --- a/airbyte-integrations/connectors/source-newsdata/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-newsdata/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-newsdata:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-newsdata/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-newsdata/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-newsdata/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-newsdata/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-newsdata/build.gradle b/airbyte-integrations/connectors/source-newsdata/build.gradle index 8e930b32624b..78b0b19c41c0 100644 --- a/airbyte-integrations/connectors/source-newsdata/build.gradle +++ b/airbyte-integrations/connectors/source-newsdata/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-newsdata/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-newsdata/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-newsdata/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-newsdata/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-newsdata/requirements.txt b/airbyte-integrations/connectors/source-newsdata/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-newsdata/requirements.txt +++ b/airbyte-integrations/connectors/source-newsdata/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-newsdata/setup.py b/airbyte-integrations/connectors/source-newsdata/setup.py index e37e1b508e46..fbb9e5c46a5b 100644 --- a/airbyte-integrations/connectors/source-newsdata/setup.py +++ b/airbyte-integrations/connectors/source-newsdata/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-notion/README.md b/airbyte-integrations/connectors/source-notion/README.md index 1ba66cbf88fb..bbfcf4c969e1 100644 --- a/airbyte-integrations/connectors/source-notion/README.md +++ b/airbyte-integrations/connectors/source-notion/README.md @@ -98,12 +98,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-notion:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-notion/acceptance-test-config.yml b/airbyte-integrations/connectors/source-notion/acceptance-test-config.yml index fa98d3e97c4d..46ebcf0189cb 100644 --- a/airbyte-integrations/connectors/source-notion/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-notion/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-notion:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-notion/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-notion/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-notion/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-notion/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-notion/build.gradle b/airbyte-integrations/connectors/source-notion/build.gradle index 047301dff58c..af1958ba1156 100644 --- a/airbyte-integrations/connectors/source-notion/build.gradle +++ b/airbyte-integrations/connectors/source-notion/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-notion/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-notion/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-notion/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-notion/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-notion/requirements.txt b/airbyte-integrations/connectors/source-notion/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-notion/requirements.txt +++ b/airbyte-integrations/connectors/source-notion/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-notion/setup.py b/airbyte-integrations/connectors/source-notion/setup.py index a18cc513662a..00ebbd0b66d5 100644 --- a/airbyte-integrations/connectors/source-notion/setup.py +++ b/airbyte-integrations/connectors/source-notion/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "requests-mock", ] diff --git a/airbyte-integrations/connectors/source-nytimes/README.md b/airbyte-integrations/connectors/source-nytimes/README.md index a2a6f8500194..ba817d58a47d 100644 --- a/airbyte-integrations/connectors/source-nytimes/README.md +++ b/airbyte-integrations/connectors/source-nytimes/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-nytimes/acceptance-test-config.yml b/airbyte-integrations/connectors/source-nytimes/acceptance-test-config.yml index 7c4bc83849c3..1ff862137d56 100644 --- a/airbyte-integrations/connectors/source-nytimes/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-nytimes/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-nytimes:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-nytimes/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-nytimes/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-nytimes/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-nytimes/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-nytimes/build.gradle b/airbyte-integrations/connectors/source-nytimes/build.gradle index e1410f09c048..bfa7662835c9 100644 --- a/airbyte-integrations/connectors/source-nytimes/build.gradle +++ b/airbyte-integrations/connectors/source-nytimes/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-nytimes/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-nytimes/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-nytimes/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-nytimes/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-nytimes/requirements.txt b/airbyte-integrations/connectors/source-nytimes/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-nytimes/requirements.txt +++ b/airbyte-integrations/connectors/source-nytimes/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-nytimes/setup.py b/airbyte-integrations/connectors/source-nytimes/setup.py index babec603a1d6..0aef725880ad 100644 --- a/airbyte-integrations/connectors/source-nytimes/setup.py +++ b/airbyte-integrations/connectors/source-nytimes/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-okta/README.md b/airbyte-integrations/connectors/source-okta/README.md index 551c136f3548..547f851b8f51 100644 --- a/airbyte-integrations/connectors/source-okta/README.md +++ b/airbyte-integrations/connectors/source-okta/README.md @@ -122,13 +122,13 @@ python -m pytest integration_tests #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-okta:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-okta/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-okta/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100755 --- a/airbyte-integrations/connectors/source-okta/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-okta/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-okta/build.gradle b/airbyte-integrations/connectors/source-okta/build.gradle index 9201c83fc54c..cf453332ab68 100644 --- a/airbyte-integrations/connectors/source-okta/build.gradle +++ b/airbyte-integrations/connectors/source-okta/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-okta/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-okta/integration_tests/acceptance.py index 2531db894344..1e36f326cdd7 100644 --- a/airbyte-integrations/connectors/source-okta/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-okta/integration_tests/acceptance.py @@ -4,7 +4,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-okta/requirements.txt b/airbyte-integrations/connectors/source-okta/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-okta/requirements.txt +++ b/airbyte-integrations/connectors/source-okta/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-okta/setup.py b/airbyte-integrations/connectors/source-okta/setup.py index 1e4150953b17..dbbeab2374db 100644 --- a/airbyte-integrations/connectors/source-okta/setup.py +++ b/airbyte-integrations/connectors/source-okta/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", "pytest-mock~=3.6.1", "requests-mock", ] diff --git a/airbyte-integrations/connectors/source-omnisend/README.md b/airbyte-integrations/connectors/source-omnisend/README.md index a7ebc1a61c9b..ee2159fb3627 100644 --- a/airbyte-integrations/connectors/source-omnisend/README.md +++ b/airbyte-integrations/connectors/source-omnisend/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-omnisend/acceptance-test-config.yml b/airbyte-integrations/connectors/source-omnisend/acceptance-test-config.yml index 5e564f15e742..28c845e8b336 100644 --- a/airbyte-integrations/connectors/source-omnisend/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-omnisend/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-omnisend:dev tests: diff --git a/airbyte-integrations/connectors/source-omnisend/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-omnisend/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-omnisend/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-omnisend/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-omnisend/build.gradle b/airbyte-integrations/connectors/source-omnisend/build.gradle index e05603478788..1b49d7f33314 100644 --- a/airbyte-integrations/connectors/source-omnisend/build.gradle +++ b/airbyte-integrations/connectors/source-omnisend/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-omnisend/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-omnisend/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-omnisend/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-omnisend/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-omnisend/requirements.txt b/airbyte-integrations/connectors/source-omnisend/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-omnisend/requirements.txt +++ b/airbyte-integrations/connectors/source-omnisend/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-omnisend/setup.py b/airbyte-integrations/connectors/source-omnisend/setup.py index 8d6fdde4916f..4f74ea85cae8 100644 --- a/airbyte-integrations/connectors/source-omnisend/setup.py +++ b/airbyte-integrations/connectors/source-omnisend/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-onesignal/README.md b/airbyte-integrations/connectors/source-onesignal/README.md index fd8185c740bc..6e6fc1ed465f 100644 --- a/airbyte-integrations/connectors/source-onesignal/README.md +++ b/airbyte-integrations/connectors/source-onesignal/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-onesignal/acceptance-test-config.yml b/airbyte-integrations/connectors/source-onesignal/acceptance-test-config.yml index e7a055386875..7a3e2fc40852 100644 --- a/airbyte-integrations/connectors/source-onesignal/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-onesignal/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-onesignal:dev tests: diff --git a/airbyte-integrations/connectors/source-onesignal/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-onesignal/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-onesignal/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-onesignal/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-onesignal/build.gradle b/airbyte-integrations/connectors/source-onesignal/build.gradle index 4ca455137d6a..1deb2d23c7ad 100644 --- a/airbyte-integrations/connectors/source-onesignal/build.gradle +++ b/airbyte-integrations/connectors/source-onesignal/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-onesignal/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-onesignal/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-onesignal/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-onesignal/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-onesignal/requirements.txt b/airbyte-integrations/connectors/source-onesignal/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-onesignal/requirements.txt +++ b/airbyte-integrations/connectors/source-onesignal/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-onesignal/setup.py b/airbyte-integrations/connectors/source-onesignal/setup.py index 93c226bde637..4597f2dfc263 100644 --- a/airbyte-integrations/connectors/source-onesignal/setup.py +++ b/airbyte-integrations/connectors/source-onesignal/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "requests-mock", ] diff --git a/airbyte-integrations/connectors/source-openweather/README.md b/airbyte-integrations/connectors/source-openweather/README.md index 0c787fe03304..ef78da15ca26 100644 --- a/airbyte-integrations/connectors/source-openweather/README.md +++ b/airbyte-integrations/connectors/source-openweather/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-openweather/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-openweather/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100755 --- a/airbyte-integrations/connectors/source-openweather/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-openweather/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-openweather/build.gradle b/airbyte-integrations/connectors/source-openweather/build.gradle index 846d5dbf3369..6f6b06aa79e9 100644 --- a/airbyte-integrations/connectors/source-openweather/build.gradle +++ b/airbyte-integrations/connectors/source-openweather/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-openweather/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-openweather/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-openweather/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-openweather/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-openweather/requirements.txt b/airbyte-integrations/connectors/source-openweather/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-openweather/requirements.txt +++ b/airbyte-integrations/connectors/source-openweather/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-openweather/setup.py b/airbyte-integrations/connectors/source-openweather/setup.py index 2b87b5abd952..712bfab2043c 100644 --- a/airbyte-integrations/connectors/source-openweather/setup.py +++ b/airbyte-integrations/connectors/source-openweather/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-oracle-strict-encrypt/acceptance-test-config.yml b/airbyte-integrations/connectors/source-oracle-strict-encrypt/acceptance-test-config.yml index fd4f0356b9f2..bfd298afacb1 100644 --- a/airbyte-integrations/connectors/source-oracle-strict-encrypt/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-oracle-strict-encrypt/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-oracle-strict-encrypt:dev tests: diff --git a/airbyte-integrations/connectors/source-oracle/acceptance-test-config.yml b/airbyte-integrations/connectors/source-oracle/acceptance-test-config.yml index fc86a52ddd77..1dad4c01150e 100644 --- a/airbyte-integrations/connectors/source-oracle/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-oracle/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-oracle:dev tests: diff --git a/airbyte-integrations/connectors/source-oracle/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-oracle/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-oracle/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-oracle/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-oracle/build.gradle b/airbyte-integrations/connectors/source-oracle/build.gradle index 32cc9db422df..e5dfe20d3995 100644 --- a/airbyte-integrations/connectors/source-oracle/build.gradle +++ b/airbyte-integrations/connectors/source-oracle/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-oracle/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-oracle/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-oracle/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-oracle/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-orb/README.md b/airbyte-integrations/connectors/source-orb/README.md index fb0047107d3c..79f0a0d76bc1 100644 --- a/airbyte-integrations/connectors/source-orb/README.md +++ b/airbyte-integrations/connectors/source-orb/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-orb/acceptance-test-config.yml b/airbyte-integrations/connectors/source-orb/acceptance-test-config.yml index 86db5f7a0923..66464ba6b434 100644 --- a/airbyte-integrations/connectors/source-orb/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-orb/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-orb:dev tests: diff --git a/airbyte-integrations/connectors/source-orb/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-orb/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-orb/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-orb/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-orb/build.gradle b/airbyte-integrations/connectors/source-orb/build.gradle index 9fb9f3dd2b25..db679342c380 100644 --- a/airbyte-integrations/connectors/source-orb/build.gradle +++ b/airbyte-integrations/connectors/source-orb/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-orb/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-orb/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-orb/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-orb/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-orb/requirements.txt b/airbyte-integrations/connectors/source-orb/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-orb/requirements.txt +++ b/airbyte-integrations/connectors/source-orb/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-orb/setup.py b/airbyte-integrations/connectors/source-orb/setup.py index dbbc66ba224a..0ee8494ff632 100644 --- a/airbyte-integrations/connectors/source-orb/setup.py +++ b/airbyte-integrations/connectors/source-orb/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk~=0.1", "pendulum==2.1.2"] -TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "source-acceptance-test", "responses~=0.13.3", "pendulum==2.1.2"] +TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "connector-acceptance-test", "responses~=0.13.3", "pendulum==2.1.2"] setup( name="source_orb", diff --git a/airbyte-integrations/connectors/source-orbit/README.md b/airbyte-integrations/connectors/source-orbit/README.md index bb71b2d2e912..7f4df920d80b 100644 --- a/airbyte-integrations/connectors/source-orbit/README.md +++ b/airbyte-integrations/connectors/source-orbit/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-orbit/acceptance-test-config.yml b/airbyte-integrations/connectors/source-orbit/acceptance-test-config.yml index 7113ca5ca503..d49a28f248ac 100644 --- a/airbyte-integrations/connectors/source-orbit/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-orbit/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-orbit:dev tests: diff --git a/airbyte-integrations/connectors/source-orbit/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-orbit/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-orbit/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-orbit/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-orbit/build.gradle b/airbyte-integrations/connectors/source-orbit/build.gradle index 198305c2ab13..b58192d5333e 100644 --- a/airbyte-integrations/connectors/source-orbit/build.gradle +++ b/airbyte-integrations/connectors/source-orbit/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-orbit/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-orbit/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-orbit/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-orbit/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-orbit/requirements.txt b/airbyte-integrations/connectors/source-orbit/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-orbit/requirements.txt +++ b/airbyte-integrations/connectors/source-orbit/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-orbit/setup.py b/airbyte-integrations/connectors/source-orbit/setup.py index 7598440195a9..33802a458f13 100644 --- a/airbyte-integrations/connectors/source-orbit/setup.py +++ b/airbyte-integrations/connectors/source-orbit/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-oura/README.md b/airbyte-integrations/connectors/source-oura/README.md index 7029f82d9cae..77794dd6e6b8 100644 --- a/airbyte-integrations/connectors/source-oura/README.md +++ b/airbyte-integrations/connectors/source-oura/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-oura/acceptance-test-config.yml b/airbyte-integrations/connectors/source-oura/acceptance-test-config.yml index d28931b81703..fa8b56cb9c9c 100644 --- a/airbyte-integrations/connectors/source-oura/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-oura/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-oura:dev tests: diff --git a/airbyte-integrations/connectors/source-oura/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-oura/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-oura/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-oura/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-oura/build.gradle b/airbyte-integrations/connectors/source-oura/build.gradle index b91b54e0f6ee..facec3b6d3e7 100644 --- a/airbyte-integrations/connectors/source-oura/build.gradle +++ b/airbyte-integrations/connectors/source-oura/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-oura/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-oura/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-oura/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-oura/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-oura/requirements.txt b/airbyte-integrations/connectors/source-oura/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-oura/requirements.txt +++ b/airbyte-integrations/connectors/source-oura/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-oura/setup.py b/airbyte-integrations/connectors/source-oura/setup.py index 947f2fa770b4..a8ba6ad07adc 100644 --- a/airbyte-integrations/connectors/source-oura/setup.py +++ b/airbyte-integrations/connectors/source-oura/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-outreach/README.md b/airbyte-integrations/connectors/source-outreach/README.md index 6ff5ace7e644..927f6900a64f 100644 --- a/airbyte-integrations/connectors/source-outreach/README.md +++ b/airbyte-integrations/connectors/source-outreach/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-outreach/acceptance-test-config.yml b/airbyte-integrations/connectors/source-outreach/acceptance-test-config.yml index 6d066c01f4ca..269933b1f239 100644 --- a/airbyte-integrations/connectors/source-outreach/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-outreach/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-outreach:dev tests: diff --git a/airbyte-integrations/connectors/source-outreach/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-outreach/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-outreach/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-outreach/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-outreach/build.gradle b/airbyte-integrations/connectors/source-outreach/build.gradle index 4122cef19999..7033eeea3536 100644 --- a/airbyte-integrations/connectors/source-outreach/build.gradle +++ b/airbyte-integrations/connectors/source-outreach/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-outreach/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-outreach/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-outreach/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-outreach/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-outreach/requirements.txt b/airbyte-integrations/connectors/source-outreach/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-outreach/requirements.txt +++ b/airbyte-integrations/connectors/source-outreach/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-outreach/setup.py b/airbyte-integrations/connectors/source-outreach/setup.py index 868faa0df1f2..89f3e023091c 100644 --- a/airbyte-integrations/connectors/source-outreach/setup.py +++ b/airbyte-integrations/connectors/source-outreach/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-pardot/README.md b/airbyte-integrations/connectors/source-pardot/README.md index 988bbfb43ad1..acf1d421b03d 100644 --- a/airbyte-integrations/connectors/source-pardot/README.md +++ b/airbyte-integrations/connectors/source-pardot/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-pardot/acceptance-test-config.yml b/airbyte-integrations/connectors/source-pardot/acceptance-test-config.yml index dc8ca0fcdce6..4492873e1f06 100644 --- a/airbyte-integrations/connectors/source-pardot/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-pardot/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-pardot:dev tests: diff --git a/airbyte-integrations/connectors/source-pardot/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-pardot/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-pardot/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-pardot/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-pardot/build.gradle b/airbyte-integrations/connectors/source-pardot/build.gradle index 5af0fc93a13e..0c5580055d38 100644 --- a/airbyte-integrations/connectors/source-pardot/build.gradle +++ b/airbyte-integrations/connectors/source-pardot/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-pardot/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pardot/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-pardot/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pardot/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-pardot/requirements.txt b/airbyte-integrations/connectors/source-pardot/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-pardot/requirements.txt +++ b/airbyte-integrations/connectors/source-pardot/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-pardot/setup.py b/airbyte-integrations/connectors/source-pardot/setup.py index 07e7908f7eaf..ac8442fb0ef1 100644 --- a/airbyte-integrations/connectors/source-pardot/setup.py +++ b/airbyte-integrations/connectors/source-pardot/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-partnerstack/README.md b/airbyte-integrations/connectors/source-partnerstack/README.md index c2d61c9435fd..3521109239b0 100644 --- a/airbyte-integrations/connectors/source-partnerstack/README.md +++ b/airbyte-integrations/connectors/source-partnerstack/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-partnerstack/acceptance-test-config.yml b/airbyte-integrations/connectors/source-partnerstack/acceptance-test-config.yml index adc1da7691b4..32be8ce2ef47 100644 --- a/airbyte-integrations/connectors/source-partnerstack/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-partnerstack/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-partnerstack:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-partnerstack/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-partnerstack/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-partnerstack/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-partnerstack/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-partnerstack/build.gradle b/airbyte-integrations/connectors/source-partnerstack/build.gradle index 61d7a10468a4..5e63dcfd459f 100644 --- a/airbyte-integrations/connectors/source-partnerstack/build.gradle +++ b/airbyte-integrations/connectors/source-partnerstack/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-partnerstack/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-partnerstack/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-partnerstack/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-partnerstack/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-partnerstack/requirements.txt b/airbyte-integrations/connectors/source-partnerstack/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-partnerstack/requirements.txt +++ b/airbyte-integrations/connectors/source-partnerstack/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-partnerstack/setup.py b/airbyte-integrations/connectors/source-partnerstack/setup.py index 64bade243e1a..ec4168a77841 100644 --- a/airbyte-integrations/connectors/source-partnerstack/setup.py +++ b/airbyte-integrations/connectors/source-partnerstack/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-paypal-transaction/README.md b/airbyte-integrations/connectors/source-paypal-transaction/README.md index fce18f1b3e0e..8ab3f609ab3a 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/README.md +++ b/airbyte-integrations/connectors/source-paypal-transaction/README.md @@ -95,12 +95,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-paypal-transaction:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-paypal-transaction/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-paypal-transaction/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-paypal-transaction/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-paypal-transaction/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-paypal-transaction/build.gradle b/airbyte-integrations/connectors/source-paypal-transaction/build.gradle index 933d0df0e634..e67e581b0312 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/build.gradle +++ b/airbyte-integrations/connectors/source-paypal-transaction/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-paypal-transaction/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-paypal-transaction/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-paypal-transaction/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-paypal-transaction/requirements.txt b/airbyte-integrations/connectors/source-paypal-transaction/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/requirements.txt +++ b/airbyte-integrations/connectors/source-paypal-transaction/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-paypal-transaction/setup.py b/airbyte-integrations/connectors/source-paypal-transaction/setup.py index 8babc8c122b5..4478a14c11cb 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/setup.py +++ b/airbyte-integrations/connectors/source-paypal-transaction/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6", "requests-mock", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-paystack/README.md b/airbyte-integrations/connectors/source-paystack/README.md index 377059e585c0..0b76ca015f1f 100644 --- a/airbyte-integrations/connectors/source-paystack/README.md +++ b/airbyte-integrations/connectors/source-paystack/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-paystack/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-paystack/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-paystack/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-paystack/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-paystack/build.gradle b/airbyte-integrations/connectors/source-paystack/build.gradle index 0dec3ecb3dab..372409ca3a27 100644 --- a/airbyte-integrations/connectors/source-paystack/build.gradle +++ b/airbyte-integrations/connectors/source-paystack/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-paystack/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-paystack/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-paystack/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-paystack/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-paystack/requirements.txt b/airbyte-integrations/connectors/source-paystack/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-paystack/requirements.txt +++ b/airbyte-integrations/connectors/source-paystack/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-paystack/setup.py b/airbyte-integrations/connectors/source-paystack/setup.py index 0c121c6a9900..bf18e0f6a68d 100644 --- a/airbyte-integrations/connectors/source-paystack/setup.py +++ b/airbyte-integrations/connectors/source-paystack/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "source-acceptance-test", "requests-mock"] +TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "connector-acceptance-test", "requests-mock"] setup( name="source_paystack", diff --git a/airbyte-integrations/connectors/source-persistiq/README.md b/airbyte-integrations/connectors/source-persistiq/README.md index f36570bb419c..e7c3a64b440d 100644 --- a/airbyte-integrations/connectors/source-persistiq/README.md +++ b/airbyte-integrations/connectors/source-persistiq/README.md @@ -99,7 +99,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-persistiq/acceptance-test-config.yml b/airbyte-integrations/connectors/source-persistiq/acceptance-test-config.yml index dde9b8947c01..167e0b33151c 100644 --- a/airbyte-integrations/connectors/source-persistiq/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-persistiq/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-persistiq:dev tests: diff --git a/airbyte-integrations/connectors/source-persistiq/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-persistiq/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-persistiq/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-persistiq/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-persistiq/build.gradle b/airbyte-integrations/connectors/source-persistiq/build.gradle index a7700be96ab8..f7d40b3c8513 100644 --- a/airbyte-integrations/connectors/source-persistiq/build.gradle +++ b/airbyte-integrations/connectors/source-persistiq/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-persistiq/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-persistiq/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-persistiq/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-persistiq/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-persistiq/requirements.txt b/airbyte-integrations/connectors/source-persistiq/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-persistiq/requirements.txt +++ b/airbyte-integrations/connectors/source-persistiq/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-persistiq/setup.py b/airbyte-integrations/connectors/source-persistiq/setup.py index 5959d84a244c..49cefb38164e 100644 --- a/airbyte-integrations/connectors/source-persistiq/setup.py +++ b/airbyte-integrations/connectors/source-persistiq/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "requests_mock==1.8.0", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-pexels-api/README.md b/airbyte-integrations/connectors/source-pexels-api/README.md index 9185269d731e..37f00ad7940b 100644 --- a/airbyte-integrations/connectors/source-pexels-api/README.md +++ b/airbyte-integrations/connectors/source-pexels-api/README.md @@ -72,7 +72,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-pexels-api/acceptance-test-config.yml b/airbyte-integrations/connectors/source-pexels-api/acceptance-test-config.yml index fac407da2ceb..aafab76b069f 100644 --- a/airbyte-integrations/connectors/source-pexels-api/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-pexels-api/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-pexels-api:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-pexels-api/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-pexels-api/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-pexels-api/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-pexels-api/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-pexels-api/build.gradle b/airbyte-integrations/connectors/source-pexels-api/build.gradle index 3309355431d7..b03d71ed91d6 100644 --- a/airbyte-integrations/connectors/source-pexels-api/build.gradle +++ b/airbyte-integrations/connectors/source-pexels-api/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-pexels-api/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pexels-api/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-pexels-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pexels-api/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-pexels-api/requirements.txt b/airbyte-integrations/connectors/source-pexels-api/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-pexels-api/requirements.txt +++ b/airbyte-integrations/connectors/source-pexels-api/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-pexels-api/setup.py b/airbyte-integrations/connectors/source-pexels-api/setup.py index 595906638a3b..e6d6cfe6bbda 100644 --- a/airbyte-integrations/connectors/source-pexels-api/setup.py +++ b/airbyte-integrations/connectors/source-pexels-api/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-pinterest/README.md b/airbyte-integrations/connectors/source-pinterest/README.md index c930a85d87ed..f7b174d7a0d3 100644 --- a/airbyte-integrations/connectors/source-pinterest/README.md +++ b/airbyte-integrations/connectors/source-pinterest/README.md @@ -98,12 +98,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-pinterest:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-pinterest/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-pinterest/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-pinterest/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-pinterest/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-pinterest/build.gradle b/airbyte-integrations/connectors/source-pinterest/build.gradle index 989168b38bba..85707c1f009e 100644 --- a/airbyte-integrations/connectors/source-pinterest/build.gradle +++ b/airbyte-integrations/connectors/source-pinterest/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-pinterest/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pinterest/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-pinterest/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pinterest/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-pinterest/requirements.txt b/airbyte-integrations/connectors/source-pinterest/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-pinterest/requirements.txt +++ b/airbyte-integrations/connectors/source-pinterest/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-pinterest/setup.py b/airbyte-integrations/connectors/source-pinterest/setup.py index 32f7388f2937..e49dbc05a4ee 100644 --- a/airbyte-integrations/connectors/source-pinterest/setup.py +++ b/airbyte-integrations/connectors/source-pinterest/setup.py @@ -10,7 +10,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.13.3", "requests-mock", ] diff --git a/airbyte-integrations/connectors/source-pipedrive/README.md b/airbyte-integrations/connectors/source-pipedrive/README.md index 249e044e1486..25eaff686dfa 100644 --- a/airbyte-integrations/connectors/source-pipedrive/README.md +++ b/airbyte-integrations/connectors/source-pipedrive/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-pipedrive/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-pipedrive/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-pipedrive/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-pipedrive/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-pipedrive/build.gradle b/airbyte-integrations/connectors/source-pipedrive/build.gradle index e694e7144b04..11ef1bebda08 100644 --- a/airbyte-integrations/connectors/source-pipedrive/build.gradle +++ b/airbyte-integrations/connectors/source-pipedrive/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-pipedrive/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pipedrive/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-pipedrive/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pipedrive/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-pipedrive/requirements.txt b/airbyte-integrations/connectors/source-pipedrive/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-pipedrive/requirements.txt +++ b/airbyte-integrations/connectors/source-pipedrive/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/README.md b/airbyte-integrations/connectors/source-pivotal-tracker/README.md index a432322c5fd5..fcce2540445e 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/README.md +++ b/airbyte-integrations/connectors/source-pivotal-tracker/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/acceptance-test-config.yml b/airbyte-integrations/connectors/source-pivotal-tracker/acceptance-test-config.yml index 21de13877195..a4583f6b32ca 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-pivotal-tracker/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-pivotal-tracker:dev tests: diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-pivotal-tracker/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-pivotal-tracker/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/build.gradle b/airbyte-integrations/connectors/source-pivotal-tracker/build.gradle index 35e230419def..edb8af069c2f 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/build.gradle +++ b/airbyte-integrations/connectors/source-pivotal-tracker/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pivotal-tracker/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pivotal-tracker/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/requirements.txt b/airbyte-integrations/connectors/source-pivotal-tracker/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/requirements.txt +++ b/airbyte-integrations/connectors/source-pivotal-tracker/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/setup.py b/airbyte-integrations/connectors/source-pivotal-tracker/setup.py index ff2c8fc5a277..f0354e26b894 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/setup.py +++ b/airbyte-integrations/connectors/source-pivotal-tracker/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.13.3", ] diff --git a/airbyte-integrations/connectors/source-plaid/README.md b/airbyte-integrations/connectors/source-plaid/README.md index 385825fb8ddb..f1601229131e 100644 --- a/airbyte-integrations/connectors/source-plaid/README.md +++ b/airbyte-integrations/connectors/source-plaid/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-plaid/acceptance-test-config.yml b/airbyte-integrations/connectors/source-plaid/acceptance-test-config.yml index 94498591b6c0..ba1479d67b7b 100644 --- a/airbyte-integrations/connectors/source-plaid/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-plaid/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-plaid:dev tests: diff --git a/airbyte-integrations/connectors/source-plaid/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-plaid/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-plaid/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-plaid/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-plaid/build.gradle b/airbyte-integrations/connectors/source-plaid/build.gradle index 173cf9fbb553..40f8a01b7f87 100644 --- a/airbyte-integrations/connectors/source-plaid/build.gradle +++ b/airbyte-integrations/connectors/source-plaid/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-plaid/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-plaid/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-plaid/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-plaid/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-plaid/requirements.txt b/airbyte-integrations/connectors/source-plaid/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-plaid/requirements.txt +++ b/airbyte-integrations/connectors/source-plaid/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-plaid/setup.py b/airbyte-integrations/connectors/source-plaid/setup.py index 22d3ce7a7ffe..6353ed64827e 100644 --- a/airbyte-integrations/connectors/source-plaid/setup.py +++ b/airbyte-integrations/connectors/source-plaid/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-plausible/README.md b/airbyte-integrations/connectors/source-plausible/README.md index 9e057fdd5863..55a51d5e2645 100644 --- a/airbyte-integrations/connectors/source-plausible/README.md +++ b/airbyte-integrations/connectors/source-plausible/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-plausible/acceptance-test-config.yml b/airbyte-integrations/connectors/source-plausible/acceptance-test-config.yml index 07581487d5c4..7baa099ac122 100644 --- a/airbyte-integrations/connectors/source-plausible/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-plausible/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-plausible:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-plausible/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-plausible/acceptance-test-docker.sh index fa680528f222..12d5fc492996 100755 --- a/airbyte-integrations/connectors/source-plausible/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-plausible/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-plausible/build.gradle b/airbyte-integrations/connectors/source-plausible/build.gradle index a0e0655b430f..6103e26cc959 100644 --- a/airbyte-integrations/connectors/source-plausible/build.gradle +++ b/airbyte-integrations/connectors/source-plausible/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-plausible/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-plausible/integration_tests/acceptance.py index e2a8f1a4cb74..c1f899e184f9 100644 --- a/airbyte-integrations/connectors/source-plausible/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-plausible/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-plausible/requirements.txt b/airbyte-integrations/connectors/source-plausible/requirements.txt index 78140e52009f..91de78ac4144 100644 --- a/airbyte-integrations/connectors/source-plausible/requirements.txt +++ b/airbyte-integrations/connectors/source-plausible/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-plausible/setup.py b/airbyte-integrations/connectors/source-plausible/setup.py index f10c9c2264ce..9859bdf09844 100644 --- a/airbyte-integrations/connectors/source-plausible/setup.py +++ b/airbyte-integrations/connectors/source-plausible/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-pocket/README.md b/airbyte-integrations/connectors/source-pocket/README.md index c7d6e71624c3..8f4cabdb8dec 100644 --- a/airbyte-integrations/connectors/source-pocket/README.md +++ b/airbyte-integrations/connectors/source-pocket/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-pocket/acceptance-test-config.yml b/airbyte-integrations/connectors/source-pocket/acceptance-test-config.yml index 393ad8f1553b..6872e3612d7b 100644 --- a/airbyte-integrations/connectors/source-pocket/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-pocket/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-pocket:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-pocket/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-pocket/acceptance-test-docker.sh index c416fd144055..394835b93b09 100644 --- a/airbyte-integrations/connectors/source-pocket/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-pocket/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-pocket/build.gradle b/airbyte-integrations/connectors/source-pocket/build.gradle index c47ba950c3ba..8011b8f52f31 100644 --- a/airbyte-integrations/connectors/source-pocket/build.gradle +++ b/airbyte-integrations/connectors/source-pocket/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-pocket/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pocket/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-pocket/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pocket/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-pocket/requirements.txt b/airbyte-integrations/connectors/source-pocket/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-pocket/requirements.txt +++ b/airbyte-integrations/connectors/source-pocket/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-pocket/setup.py b/airbyte-integrations/connectors/source-pocket/setup.py index 805434106f15..2b50ca7ccb81 100644 --- a/airbyte-integrations/connectors/source-pocket/setup.py +++ b/airbyte-integrations/connectors/source-pocket/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-pokeapi/README.md b/airbyte-integrations/connectors/source-pokeapi/README.md index 019e75ee4480..8d422510264a 100644 --- a/airbyte-integrations/connectors/source-pokeapi/README.md +++ b/airbyte-integrations/connectors/source-pokeapi/README.md @@ -106,7 +106,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-pokeapi/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-pokeapi/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-pokeapi/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-pokeapi/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-pokeapi/build.gradle b/airbyte-integrations/connectors/source-pokeapi/build.gradle index f936f5ff6e4c..e20b1bd1378c 100644 --- a/airbyte-integrations/connectors/source-pokeapi/build.gradle +++ b/airbyte-integrations/connectors/source-pokeapi/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-pokeapi/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pokeapi/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-pokeapi/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pokeapi/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-pokeapi/requirements.txt b/airbyte-integrations/connectors/source-pokeapi/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-pokeapi/requirements.txt +++ b/airbyte-integrations/connectors/source-pokeapi/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-pokeapi/setup.py b/airbyte-integrations/connectors/source-pokeapi/setup.py index b5a4b6b26354..ee280e2110cc 100644 --- a/airbyte-integrations/connectors/source-pokeapi/setup.py +++ b/airbyte-integrations/connectors/source-pokeapi/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk~=0.1"] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test"] setup( name="source_pokeapi", diff --git a/airbyte-integrations/connectors/source-polygon-stock-api/README.md b/airbyte-integrations/connectors/source-polygon-stock-api/README.md index b32a733b8f96..2e63a49667f3 100644 --- a/airbyte-integrations/connectors/source-polygon-stock-api/README.md +++ b/airbyte-integrations/connectors/source-polygon-stock-api/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-polygon-stock-api/acceptance-test-config.yml b/airbyte-integrations/connectors/source-polygon-stock-api/acceptance-test-config.yml index 9b16ade662a9..50352654ce14 100644 --- a/airbyte-integrations/connectors/source-polygon-stock-api/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-polygon-stock-api/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-polygon-stock-api:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-polygon-stock-api/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-polygon-stock-api/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-polygon-stock-api/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-polygon-stock-api/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-polygon-stock-api/build.gradle b/airbyte-integrations/connectors/source-polygon-stock-api/build.gradle index 41db8677ed5e..77b2bebfc5be 100644 --- a/airbyte-integrations/connectors/source-polygon-stock-api/build.gradle +++ b/airbyte-integrations/connectors/source-polygon-stock-api/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-polygon-stock-api/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-polygon-stock-api/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-polygon-stock-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-polygon-stock-api/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-polygon-stock-api/requirements.txt b/airbyte-integrations/connectors/source-polygon-stock-api/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-polygon-stock-api/requirements.txt +++ b/airbyte-integrations/connectors/source-polygon-stock-api/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-polygon-stock-api/setup.py b/airbyte-integrations/connectors/source-polygon-stock-api/setup.py index 0164c42e4b51..b80e3cea1cbb 100644 --- a/airbyte-integrations/connectors/source-polygon-stock-api/setup.py +++ b/airbyte-integrations/connectors/source-polygon-stock-api/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-postgres-strict-encrypt/acceptance-test-config.yml b/airbyte-integrations/connectors/source-postgres-strict-encrypt/acceptance-test-config.yml index ec3eed823ea1..f497d002a406 100644 --- a/airbyte-integrations/connectors/source-postgres-strict-encrypt/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-postgres-strict-encrypt/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-postgres-strict-encrypt:dev tests: diff --git a/airbyte-integrations/connectors/source-postgres/acceptance-test-config.yml b/airbyte-integrations/connectors/source-postgres/acceptance-test-config.yml index 4037858cb533..18d9d202a275 100644 --- a/airbyte-integrations/connectors/source-postgres/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-postgres/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-postgres:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-postgres/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-postgres/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100755 --- a/airbyte-integrations/connectors/source-postgres/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-postgres/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-postgres/build.gradle b/airbyte-integrations/connectors/source-postgres/build.gradle index 36e8c8b0b8a4..71f93708d1f5 100644 --- a/airbyte-integrations/connectors/source-postgres/build.gradle +++ b/airbyte-integrations/connectors/source-postgres/build.gradle @@ -3,7 +3,7 @@ plugins { id 'airbyte-docker' id 'airbyte-integration-test-java' id 'airbyte-performance-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-postgres/integration_tests/README.md b/airbyte-integrations/connectors/source-postgres/integration_tests/README.md index 7c80177d8fd3..45e74b238d3c 100644 --- a/airbyte-integrations/connectors/source-postgres/integration_tests/README.md +++ b/airbyte-integrations/connectors/source-postgres/integration_tests/README.md @@ -1,4 +1,4 @@ -This directory contains files used to run Source Acceptance Tests. +This directory contains files used to run Connector Acceptance Tests. * `abnormal_state.json` describes a connector state with a non-existing cursor value. * `expected_records.txt` lists all the records expected as the output of the basic read operation. * `incremental_configured_catalog.json` is a configured catalog used as an input of the `incremental` test. diff --git a/airbyte-integrations/connectors/source-postgres/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-postgres/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-postgres/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-postgres/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-posthog/README.md b/airbyte-integrations/connectors/source-posthog/README.md index c02c12132162..5939e3e3cb17 100644 --- a/airbyte-integrations/connectors/source-posthog/README.md +++ b/airbyte-integrations/connectors/source-posthog/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-posthog/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-posthog/acceptance-test-docker.sh index 4ceedd9e7ba0..735d9d162608 100755 --- a/airbyte-integrations/connectors/source-posthog/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-posthog/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-posthog/build.gradle b/airbyte-integrations/connectors/source-posthog/build.gradle index 2b7de1b343a7..f0b7f8eab85c 100644 --- a/airbyte-integrations/connectors/source-posthog/build.gradle +++ b/airbyte-integrations/connectors/source-posthog/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,6 +9,6 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-posthog/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-posthog/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-posthog/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-posthog/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-posthog/requirements.txt b/airbyte-integrations/connectors/source-posthog/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-posthog/requirements.txt +++ b/airbyte-integrations/connectors/source-posthog/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-posthog/setup.py b/airbyte-integrations/connectors/source-posthog/setup.py index 04f54fa7eea5..c7cbb6ab1458 100644 --- a/airbyte-integrations/connectors/source-posthog/setup.py +++ b/airbyte-integrations/connectors/source-posthog/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-postmarkapp/README.md b/airbyte-integrations/connectors/source-postmarkapp/README.md index c44654ce8ddf..2a695a6d3075 100644 --- a/airbyte-integrations/connectors/source-postmarkapp/README.md +++ b/airbyte-integrations/connectors/source-postmarkapp/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-postmarkapp/acceptance-test-config.yml b/airbyte-integrations/connectors/source-postmarkapp/acceptance-test-config.yml index 60f350527621..bd2574c01ab3 100644 --- a/airbyte-integrations/connectors/source-postmarkapp/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-postmarkapp/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-postmarkapp:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-postmarkapp/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-postmarkapp/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-postmarkapp/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-postmarkapp/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-postmarkapp/build.gradle b/airbyte-integrations/connectors/source-postmarkapp/build.gradle index cb04abfc4ae7..d013a9d71639 100644 --- a/airbyte-integrations/connectors/source-postmarkapp/build.gradle +++ b/airbyte-integrations/connectors/source-postmarkapp/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-postmarkapp/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-postmarkapp/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-postmarkapp/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-postmarkapp/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-postmarkapp/requirements.txt b/airbyte-integrations/connectors/source-postmarkapp/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-postmarkapp/requirements.txt +++ b/airbyte-integrations/connectors/source-postmarkapp/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-postmarkapp/setup.py b/airbyte-integrations/connectors/source-postmarkapp/setup.py index a29c3ebdad3d..d604e788d0ac 100644 --- a/airbyte-integrations/connectors/source-postmarkapp/setup.py +++ b/airbyte-integrations/connectors/source-postmarkapp/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-prestashop/README.md b/airbyte-integrations/connectors/source-prestashop/README.md index ba0631184cbe..17d28622803a 100644 --- a/airbyte-integrations/connectors/source-prestashop/README.md +++ b/airbyte-integrations/connectors/source-prestashop/README.md @@ -124,7 +124,7 @@ python -m pytest integration_tests #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run diff --git a/airbyte-integrations/connectors/source-prestashop/acceptance-test-config.yml b/airbyte-integrations/connectors/source-prestashop/acceptance-test-config.yml index 9940dc1b3ff2..a0beaa7275a5 100644 --- a/airbyte-integrations/connectors/source-prestashop/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-prestashop/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-prestashop:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-prestashop/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-prestashop/acceptance-test-docker.sh index c416fd144055..394835b93b09 100644 --- a/airbyte-integrations/connectors/source-prestashop/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-prestashop/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-prestashop/build.gradle b/airbyte-integrations/connectors/source-prestashop/build.gradle index e24edd8b82dd..d1ca6e6f7712 100644 --- a/airbyte-integrations/connectors/source-prestashop/build.gradle +++ b/airbyte-integrations/connectors/source-prestashop/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-prestashop/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-prestashop/integration_tests/acceptance.py index 2290f4a170fc..ab3ada496f87 100644 --- a/airbyte-integrations/connectors/source-prestashop/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-prestashop/integration_tests/acceptance.py @@ -12,7 +12,7 @@ import pytest HERE = Path(__file__).parent.absolute() -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(name="create_config", scope="session") diff --git a/airbyte-integrations/connectors/source-prestashop/requirements.txt b/airbyte-integrations/connectors/source-prestashop/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-prestashop/requirements.txt +++ b/airbyte-integrations/connectors/source-prestashop/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-prestashop/setup.py b/airbyte-integrations/connectors/source-prestashop/setup.py index d84be3b868b9..d31475745963 100644 --- a/airbyte-integrations/connectors/source-prestashop/setup.py +++ b/airbyte-integrations/connectors/source-prestashop/setup.py @@ -11,7 +11,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-primetric/README.md b/airbyte-integrations/connectors/source-primetric/README.md index 674744625e9e..82805232285e 100644 --- a/airbyte-integrations/connectors/source-primetric/README.md +++ b/airbyte-integrations/connectors/source-primetric/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-primetric/acceptance-test-config.yml b/airbyte-integrations/connectors/source-primetric/acceptance-test-config.yml index 6fba1de696bb..71eae717b1aa 100644 --- a/airbyte-integrations/connectors/source-primetric/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-primetric/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-primetric:dev tests: diff --git a/airbyte-integrations/connectors/source-primetric/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-primetric/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-primetric/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-primetric/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-primetric/build.gradle b/airbyte-integrations/connectors/source-primetric/build.gradle index 42dbec54a8af..a91acbf25af7 100644 --- a/airbyte-integrations/connectors/source-primetric/build.gradle +++ b/airbyte-integrations/connectors/source-primetric/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-primetric/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-primetric/integration_tests/acceptance.py index e6f6b8f9fef8..fd2f9a8f7fd3 100644 --- a/airbyte-integrations/connectors/source-primetric/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-primetric/integration_tests/acceptance.py @@ -10,7 +10,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-primetric/requirements.txt b/airbyte-integrations/connectors/source-primetric/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-primetric/requirements.txt +++ b/airbyte-integrations/connectors/source-primetric/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-primetric/setup.py b/airbyte-integrations/connectors/source-primetric/setup.py index dbc4c52e4af9..df2976c102b6 100644 --- a/airbyte-integrations/connectors/source-primetric/setup.py +++ b/airbyte-integrations/connectors/source-primetric/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-public-apis/README.md b/airbyte-integrations/connectors/source-public-apis/README.md index 743520456851..7b6d5c541361 100644 --- a/airbyte-integrations/connectors/source-public-apis/README.md +++ b/airbyte-integrations/connectors/source-public-apis/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-public-apis/acceptance-test-config.yml b/airbyte-integrations/connectors/source-public-apis/acceptance-test-config.yml index ac96606aa111..1628949d5750 100644 --- a/airbyte-integrations/connectors/source-public-apis/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-public-apis/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-public-apis:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-public-apis/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-public-apis/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-public-apis/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-public-apis/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-public-apis/build.gradle b/airbyte-integrations/connectors/source-public-apis/build.gradle index 70f478b82a1c..2dc55d841593 100644 --- a/airbyte-integrations/connectors/source-public-apis/build.gradle +++ b/airbyte-integrations/connectors/source-public-apis/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-public-apis/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-public-apis/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-public-apis/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-public-apis/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-public-apis/requirements.txt b/airbyte-integrations/connectors/source-public-apis/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-public-apis/requirements.txt +++ b/airbyte-integrations/connectors/source-public-apis/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-public-apis/setup.py b/airbyte-integrations/connectors/source-public-apis/setup.py index aa18141af671..ffa0478af234 100644 --- a/airbyte-integrations/connectors/source-public-apis/setup.py +++ b/airbyte-integrations/connectors/source-public-apis/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-punk-api/README.md b/airbyte-integrations/connectors/source-punk-api/README.md index 2d2f0f313997..554789bfbcf5 100644 --- a/airbyte-integrations/connectors/source-punk-api/README.md +++ b/airbyte-integrations/connectors/source-punk-api/README.md @@ -71,7 +71,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-punk-api/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-punk-api/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-punk-api/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-punk-api/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-punk-api/build.gradle b/airbyte-integrations/connectors/source-punk-api/build.gradle index 5027bccce117..80c533c57853 100644 --- a/airbyte-integrations/connectors/source-punk-api/build.gradle +++ b/airbyte-integrations/connectors/source-punk-api/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-punk-api/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-punk-api/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-punk-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-punk-api/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-punk-api/requirements.txt b/airbyte-integrations/connectors/source-punk-api/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-punk-api/requirements.txt +++ b/airbyte-integrations/connectors/source-punk-api/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-punk-api/setup.py b/airbyte-integrations/connectors/source-punk-api/setup.py index bb920efc7d2a..fb31a52e3f15 100644 --- a/airbyte-integrations/connectors/source-punk-api/setup.py +++ b/airbyte-integrations/connectors/source-punk-api/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-pypi/README.md b/airbyte-integrations/connectors/source-pypi/README.md index f3411d8bae3a..aaf4457269df 100644 --- a/airbyte-integrations/connectors/source-pypi/README.md +++ b/airbyte-integrations/connectors/source-pypi/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-pypi/acceptance-test-config.yml b/airbyte-integrations/connectors/source-pypi/acceptance-test-config.yml index 5aa563a20c36..2dfd50f20235 100644 --- a/airbyte-integrations/connectors/source-pypi/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-pypi/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-pypi:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-pypi/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-pypi/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-pypi/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-pypi/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-pypi/build.gradle b/airbyte-integrations/connectors/source-pypi/build.gradle index 08ad52762c4a..e1fe15dd0e41 100644 --- a/airbyte-integrations/connectors/source-pypi/build.gradle +++ b/airbyte-integrations/connectors/source-pypi/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-pypi/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pypi/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-pypi/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pypi/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-pypi/requirements.txt b/airbyte-integrations/connectors/source-pypi/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-pypi/requirements.txt +++ b/airbyte-integrations/connectors/source-pypi/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-pypi/setup.py b/airbyte-integrations/connectors/source-pypi/setup.py index ec0aa103d81f..73a491cdbc99 100644 --- a/airbyte-integrations/connectors/source-pypi/setup.py +++ b/airbyte-integrations/connectors/source-pypi/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-qonto/README.md b/airbyte-integrations/connectors/source-qonto/README.md index 7118ea0ff6a0..c99921193907 100644 --- a/airbyte-integrations/connectors/source-qonto/README.md +++ b/airbyte-integrations/connectors/source-qonto/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-qonto/acceptance-test-config.yml b/airbyte-integrations/connectors/source-qonto/acceptance-test-config.yml index 0508da7f7e66..5184e369fa39 100644 --- a/airbyte-integrations/connectors/source-qonto/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-qonto/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-qonto:dev tests: diff --git a/airbyte-integrations/connectors/source-qonto/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-qonto/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-qonto/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-qonto/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-qonto/build.gradle b/airbyte-integrations/connectors/source-qonto/build.gradle index 5e53cd943218..10cd050c1aa2 100644 --- a/airbyte-integrations/connectors/source-qonto/build.gradle +++ b/airbyte-integrations/connectors/source-qonto/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-qonto/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-qonto/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-qonto/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-qonto/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-qonto/requirements.txt b/airbyte-integrations/connectors/source-qonto/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-qonto/requirements.txt +++ b/airbyte-integrations/connectors/source-qonto/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-qonto/setup.py b/airbyte-integrations/connectors/source-qonto/setup.py index dc7b2baee5c5..a935d47979a4 100644 --- a/airbyte-integrations/connectors/source-qonto/setup.py +++ b/airbyte-integrations/connectors/source-qonto/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-qualaroo/README.md b/airbyte-integrations/connectors/source-qualaroo/README.md index 6859e9f588f9..0d7d94544593 100644 --- a/airbyte-integrations/connectors/source-qualaroo/README.md +++ b/airbyte-integrations/connectors/source-qualaroo/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-qualaroo/acceptance-test-config.yml b/airbyte-integrations/connectors/source-qualaroo/acceptance-test-config.yml index 5946cd6f4f0b..3d77add761e5 100644 --- a/airbyte-integrations/connectors/source-qualaroo/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-qualaroo/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-qualaroo:dev tests: diff --git a/airbyte-integrations/connectors/source-qualaroo/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-qualaroo/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-qualaroo/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-qualaroo/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-qualaroo/build.gradle b/airbyte-integrations/connectors/source-qualaroo/build.gradle index 1eda41ff227f..050d16c27b33 100644 --- a/airbyte-integrations/connectors/source-qualaroo/build.gradle +++ b/airbyte-integrations/connectors/source-qualaroo/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-qualaroo/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-qualaroo/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-qualaroo/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-qualaroo/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-qualaroo/requirements.txt b/airbyte-integrations/connectors/source-qualaroo/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-qualaroo/requirements.txt +++ b/airbyte-integrations/connectors/source-qualaroo/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-qualaroo/setup.py b/airbyte-integrations/connectors/source-qualaroo/setup.py index d77bfba721c7..eb3b4492dc9c 100644 --- a/airbyte-integrations/connectors/source-qualaroo/setup.py +++ b/airbyte-integrations/connectors/source-qualaroo/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "requests-mock", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-quickbooks-singer/acceptance-test-config.yml b/airbyte-integrations/connectors/source-quickbooks-singer/acceptance-test-config.yml index 59684025f560..eb06a494e286 100644 --- a/airbyte-integrations/connectors/source-quickbooks-singer/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-quickbooks-singer/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-quickbooks-singer:dev tests: diff --git a/airbyte-integrations/connectors/source-quickbooks-singer/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-quickbooks-singer/acceptance-test-docker.sh index c522eebbd94e..cf9bc08d3a29 100644 --- a/airbyte-integrations/connectors/source-quickbooks-singer/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-quickbooks-singer/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-quickbooks-singer/build.gradle b/airbyte-integrations/connectors/source-quickbooks-singer/build.gradle index a716d8d70216..d2c7276a674a 100644 --- a/airbyte-integrations/connectors/source-quickbooks-singer/build.gradle +++ b/airbyte-integrations/connectors/source-quickbooks-singer/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-quickbooks-singer/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-quickbooks-singer/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-quickbooks-singer/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-quickbooks-singer/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-rd-station-marketing/README.md b/airbyte-integrations/connectors/source-rd-station-marketing/README.md index 8337e8a1f952..c734746adca1 100644 --- a/airbyte-integrations/connectors/source-rd-station-marketing/README.md +++ b/airbyte-integrations/connectors/source-rd-station-marketing/README.md @@ -99,7 +99,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-rd-station-marketing/acceptance-test-config.yml b/airbyte-integrations/connectors/source-rd-station-marketing/acceptance-test-config.yml index 7315fa50eda0..4ae0fb2c24a2 100644 --- a/airbyte-integrations/connectors/source-rd-station-marketing/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-rd-station-marketing/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-rd-station-marketing:dev tests: diff --git a/airbyte-integrations/connectors/source-rd-station-marketing/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-rd-station-marketing/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-rd-station-marketing/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-rd-station-marketing/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-rd-station-marketing/build.gradle b/airbyte-integrations/connectors/source-rd-station-marketing/build.gradle index 171dd1799b82..9ef4cd8c1c07 100644 --- a/airbyte-integrations/connectors/source-rd-station-marketing/build.gradle +++ b/airbyte-integrations/connectors/source-rd-station-marketing/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-rd-station-marketing/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-rd-station-marketing/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-rd-station-marketing/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-rd-station-marketing/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-rd-station-marketing/requirements.txt b/airbyte-integrations/connectors/source-rd-station-marketing/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-rd-station-marketing/requirements.txt +++ b/airbyte-integrations/connectors/source-rd-station-marketing/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-rd-station-marketing/setup.py b/airbyte-integrations/connectors/source-rd-station-marketing/setup.py index b3a9ab68c439..703599e9284e 100644 --- a/airbyte-integrations/connectors/source-rd-station-marketing/setup.py +++ b/airbyte-integrations/connectors/source-rd-station-marketing/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.13.3", "requests-mock", ] diff --git a/airbyte-integrations/connectors/source-recharge/README.md b/airbyte-integrations/connectors/source-recharge/README.md index 2e5002b523cb..35e086388522 100644 --- a/airbyte-integrations/connectors/source-recharge/README.md +++ b/airbyte-integrations/connectors/source-recharge/README.md @@ -96,7 +96,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](../../../docs/connector-development/testing-connectors/source-acceptance-tests-reference.md) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](../../../docs/connector-development/testing-connectors/connector-acceptance-tests-reference.md) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-recharge/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-recharge/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-recharge/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-recharge/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-recharge/build.gradle b/airbyte-integrations/connectors/source-recharge/build.gradle index 4e02c8c5bf18..3dbbf50c8c2a 100644 --- a/airbyte-integrations/connectors/source-recharge/build.gradle +++ b/airbyte-integrations/connectors/source-recharge/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-recharge/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-recharge/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-recharge/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-recharge/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-recharge/requirements.txt b/airbyte-integrations/connectors/source-recharge/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-recharge/requirements.txt +++ b/airbyte-integrations/connectors/source-recharge/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-recreation/README.md b/airbyte-integrations/connectors/source-recreation/README.md index f735d599c2b9..c84692eb8a99 100644 --- a/airbyte-integrations/connectors/source-recreation/README.md +++ b/airbyte-integrations/connectors/source-recreation/README.md @@ -49,7 +49,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-recreation/acceptance-test-config.yml b/airbyte-integrations/connectors/source-recreation/acceptance-test-config.yml index 06a989c2a723..31eacb139a5f 100644 --- a/airbyte-integrations/connectors/source-recreation/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-recreation/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-recreation:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-recreation/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-recreation/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-recreation/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-recreation/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-recreation/build.gradle b/airbyte-integrations/connectors/source-recreation/build.gradle index 229eef1be41a..906ed0d42817 100644 --- a/airbyte-integrations/connectors/source-recreation/build.gradle +++ b/airbyte-integrations/connectors/source-recreation/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-recreation/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-recreation/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-recreation/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-recreation/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-recreation/requirements.txt b/airbyte-integrations/connectors/source-recreation/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-recreation/requirements.txt +++ b/airbyte-integrations/connectors/source-recreation/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-recreation/setup.py b/airbyte-integrations/connectors/source-recreation/setup.py index 2cae757b8a65..716d275b9141 100644 --- a/airbyte-integrations/connectors/source-recreation/setup.py +++ b/airbyte-integrations/connectors/source-recreation/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-recruitee/README.md b/airbyte-integrations/connectors/source-recruitee/README.md index d5528ee0dd1b..89d8fb294f94 100644 --- a/airbyte-integrations/connectors/source-recruitee/README.md +++ b/airbyte-integrations/connectors/source-recruitee/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-recruitee/acceptance-test-config.yml b/airbyte-integrations/connectors/source-recruitee/acceptance-test-config.yml index 6f2c23f8f7bd..82aebcc49bf4 100644 --- a/airbyte-integrations/connectors/source-recruitee/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-recruitee/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-recruitee:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-recruitee/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-recruitee/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-recruitee/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-recruitee/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-recruitee/build.gradle b/airbyte-integrations/connectors/source-recruitee/build.gradle index 3912692e1723..ab150c391b7b 100644 --- a/airbyte-integrations/connectors/source-recruitee/build.gradle +++ b/airbyte-integrations/connectors/source-recruitee/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-recruitee/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-recruitee/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-recruitee/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-recruitee/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-recruitee/requirements.txt b/airbyte-integrations/connectors/source-recruitee/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-recruitee/requirements.txt +++ b/airbyte-integrations/connectors/source-recruitee/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-recruitee/setup.py b/airbyte-integrations/connectors/source-recruitee/setup.py index 0ee9b4beb003..4781313c6f2f 100644 --- a/airbyte-integrations/connectors/source-recruitee/setup.py +++ b/airbyte-integrations/connectors/source-recruitee/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-recurly/acceptance-test-config.yml b/airbyte-integrations/connectors/source-recurly/acceptance-test-config.yml index 68b00738c9dd..7359e4c0ad66 100644 --- a/airbyte-integrations/connectors/source-recurly/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-recurly/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-recurly:dev tests: diff --git a/airbyte-integrations/connectors/source-recurly/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-recurly/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-recurly/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-recurly/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-recurly/build.gradle b/airbyte-integrations/connectors/source-recurly/build.gradle index c8905ebb358a..f7d5ac4b7194 100644 --- a/airbyte-integrations/connectors/source-recurly/build.gradle +++ b/airbyte-integrations/connectors/source-recurly/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-docker' id 'airbyte-python' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-recurly/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-recurly/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-recurly/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-recurly/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-recurly/requirements.txt b/airbyte-integrations/connectors/source-recurly/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-recurly/requirements.txt +++ b/airbyte-integrations/connectors/source-recurly/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-recurly/setup.py b/airbyte-integrations/connectors/source-recurly/setup.py index 91b0dabc6beb..e2f562219f19 100644 --- a/airbyte-integrations/connectors/source-recurly/setup.py +++ b/airbyte-integrations/connectors/source-recurly/setup.py @@ -10,7 +10,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-redshift/acceptance-test-config.yml b/airbyte-integrations/connectors/source-redshift/acceptance-test-config.yml index 52ded897acb7..b69725d9b4b6 100644 --- a/airbyte-integrations/connectors/source-redshift/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-redshift/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-redshift:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-redshift/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-redshift/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-redshift/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-redshift/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-redshift/build.gradle b/airbyte-integrations/connectors/source-redshift/build.gradle index 02ebd41a9977..68dc0b6c8640 100644 --- a/airbyte-integrations/connectors/source-redshift/build.gradle +++ b/airbyte-integrations/connectors/source-redshift/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-redshift/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-redshift/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-redshift/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-redshift/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-reply-io/README.md b/airbyte-integrations/connectors/source-reply-io/README.md index de3045a09dbd..f8538d3af276 100644 --- a/airbyte-integrations/connectors/source-reply-io/README.md +++ b/airbyte-integrations/connectors/source-reply-io/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-reply-io/acceptance-test-config.yml b/airbyte-integrations/connectors/source-reply-io/acceptance-test-config.yml index f84c25d17ac4..757dbecfa9ed 100644 --- a/airbyte-integrations/connectors/source-reply-io/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-reply-io/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-reply-io:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-reply-io/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-reply-io/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-reply-io/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-reply-io/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-reply-io/build.gradle b/airbyte-integrations/connectors/source-reply-io/build.gradle index d08c75bfff8e..e1f1f78ef744 100644 --- a/airbyte-integrations/connectors/source-reply-io/build.gradle +++ b/airbyte-integrations/connectors/source-reply-io/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-reply-io/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-reply-io/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-reply-io/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-reply-io/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-reply-io/requirements.txt b/airbyte-integrations/connectors/source-reply-io/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-reply-io/requirements.txt +++ b/airbyte-integrations/connectors/source-reply-io/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-reply-io/setup.py b/airbyte-integrations/connectors/source-reply-io/setup.py index 98a9d6f930a0..6c24224043fc 100644 --- a/airbyte-integrations/connectors/source-reply-io/setup.py +++ b/airbyte-integrations/connectors/source-reply-io/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-retently/README.md b/airbyte-integrations/connectors/source-retently/README.md index 4e7be84fee7c..43b270e7d38a 100644 --- a/airbyte-integrations/connectors/source-retently/README.md +++ b/airbyte-integrations/connectors/source-retently/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-retently/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-retently/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100755 --- a/airbyte-integrations/connectors/source-retently/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-retently/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-retently/build.gradle b/airbyte-integrations/connectors/source-retently/build.gradle index f6ca7c0c7faf..151dbe336195 100644 --- a/airbyte-integrations/connectors/source-retently/build.gradle +++ b/airbyte-integrations/connectors/source-retently/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-retently/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-retently/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-retently/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-retently/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-retently/requirements.txt b/airbyte-integrations/connectors/source-retently/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-retently/requirements.txt +++ b/airbyte-integrations/connectors/source-retently/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-retently/setup.py b/airbyte-integrations/connectors/source-retently/setup.py index b978c63b1b73..6655332a0153 100644 --- a/airbyte-integrations/connectors/source-retently/setup.py +++ b/airbyte-integrations/connectors/source-retently/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.13.3", ] diff --git a/airbyte-integrations/connectors/source-rki-covid/README.md b/airbyte-integrations/connectors/source-rki-covid/README.md index e15247de91c8..f85765fc16bf 100644 --- a/airbyte-integrations/connectors/source-rki-covid/README.md +++ b/airbyte-integrations/connectors/source-rki-covid/README.md @@ -118,7 +118,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-rki-covid/acceptance-test-config.yml b/airbyte-integrations/connectors/source-rki-covid/acceptance-test-config.yml index 0387f7f269fb..155c872a250e 100644 --- a/airbyte-integrations/connectors/source-rki-covid/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-rki-covid/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-rki-covid:dev tests: diff --git a/airbyte-integrations/connectors/source-rki-covid/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-rki-covid/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-rki-covid/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-rki-covid/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-rki-covid/build.gradle b/airbyte-integrations/connectors/source-rki-covid/build.gradle index eb34765a96db..fa1ff4ffdb48 100644 --- a/airbyte-integrations/connectors/source-rki-covid/build.gradle +++ b/airbyte-integrations/connectors/source-rki-covid/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-rki-covid/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-rki-covid/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-rki-covid/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-rki-covid/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-rki-covid/requirements.txt b/airbyte-integrations/connectors/source-rki-covid/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-rki-covid/requirements.txt +++ b/airbyte-integrations/connectors/source-rki-covid/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-rki-covid/setup.py b/airbyte-integrations/connectors/source-rki-covid/setup.py index cb44a1358288..1f5a8f719bf8 100644 --- a/airbyte-integrations/connectors/source-rki-covid/setup.py +++ b/airbyte-integrations/connectors/source-rki-covid/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "source-acceptance-test", "airbyte-cdk"] +TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "connector-acceptance-test", "airbyte-cdk"] setup( name="source_rki_covid", diff --git a/airbyte-integrations/connectors/source-rocket-chat/README.md b/airbyte-integrations/connectors/source-rocket-chat/README.md index ae5a39085d74..558c975dba1b 100644 --- a/airbyte-integrations/connectors/source-rocket-chat/README.md +++ b/airbyte-integrations/connectors/source-rocket-chat/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-rocket-chat/acceptance-test-config.yml b/airbyte-integrations/connectors/source-rocket-chat/acceptance-test-config.yml index ffb0f7bebafa..9f7cda6da974 100644 --- a/airbyte-integrations/connectors/source-rocket-chat/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-rocket-chat/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-rocket-chat:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-rocket-chat/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-rocket-chat/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-rocket-chat/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-rocket-chat/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-rocket-chat/build.gradle b/airbyte-integrations/connectors/source-rocket-chat/build.gradle index 8eab93e3405c..361e88e9397b 100644 --- a/airbyte-integrations/connectors/source-rocket-chat/build.gradle +++ b/airbyte-integrations/connectors/source-rocket-chat/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-rocket-chat/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-rocket-chat/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-rocket-chat/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-rocket-chat/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-rocket-chat/requirements.txt b/airbyte-integrations/connectors/source-rocket-chat/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-rocket-chat/requirements.txt +++ b/airbyte-integrations/connectors/source-rocket-chat/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-rocket-chat/setup.py b/airbyte-integrations/connectors/source-rocket-chat/setup.py index 6255f91d4136..40b6e8a98706 100644 --- a/airbyte-integrations/connectors/source-rocket-chat/setup.py +++ b/airbyte-integrations/connectors/source-rocket-chat/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-rss/README.md b/airbyte-integrations/connectors/source-rss/README.md index ecbe1a253a62..2417a9afcaad 100644 --- a/airbyte-integrations/connectors/source-rss/README.md +++ b/airbyte-integrations/connectors/source-rss/README.md @@ -93,7 +93,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-rss/acceptance-test-config.yml b/airbyte-integrations/connectors/source-rss/acceptance-test-config.yml index 92605a43cbe5..3ecb0aa4d83c 100644 --- a/airbyte-integrations/connectors/source-rss/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-rss/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-rss:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-rss/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-rss/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-rss/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-rss/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-rss/build.gradle b/airbyte-integrations/connectors/source-rss/build.gradle index 42a7ced4cdbc..403d2a6cdb5d 100644 --- a/airbyte-integrations/connectors/source-rss/build.gradle +++ b/airbyte-integrations/connectors/source-rss/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-rss/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-rss/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-rss/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-rss/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-rss/requirements.txt b/airbyte-integrations/connectors/source-rss/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-rss/requirements.txt +++ b/airbyte-integrations/connectors/source-rss/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-rss/setup.py b/airbyte-integrations/connectors/source-rss/setup.py index eee9fb4f9ae7..5e6fcb212bd8 100644 --- a/airbyte-integrations/connectors/source-rss/setup.py +++ b/airbyte-integrations/connectors/source-rss/setup.py @@ -10,7 +10,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-s3/README.md b/airbyte-integrations/connectors/source-s3/README.md index ac0ad1510f88..e133bc44e301 100644 --- a/airbyte-integrations/connectors/source-s3/README.md +++ b/airbyte-integrations/connectors/source-s3/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-s3/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-s3/acceptance-test-docker.sh index 4263e580fb6f..6e5f7e017dfa 100755 --- a/airbyte-integrations/connectors/source-s3/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-s3/acceptance-test-docker.sh @@ -6,11 +6,11 @@ echo "try to build the source image: ${source_image}" docker build . -t ${source_image} # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-s3/build.gradle b/airbyte-integrations/connectors/source-s3/build.gradle index 193bb8529c91..c6b2cab5faac 100644 --- a/airbyte-integrations/connectors/source-s3/build.gradle +++ b/airbyte-integrations/connectors/source-s3/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-s3/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-s3/integration_tests/acceptance.py index adf59f50c7cd..8de266dd23ad 100644 --- a/airbyte-integrations/connectors/source-s3/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-s3/integration_tests/acceptance.py @@ -7,7 +7,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-s3/requirements.txt b/airbyte-integrations/connectors/source-s3/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-s3/requirements.txt +++ b/airbyte-integrations/connectors/source-s3/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-s3/setup.py b/airbyte-integrations/connectors/source-s3/setup.py index b6da060b9b34..f9008f748846 100644 --- a/airbyte-integrations/connectors/source-s3/setup.py +++ b/airbyte-integrations/connectors/source-s3/setup.py @@ -18,7 +18,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", "pandas==1.3.1", "psutil", "pytest-order", diff --git a/airbyte-integrations/connectors/source-salesforce/README.md b/airbyte-integrations/connectors/source-salesforce/README.md index ef03b9599b80..1cd5fc26a71f 100644 --- a/airbyte-integrations/connectors/source-salesforce/README.md +++ b/airbyte-integrations/connectors/source-salesforce/README.md @@ -97,12 +97,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-salesforce:dev \ - && python -m pytest -p source_acceptance_test.plugin + && python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-salesforce/acceptance-test-config.yml b/airbyte-integrations/connectors/source-salesforce/acceptance-test-config.yml index 950ff10158ff..6c75ecdbaca5 100644 --- a/airbyte-integrations/connectors/source-salesforce/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-salesforce/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-salesforce:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-salesforce/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-salesforce/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-salesforce/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-salesforce/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-salesforce/build.gradle b/airbyte-integrations/connectors/source-salesforce/build.gradle index 5c011b24e932..5fa545056248 100644 --- a/airbyte-integrations/connectors/source-salesforce/build.gradle +++ b/airbyte-integrations/connectors/source-salesforce/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-salesforce/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-salesforce/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-salesforce/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-salesforce/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-salesforce/requirements.txt b/airbyte-integrations/connectors/source-salesforce/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-salesforce/requirements.txt +++ b/airbyte-integrations/connectors/source-salesforce/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-salesforce/setup.py b/airbyte-integrations/connectors/source-salesforce/setup.py index 517429e3d7d1..8526fdd7a63a 100644 --- a/airbyte-integrations/connectors/source-salesforce/setup.py +++ b/airbyte-integrations/connectors/source-salesforce/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk~=0.2", "vcrpy==4.1.1", "pandas"] -TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6", "requests_mock", "source-acceptance-test", "pytest-timeout"] +TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6", "requests_mock", "connector-acceptance-test", "pytest-timeout"] setup( name="source_salesforce", diff --git a/airbyte-integrations/connectors/source-salesloft/README.md b/airbyte-integrations/connectors/source-salesloft/README.md index 3c080a5e2dc7..6373a7a16bb7 100644 --- a/airbyte-integrations/connectors/source-salesloft/README.md +++ b/airbyte-integrations/connectors/source-salesloft/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-salesloft/acceptance-test-config.yml b/airbyte-integrations/connectors/source-salesloft/acceptance-test-config.yml index 09aa3a00818b..918fc173d612 100644 --- a/airbyte-integrations/connectors/source-salesloft/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-salesloft/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-salesloft:dev tests: diff --git a/airbyte-integrations/connectors/source-salesloft/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-salesloft/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-salesloft/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-salesloft/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-salesloft/build.gradle b/airbyte-integrations/connectors/source-salesloft/build.gradle index 69cf34f92498..54aaa2ae5b79 100644 --- a/airbyte-integrations/connectors/source-salesloft/build.gradle +++ b/airbyte-integrations/connectors/source-salesloft/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-salesloft/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-salesloft/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-salesloft/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-salesloft/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-salesloft/requirements.txt b/airbyte-integrations/connectors/source-salesloft/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-salesloft/requirements.txt +++ b/airbyte-integrations/connectors/source-salesloft/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-salesloft/setup.py b/airbyte-integrations/connectors/source-salesloft/setup.py index aade7c4c8505..31f3eef555f8 100644 --- a/airbyte-integrations/connectors/source-salesloft/setup.py +++ b/airbyte-integrations/connectors/source-salesloft/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-sap-fieldglass/README.md b/airbyte-integrations/connectors/source-sap-fieldglass/README.md index b0399eaa2e15..6345f5daff43 100644 --- a/airbyte-integrations/connectors/source-sap-fieldglass/README.md +++ b/airbyte-integrations/connectors/source-sap-fieldglass/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-sap-fieldglass/acceptance-test-config.yml b/airbyte-integrations/connectors/source-sap-fieldglass/acceptance-test-config.yml index 84888149c82b..c0a0bb7a6020 100644 --- a/airbyte-integrations/connectors/source-sap-fieldglass/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-sap-fieldglass/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-sap-fieldglass:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-sap-fieldglass/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-sap-fieldglass/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-sap-fieldglass/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-sap-fieldglass/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-sap-fieldglass/build.gradle b/airbyte-integrations/connectors/source-sap-fieldglass/build.gradle index 9d8b48cb2ad7..a3cadd2c7f00 100644 --- a/airbyte-integrations/connectors/source-sap-fieldglass/build.gradle +++ b/airbyte-integrations/connectors/source-sap-fieldglass/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-sap-fieldglass/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-sap-fieldglass/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-sap-fieldglass/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-sap-fieldglass/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-sap-fieldglass/requirements.txt b/airbyte-integrations/connectors/source-sap-fieldglass/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-sap-fieldglass/requirements.txt +++ b/airbyte-integrations/connectors/source-sap-fieldglass/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-sap-fieldglass/setup.py b/airbyte-integrations/connectors/source-sap-fieldglass/setup.py index 3c43a8d935bc..2b539586bc11 100644 --- a/airbyte-integrations/connectors/source-sap-fieldglass/setup.py +++ b/airbyte-integrations/connectors/source-sap-fieldglass/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-scaffold-java-jdbc/acceptance-test-config.yml b/airbyte-integrations/connectors/source-scaffold-java-jdbc/acceptance-test-config.yml index 82c16f279777..263f39b5b996 100644 --- a/airbyte-integrations/connectors/source-scaffold-java-jdbc/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-scaffold-java-jdbc/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-scaffold-java-jdbc:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-scaffold-java-jdbc/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-scaffold-java-jdbc/acceptance-test-docker.sh index c416fd144055..394835b93b09 100644 --- a/airbyte-integrations/connectors/source-scaffold-java-jdbc/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-scaffold-java-jdbc/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-scaffold-java-jdbc/build.gradle b/airbyte-integrations/connectors/source-scaffold-java-jdbc/build.gradle index 5c9872a1fe69..06fee4a3b8f4 100644 --- a/airbyte-integrations/connectors/source-scaffold-java-jdbc/build.gradle +++ b/airbyte-integrations/connectors/source-scaffold-java-jdbc/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-scaffold-java-jdbc/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-scaffold-java-jdbc/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-scaffold-java-jdbc/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-scaffold-java-jdbc/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/README.md b/airbyte-integrations/connectors/source-scaffold-source-http/README.md index 80b871f11649..82bc885ab6c3 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/README.md +++ b/airbyte-integrations/connectors/source-scaffold-source-http/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/acceptance-test-config.yml b/airbyte-integrations/connectors/source-scaffold-source-http/acceptance-test-config.yml index 499891579dd2..281a803a9111 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-scaffold-source-http/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-scaffold-source-http:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-scaffold-source-http/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-scaffold-source-http/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-scaffold-source-http/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/build.gradle b/airbyte-integrations/connectors/source-scaffold-source-http/build.gradle index 4590f3a02171..dc3098e3b54e 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/build.gradle +++ b/airbyte-integrations/connectors/source-scaffold-source-http/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/requirements.txt b/airbyte-integrations/connectors/source-scaffold-source-http/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/requirements.txt +++ b/airbyte-integrations/connectors/source-scaffold-source-http/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/setup.py b/airbyte-integrations/connectors/source-scaffold-source-http/setup.py index ccb39e96eef1..f7ffd208fff3 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/setup.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.2", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/README.md b/airbyte-integrations/connectors/source-scaffold-source-python/README.md index 8cc8b05c1d0b..a52eb854425f 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/README.md +++ b/airbyte-integrations/connectors/source-scaffold-source-python/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/acceptance-test-config.yml b/airbyte-integrations/connectors/source-scaffold-source-python/acceptance-test-config.yml index e8d73b857e73..bb370a5d693f 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-scaffold-source-python/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-scaffold-source-python:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-scaffold-source-python/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-scaffold-source-python/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-scaffold-source-python/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/build.gradle b/airbyte-integrations/connectors/source-scaffold-source-python/build.gradle index 16ddfff924d6..afdd6bb8d942 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/build.gradle +++ b/airbyte-integrations/connectors/source-scaffold-source-python/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/requirements.txt b/airbyte-integrations/connectors/source-scaffold-source-python/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/requirements.txt +++ b/airbyte-integrations/connectors/source-scaffold-source-python/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/setup.py b/airbyte-integrations/connectors/source-scaffold-source-python/setup.py index 09b3bbe717da..28592e48a9a8 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/setup.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/setup.py @@ -11,7 +11,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.2", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-search-metrics/README.md b/airbyte-integrations/connectors/source-search-metrics/README.md index 5a42bd6ec231..79b66a3ea19a 100644 --- a/airbyte-integrations/connectors/source-search-metrics/README.md +++ b/airbyte-integrations/connectors/source-search-metrics/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-search-metrics/acceptance-test-config.yml b/airbyte-integrations/connectors/source-search-metrics/acceptance-test-config.yml index 0dcde7b260d9..d8b99cda0027 100644 --- a/airbyte-integrations/connectors/source-search-metrics/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-search-metrics/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-search-metrics:dev tests: diff --git a/airbyte-integrations/connectors/source-search-metrics/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-search-metrics/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-search-metrics/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-search-metrics/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-search-metrics/build.gradle b/airbyte-integrations/connectors/source-search-metrics/build.gradle index fd6ad33c734a..5c9fd46d303d 100644 --- a/airbyte-integrations/connectors/source-search-metrics/build.gradle +++ b/airbyte-integrations/connectors/source-search-metrics/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-search-metrics/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-search-metrics/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-search-metrics/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-search-metrics/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-search-metrics/requirements.txt b/airbyte-integrations/connectors/source-search-metrics/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-search-metrics/requirements.txt +++ b/airbyte-integrations/connectors/source-search-metrics/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-search-metrics/setup.py b/airbyte-integrations/connectors/source-search-metrics/setup.py index 9ac7d98b407b..afaa33d9cfb3 100644 --- a/airbyte-integrations/connectors/source-search-metrics/setup.py +++ b/airbyte-integrations/connectors/source-search-metrics/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-secoda/README.md b/airbyte-integrations/connectors/source-secoda/README.md index 57f14fc23312..6fa8e084a319 100644 --- a/airbyte-integrations/connectors/source-secoda/README.md +++ b/airbyte-integrations/connectors/source-secoda/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-secoda/acceptance-test-config.yml b/airbyte-integrations/connectors/source-secoda/acceptance-test-config.yml index 05e757bb166d..dacad737f3f0 100644 --- a/airbyte-integrations/connectors/source-secoda/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-secoda/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-secoda:dev tests: diff --git a/airbyte-integrations/connectors/source-secoda/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-secoda/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-secoda/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-secoda/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-secoda/build.gradle b/airbyte-integrations/connectors/source-secoda/build.gradle index 68a93dbb4e34..b4ec4deb89e7 100644 --- a/airbyte-integrations/connectors/source-secoda/build.gradle +++ b/airbyte-integrations/connectors/source-secoda/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-secoda/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-secoda/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-secoda/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-secoda/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-secoda/requirements.txt b/airbyte-integrations/connectors/source-secoda/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-secoda/requirements.txt +++ b/airbyte-integrations/connectors/source-secoda/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-secoda/setup.py b/airbyte-integrations/connectors/source-secoda/setup.py index f3f1d43c9887..f8dcba2e7458 100644 --- a/airbyte-integrations/connectors/source-secoda/setup.py +++ b/airbyte-integrations/connectors/source-secoda/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-sendgrid/README.md b/airbyte-integrations/connectors/source-sendgrid/README.md index 3450bcf9d5d9..5818eb529ecb 100644 --- a/airbyte-integrations/connectors/source-sendgrid/README.md +++ b/airbyte-integrations/connectors/source-sendgrid/README.md @@ -98,12 +98,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-sendgrid:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-sendgrid/build.gradle b/airbyte-integrations/connectors/source-sendgrid/build.gradle index fb82926f18a5..b6d93bf4ae43 100644 --- a/airbyte-integrations/connectors/source-sendgrid/build.gradle +++ b/airbyte-integrations/connectors/source-sendgrid/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-sendgrid/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-sendgrid/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-sendgrid/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-sendgrid/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-sendgrid/requirements.txt b/airbyte-integrations/connectors/source-sendgrid/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-sendgrid/requirements.txt +++ b/airbyte-integrations/connectors/source-sendgrid/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-sendgrid/setup.py b/airbyte-integrations/connectors/source-sendgrid/setup.py index 03792fe30d33..6961eca6a3bc 100644 --- a/airbyte-integrations/connectors/source-sendgrid/setup.py +++ b/airbyte-integrations/connectors/source-sendgrid/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", "requests-mock", ] diff --git a/airbyte-integrations/connectors/source-sendinblue/README.md b/airbyte-integrations/connectors/source-sendinblue/README.md index f2d119174f46..e55c4b92276e 100644 --- a/airbyte-integrations/connectors/source-sendinblue/README.md +++ b/airbyte-integrations/connectors/source-sendinblue/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-sendinblue/acceptance-test-config.yml b/airbyte-integrations/connectors/source-sendinblue/acceptance-test-config.yml index ae2075a223b4..144dbb788a95 100644 --- a/airbyte-integrations/connectors/source-sendinblue/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-sendinblue/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-sendinblue:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-sendinblue/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-sendinblue/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-sendinblue/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-sendinblue/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-sendinblue/build.gradle b/airbyte-integrations/connectors/source-sendinblue/build.gradle index 625ab277f4bc..fbdafecb5911 100644 --- a/airbyte-integrations/connectors/source-sendinblue/build.gradle +++ b/airbyte-integrations/connectors/source-sendinblue/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-sendinblue/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-sendinblue/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-sendinblue/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-sendinblue/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-sendinblue/requirements.txt b/airbyte-integrations/connectors/source-sendinblue/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-sendinblue/requirements.txt +++ b/airbyte-integrations/connectors/source-sendinblue/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-sendinblue/setup.py b/airbyte-integrations/connectors/source-sendinblue/setup.py index cd0901c5eca8..1c5a93a82332 100644 --- a/airbyte-integrations/connectors/source-sendinblue/setup.py +++ b/airbyte-integrations/connectors/source-sendinblue/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-senseforce/README.md b/airbyte-integrations/connectors/source-senseforce/README.md index 27f1b43cb0d2..a4ec3316468f 100644 --- a/airbyte-integrations/connectors/source-senseforce/README.md +++ b/airbyte-integrations/connectors/source-senseforce/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-senseforce/acceptance-test-config.yml b/airbyte-integrations/connectors/source-senseforce/acceptance-test-config.yml index 71c52786cd7f..91563b71ca52 100644 --- a/airbyte-integrations/connectors/source-senseforce/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-senseforce/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-senseforce:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-senseforce/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-senseforce/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-senseforce/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-senseforce/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-senseforce/build.gradle b/airbyte-integrations/connectors/source-senseforce/build.gradle index 3007db554047..c2f21115da4f 100644 --- a/airbyte-integrations/connectors/source-senseforce/build.gradle +++ b/airbyte-integrations/connectors/source-senseforce/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-senseforce/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-senseforce/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-senseforce/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-senseforce/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-senseforce/requirements.txt b/airbyte-integrations/connectors/source-senseforce/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-senseforce/requirements.txt +++ b/airbyte-integrations/connectors/source-senseforce/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-senseforce/setup.py b/airbyte-integrations/connectors/source-senseforce/setup.py index 889be8c9c2b0..3e982c5fbb35 100644 --- a/airbyte-integrations/connectors/source-senseforce/setup.py +++ b/airbyte-integrations/connectors/source-senseforce/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-sentry/README.md b/airbyte-integrations/connectors/source-sentry/README.md index bb0502804de6..4acac800c830 100644 --- a/airbyte-integrations/connectors/source-sentry/README.md +++ b/airbyte-integrations/connectors/source-sentry/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-sentry/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-sentry/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-sentry/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-sentry/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-sentry/build.gradle b/airbyte-integrations/connectors/source-sentry/build.gradle index 81bc588e79da..e36de603a965 100644 --- a/airbyte-integrations/connectors/source-sentry/build.gradle +++ b/airbyte-integrations/connectors/source-sentry/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-sentry/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-sentry/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-sentry/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-sentry/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-sentry/requirements.txt b/airbyte-integrations/connectors/source-sentry/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-sentry/requirements.txt +++ b/airbyte-integrations/connectors/source-sentry/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-sentry/setup.py b/airbyte-integrations/connectors/source-sentry/setup.py index 8b20427c76b9..c03d044ddfac 100644 --- a/airbyte-integrations/connectors/source-sentry/setup.py +++ b/airbyte-integrations/connectors/source-sentry/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-sftp-bulk/README.md b/airbyte-integrations/connectors/source-sftp-bulk/README.md index 47c0ab30ae94..9ec848d4dc8a 100644 --- a/airbyte-integrations/connectors/source-sftp-bulk/README.md +++ b/airbyte-integrations/connectors/source-sftp-bulk/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-sftp-bulk/acceptance-test-config.yml b/airbyte-integrations/connectors/source-sftp-bulk/acceptance-test-config.yml index ff24b6e3bd3c..744fcd04eaed 100644 --- a/airbyte-integrations/connectors/source-sftp-bulk/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-sftp-bulk/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-sftp-bulk:dev tests: diff --git a/airbyte-integrations/connectors/source-sftp-bulk/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-sftp-bulk/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-sftp-bulk/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-sftp-bulk/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-sftp-bulk/build.gradle b/airbyte-integrations/connectors/source-sftp-bulk/build.gradle index 158db78f5330..88b5ebd4a16a 100644 --- a/airbyte-integrations/connectors/source-sftp-bulk/build.gradle +++ b/airbyte-integrations/connectors/source-sftp-bulk/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-sftp-bulk/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-sftp-bulk/integration_tests/acceptance.py index 02ff76980f3f..975c11c7d7d3 100644 --- a/airbyte-integrations/connectors/source-sftp-bulk/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-sftp-bulk/integration_tests/acceptance.py @@ -10,7 +10,7 @@ import docker import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) TMP_FOLDER = "/tmp/test_sftp_source" diff --git a/airbyte-integrations/connectors/source-sftp-bulk/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-sftp-bulk/integration_tests/integration_test.py index e29ef1312295..0ca2cfdafe64 100644 --- a/airbyte-integrations/connectors/source-sftp-bulk/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-sftp-bulk/integration_tests/integration_test.py @@ -16,7 +16,7 @@ from airbyte_cdk.models import AirbyteStream, ConfiguredAirbyteCatalog, ConfiguredAirbyteStream, DestinationSyncMode, Status, SyncMode, Type from source_sftp_bulk import SourceFtp -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) logger = logging.getLogger("airbyte") diff --git a/airbyte-integrations/connectors/source-sftp-bulk/requirements.txt b/airbyte-integrations/connectors/source-sftp-bulk/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-sftp-bulk/requirements.txt +++ b/airbyte-integrations/connectors/source-sftp-bulk/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-sftp-bulk/setup.py b/airbyte-integrations/connectors/source-sftp-bulk/setup.py index 9d5c69d0a614..85706c856494 100644 --- a/airbyte-integrations/connectors/source-sftp-bulk/setup.py +++ b/airbyte-integrations/connectors/source-sftp-bulk/setup.py @@ -13,7 +13,7 @@ "pandas==1.5.0", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "docker==5.0.3"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "docker==5.0.3"] setup( name="source_sftp_bulk", diff --git a/airbyte-integrations/connectors/source-sftp/acceptance-test-config.yml b/airbyte-integrations/connectors/source-sftp/acceptance-test-config.yml index 6af33aacf986..b4457cebbe9a 100644 --- a/airbyte-integrations/connectors/source-sftp/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-sftp/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-sftp:dev tests: diff --git a/airbyte-integrations/connectors/source-sftp/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-sftp/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-sftp/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-sftp/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-sftp/build.gradle b/airbyte-integrations/connectors/source-sftp/build.gradle index 501383230d39..d416e7cfca52 100644 --- a/airbyte-integrations/connectors/source-sftp/build.gradle +++ b/airbyte-integrations/connectors/source-sftp/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-sftp/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-sftp/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-sftp/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-sftp/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-shopify/README.md b/airbyte-integrations/connectors/source-shopify/README.md index c49293e07173..c43cbfc39421 100644 --- a/airbyte-integrations/connectors/source-shopify/README.md +++ b/airbyte-integrations/connectors/source-shopify/README.md @@ -107,12 +107,12 @@ python3 -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-shopify:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-shopify/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-shopify/acceptance-test-docker.sh index 9f260e1ac325..9469b423f0a9 100755 --- a/airbyte-integrations/connectors/source-shopify/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-shopify/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acceptance test image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-shopify/build.gradle b/airbyte-integrations/connectors/source-shopify/build.gradle index 009dd424b34e..b3cf87ff67c0 100644 --- a/airbyte-integrations/connectors/source-shopify/build.gradle +++ b/airbyte-integrations/connectors/source-shopify/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-shopify/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-shopify/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-shopify/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-shopify/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-shopify/requirements.txt b/airbyte-integrations/connectors/source-shopify/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-shopify/requirements.txt +++ b/airbyte-integrations/connectors/source-shopify/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-shopify/setup.py b/airbyte-integrations/connectors/source-shopify/setup.py index ea169df70842..1fa542c9f68e 100644 --- a/airbyte-integrations/connectors/source-shopify/setup.py +++ b/airbyte-integrations/connectors/source-shopify/setup.py @@ -11,7 +11,7 @@ "pytest~=6.1", "pytest-mock~=3.10.0", "requests-mock", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-shortio/README.md b/airbyte-integrations/connectors/source-shortio/README.md index 11376313b52c..51a9f9902398 100644 --- a/airbyte-integrations/connectors/source-shortio/README.md +++ b/airbyte-integrations/connectors/source-shortio/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-shortio/acceptance-test-config.yml b/airbyte-integrations/connectors/source-shortio/acceptance-test-config.yml index 0db1cc6c8784..0e03f5d44cbb 100644 --- a/airbyte-integrations/connectors/source-shortio/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-shortio/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-shortio:dev tests: diff --git a/airbyte-integrations/connectors/source-shortio/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-shortio/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-shortio/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-shortio/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-shortio/build.gradle b/airbyte-integrations/connectors/source-shortio/build.gradle index 13640fa1372c..5fc3faab7871 100644 --- a/airbyte-integrations/connectors/source-shortio/build.gradle +++ b/airbyte-integrations/connectors/source-shortio/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-shortio/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-shortio/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-shortio/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-shortio/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-shortio/requirements.txt b/airbyte-integrations/connectors/source-shortio/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-shortio/requirements.txt +++ b/airbyte-integrations/connectors/source-shortio/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-shortio/setup.py b/airbyte-integrations/connectors/source-shortio/setup.py index 1b33fcd30411..8e7d40f9cf0c 100644 --- a/airbyte-integrations/connectors/source-shortio/setup.py +++ b/airbyte-integrations/connectors/source-shortio/setup.py @@ -9,7 +9,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.2.5", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-slack/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-slack/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-slack/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-slack/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-slack/build.gradle b/airbyte-integrations/connectors/source-slack/build.gradle index 1580ccbfa16e..3327ad910fe7 100644 --- a/airbyte-integrations/connectors/source-slack/build.gradle +++ b/airbyte-integrations/connectors/source-slack/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-slack/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-slack/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-slack/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-slack/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-slack/requirements.txt b/airbyte-integrations/connectors/source-slack/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-slack/requirements.txt +++ b/airbyte-integrations/connectors/source-slack/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-smaily/README.md b/airbyte-integrations/connectors/source-smaily/README.md index 3d33800341a9..0760b9e830fc 100644 --- a/airbyte-integrations/connectors/source-smaily/README.md +++ b/airbyte-integrations/connectors/source-smaily/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-smaily/acceptance-test-config.yml b/airbyte-integrations/connectors/source-smaily/acceptance-test-config.yml index 48a99e44b6dc..16c13b52f7f4 100644 --- a/airbyte-integrations/connectors/source-smaily/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-smaily/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-smaily:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-smaily/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-smaily/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-smaily/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-smaily/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-smaily/build.gradle b/airbyte-integrations/connectors/source-smaily/build.gradle index 80cc96d71fa2..92ecef1df11e 100644 --- a/airbyte-integrations/connectors/source-smaily/build.gradle +++ b/airbyte-integrations/connectors/source-smaily/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-smaily/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-smaily/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-smaily/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-smaily/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-smaily/requirements.txt b/airbyte-integrations/connectors/source-smaily/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-smaily/requirements.txt +++ b/airbyte-integrations/connectors/source-smaily/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-smaily/setup.py b/airbyte-integrations/connectors/source-smaily/setup.py index 5193a5b2eb6d..c6e495db810b 100644 --- a/airbyte-integrations/connectors/source-smaily/setup.py +++ b/airbyte-integrations/connectors/source-smaily/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-smartengage/README.md b/airbyte-integrations/connectors/source-smartengage/README.md index c44708f3ea16..58667e02d6d3 100644 --- a/airbyte-integrations/connectors/source-smartengage/README.md +++ b/airbyte-integrations/connectors/source-smartengage/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-smartengage/acceptance-test-config.yml b/airbyte-integrations/connectors/source-smartengage/acceptance-test-config.yml index 858bf09251f6..0242ea1cf621 100644 --- a/airbyte-integrations/connectors/source-smartengage/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-smartengage/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-smartengage:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-smartengage/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-smartengage/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-smartengage/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-smartengage/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-smartengage/build.gradle b/airbyte-integrations/connectors/source-smartengage/build.gradle index d8b668f76f85..3c6f65f1bd51 100644 --- a/airbyte-integrations/connectors/source-smartengage/build.gradle +++ b/airbyte-integrations/connectors/source-smartengage/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-smartengage/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-smartengage/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-smartengage/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-smartengage/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-smartengage/requirements.txt b/airbyte-integrations/connectors/source-smartengage/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-smartengage/requirements.txt +++ b/airbyte-integrations/connectors/source-smartengage/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-smartengage/setup.py b/airbyte-integrations/connectors/source-smartengage/setup.py index 35e2c31efbd9..9e4938aa274a 100644 --- a/airbyte-integrations/connectors/source-smartengage/setup.py +++ b/airbyte-integrations/connectors/source-smartengage/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-smartsheets/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-smartsheets/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-smartsheets/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-smartsheets/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-smartsheets/build.gradle b/airbyte-integrations/connectors/source-smartsheets/build.gradle index 8361ae37de0d..7e2e135ccc74 100644 --- a/airbyte-integrations/connectors/source-smartsheets/build.gradle +++ b/airbyte-integrations/connectors/source-smartsheets/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-smartsheets/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-smartsheets/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-smartsheets/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-smartsheets/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-smartsheets/requirements.txt b/airbyte-integrations/connectors/source-smartsheets/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-smartsheets/requirements.txt +++ b/airbyte-integrations/connectors/source-smartsheets/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/README.md b/airbyte-integrations/connectors/source-snapchat-marketing/README.md index bf071e99397f..d03ca7655ba2 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/README.md +++ b/airbyte-integrations/connectors/source-snapchat-marketing/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/acceptance-test-config.yml b/airbyte-integrations/connectors/source-snapchat-marketing/acceptance-test-config.yml index dfe81431a5f2..d4553c9a3c5c 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-snapchat-marketing/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-snapchat-marketing:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-snapchat-marketing/acceptance-test-docker.sh index 03a3c6d3de32..5b00cb256b8a 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-snapchat-marketing/acceptance-test-docker.sh @@ -5,11 +5,11 @@ echo "try to build: ${image_name}" docker build . -t ${image_name} # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/build.gradle b/airbyte-integrations/connectors/source-snapchat-marketing/build.gradle index 9475d50e0cc6..48139190ea95 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/build.gradle +++ b/airbyte-integrations/connectors/source-snapchat-marketing/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-snapchat-marketing/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-snapchat-marketing/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/requirements.txt b/airbyte-integrations/connectors/source-snapchat-marketing/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/requirements.txt +++ b/airbyte-integrations/connectors/source-snapchat-marketing/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/setup.py b/airbyte-integrations/connectors/source-snapchat-marketing/setup.py index 3a2635cf828c..f364a79de60d 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/setup.py +++ b/airbyte-integrations/connectors/source-snapchat-marketing/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk~=0.1", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "requests_mock"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "requests_mock"] setup( name="source_snapchat_marketing", diff --git a/airbyte-integrations/connectors/source-snowflake/acceptance-test-config.yml b/airbyte-integrations/connectors/source-snowflake/acceptance-test-config.yml index fdedcf8ff4bf..625a9065a342 100644 --- a/airbyte-integrations/connectors/source-snowflake/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-snowflake/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-snowflake:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-snowflake/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-snowflake/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-snowflake/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-snowflake/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-snowflake/build.gradle b/airbyte-integrations/connectors/source-snowflake/build.gradle index 5be316625a59..cff90793c768 100644 --- a/airbyte-integrations/connectors/source-snowflake/build.gradle +++ b/airbyte-integrations/connectors/source-snowflake/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-snowflake/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-snowflake/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-snowflake/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-snowflake/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-sonar-cloud/README.md b/airbyte-integrations/connectors/source-sonar-cloud/README.md index 8d583e13ea04..8cbed405be80 100644 --- a/airbyte-integrations/connectors/source-sonar-cloud/README.md +++ b/airbyte-integrations/connectors/source-sonar-cloud/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-sonar-cloud/acceptance-test-config.yml b/airbyte-integrations/connectors/source-sonar-cloud/acceptance-test-config.yml index 2964808d0fa3..f8b18d7272fa 100644 --- a/airbyte-integrations/connectors/source-sonar-cloud/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-sonar-cloud/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-sonar-cloud:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-sonar-cloud/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-sonar-cloud/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-sonar-cloud/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-sonar-cloud/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-sonar-cloud/build.gradle b/airbyte-integrations/connectors/source-sonar-cloud/build.gradle index 1d6d97599de5..74e2c688e3eb 100644 --- a/airbyte-integrations/connectors/source-sonar-cloud/build.gradle +++ b/airbyte-integrations/connectors/source-sonar-cloud/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-sonar-cloud/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-sonar-cloud/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-sonar-cloud/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-sonar-cloud/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-sonar-cloud/requirements.txt b/airbyte-integrations/connectors/source-sonar-cloud/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-sonar-cloud/requirements.txt +++ b/airbyte-integrations/connectors/source-sonar-cloud/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-sonar-cloud/setup.py b/airbyte-integrations/connectors/source-sonar-cloud/setup.py index 1159c40211a0..b4bc492a1b7b 100644 --- a/airbyte-integrations/connectors/source-sonar-cloud/setup.py +++ b/airbyte-integrations/connectors/source-sonar-cloud/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-spacex-api/README.md b/airbyte-integrations/connectors/source-spacex-api/README.md index 3cdce9f5bcd8..bac4ec13c35a 100644 --- a/airbyte-integrations/connectors/source-spacex-api/README.md +++ b/airbyte-integrations/connectors/source-spacex-api/README.md @@ -72,7 +72,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-spacex-api/acceptance-test-config.yml b/airbyte-integrations/connectors/source-spacex-api/acceptance-test-config.yml index 9b1901392261..aadee3970b12 100644 --- a/airbyte-integrations/connectors/source-spacex-api/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-spacex-api/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-spacex-api:dev tests: diff --git a/airbyte-integrations/connectors/source-spacex-api/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-spacex-api/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-spacex-api/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-spacex-api/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-spacex-api/build.gradle b/airbyte-integrations/connectors/source-spacex-api/build.gradle index f1fa129e4e42..f6146e282406 100644 --- a/airbyte-integrations/connectors/source-spacex-api/build.gradle +++ b/airbyte-integrations/connectors/source-spacex-api/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-spacex-api/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-spacex-api/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-spacex-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-spacex-api/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-spacex-api/requirements.txt b/airbyte-integrations/connectors/source-spacex-api/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-spacex-api/requirements.txt +++ b/airbyte-integrations/connectors/source-spacex-api/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-spacex-api/setup.py b/airbyte-integrations/connectors/source-spacex-api/setup.py index 53b970cfadfb..ed194ee1ae9b 100644 --- a/airbyte-integrations/connectors/source-spacex-api/setup.py +++ b/airbyte-integrations/connectors/source-spacex-api/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-square/README.md b/airbyte-integrations/connectors/source-square/README.md index 87cd7ef6044b..7528f8a2516c 100644 --- a/airbyte-integrations/connectors/source-square/README.md +++ b/airbyte-integrations/connectors/source-square/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-square/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-square/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-square/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-square/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-square/build.gradle b/airbyte-integrations/connectors/source-square/build.gradle index 00d81e2eac60..026d076902d9 100644 --- a/airbyte-integrations/connectors/source-square/build.gradle +++ b/airbyte-integrations/connectors/source-square/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-square/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-square/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-square/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-square/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-square/requirements.txt b/airbyte-integrations/connectors/source-square/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-square/requirements.txt +++ b/airbyte-integrations/connectors/source-square/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-square/setup.py b/airbyte-integrations/connectors/source-square/setup.py index c30071fe22d8..236b3e4e7b50 100644 --- a/airbyte-integrations/connectors/source-square/setup.py +++ b/airbyte-integrations/connectors/source-square/setup.py @@ -13,7 +13,7 @@ "freezegun", "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-statuspage/README.md b/airbyte-integrations/connectors/source-statuspage/README.md index 4e7e016af822..53b49bb1a1ac 100644 --- a/airbyte-integrations/connectors/source-statuspage/README.md +++ b/airbyte-integrations/connectors/source-statuspage/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-statuspage/acceptance-test-config.yml b/airbyte-integrations/connectors/source-statuspage/acceptance-test-config.yml index e435d1d4b1e1..6d8492baa303 100644 --- a/airbyte-integrations/connectors/source-statuspage/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-statuspage/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-statuspage:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-statuspage/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-statuspage/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-statuspage/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-statuspage/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-statuspage/build.gradle b/airbyte-integrations/connectors/source-statuspage/build.gradle index d12fe827a803..8ffd90d6c0a1 100644 --- a/airbyte-integrations/connectors/source-statuspage/build.gradle +++ b/airbyte-integrations/connectors/source-statuspage/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-statuspage/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-statuspage/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-statuspage/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-statuspage/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-statuspage/requirements.txt b/airbyte-integrations/connectors/source-statuspage/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-statuspage/requirements.txt +++ b/airbyte-integrations/connectors/source-statuspage/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-statuspage/setup.py b/airbyte-integrations/connectors/source-statuspage/setup.py index 2e30767f7b8d..9d59a40e2d8f 100644 --- a/airbyte-integrations/connectors/source-statuspage/setup.py +++ b/airbyte-integrations/connectors/source-statuspage/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-strava/README.md b/airbyte-integrations/connectors/source-strava/README.md index dc2c4b05cdc7..12ceab1d0a90 100644 --- a/airbyte-integrations/connectors/source-strava/README.md +++ b/airbyte-integrations/connectors/source-strava/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-strava/acceptance-test-config.yml b/airbyte-integrations/connectors/source-strava/acceptance-test-config.yml index b88f3ab663c4..5922473aaa19 100644 --- a/airbyte-integrations/connectors/source-strava/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-strava/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-strava:dev tests: diff --git a/airbyte-integrations/connectors/source-strava/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-strava/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-strava/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-strava/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-strava/build.gradle b/airbyte-integrations/connectors/source-strava/build.gradle index 7632de4a7ffb..ff9b54eb3055 100644 --- a/airbyte-integrations/connectors/source-strava/build.gradle +++ b/airbyte-integrations/connectors/source-strava/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-strava/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-strava/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-strava/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-strava/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-strava/requirements.txt b/airbyte-integrations/connectors/source-strava/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-strava/requirements.txt +++ b/airbyte-integrations/connectors/source-strava/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-strava/setup.py b/airbyte-integrations/connectors/source-strava/setup.py index f083d9c705c1..e74bbd39bc44 100644 --- a/airbyte-integrations/connectors/source-strava/setup.py +++ b/airbyte-integrations/connectors/source-strava/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-stripe/README.md b/airbyte-integrations/connectors/source-stripe/README.md index 0c5053166610..d8f47a922e1d 100644 --- a/airbyte-integrations/connectors/source-stripe/README.md +++ b/airbyte-integrations/connectors/source-stripe/README.md @@ -62,7 +62,7 @@ python -m pytest unit_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-stripe/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-stripe/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-stripe/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-stripe/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-stripe/build.gradle b/airbyte-integrations/connectors/source-stripe/build.gradle index 5b21d4101215..9155c2e56cc9 100644 --- a/airbyte-integrations/connectors/source-stripe/build.gradle +++ b/airbyte-integrations/connectors/source-stripe/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-stripe/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-stripe/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-stripe/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-stripe/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-stripe/requirements.txt b/airbyte-integrations/connectors/source-stripe/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-stripe/requirements.txt +++ b/airbyte-integrations/connectors/source-stripe/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-stripe/setup.py b/airbyte-integrations/connectors/source-stripe/setup.py index cdadac0206ca..571455ba7ea0 100644 --- a/airbyte-integrations/connectors/source-stripe/setup.py +++ b/airbyte-integrations/connectors/source-stripe/setup.py @@ -11,7 +11,7 @@ "pytest~=6.1", "requests-mock", "requests_mock~=1.8", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-survey-sparrow/README.md b/airbyte-integrations/connectors/source-survey-sparrow/README.md index 847d9d62d3f9..888bfbbbf128 100644 --- a/airbyte-integrations/connectors/source-survey-sparrow/README.md +++ b/airbyte-integrations/connectors/source-survey-sparrow/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-survey-sparrow/acceptance-test-config.yml b/airbyte-integrations/connectors/source-survey-sparrow/acceptance-test-config.yml index 9fa1f04cfad4..aca7c68a633f 100644 --- a/airbyte-integrations/connectors/source-survey-sparrow/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-survey-sparrow/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-survey-sparrow:dev tests: diff --git a/airbyte-integrations/connectors/source-survey-sparrow/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-survey-sparrow/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-survey-sparrow/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-survey-sparrow/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-survey-sparrow/build.gradle b/airbyte-integrations/connectors/source-survey-sparrow/build.gradle index e6542b6054ff..620affb88541 100644 --- a/airbyte-integrations/connectors/source-survey-sparrow/build.gradle +++ b/airbyte-integrations/connectors/source-survey-sparrow/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-survey-sparrow/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-survey-sparrow/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-survey-sparrow/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-survey-sparrow/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-survey-sparrow/requirements.txt b/airbyte-integrations/connectors/source-survey-sparrow/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-survey-sparrow/requirements.txt +++ b/airbyte-integrations/connectors/source-survey-sparrow/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-survey-sparrow/setup.py b/airbyte-integrations/connectors/source-survey-sparrow/setup.py index 4290af4bbc31..f6f2cad0b46e 100644 --- a/airbyte-integrations/connectors/source-survey-sparrow/setup.py +++ b/airbyte-integrations/connectors/source-survey-sparrow/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.2", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-surveycto/README.md b/airbyte-integrations/connectors/source-surveycto/README.md index 14b3e6e6c6e2..e718795db84d 100644 --- a/airbyte-integrations/connectors/source-surveycto/README.md +++ b/airbyte-integrations/connectors/source-surveycto/README.md @@ -112,7 +112,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-surveycto/acceptance-test-config.yml b/airbyte-integrations/connectors/source-surveycto/acceptance-test-config.yml index bfb6ee5bf35a..76059e318f17 100644 --- a/airbyte-integrations/connectors/source-surveycto/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-surveycto/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-surveycto:dev tests: diff --git a/airbyte-integrations/connectors/source-surveycto/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-surveycto/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-surveycto/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-surveycto/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-surveycto/build.gradle b/airbyte-integrations/connectors/source-surveycto/build.gradle index 533e3d5f65c4..bc6c05284a28 100644 --- a/airbyte-integrations/connectors/source-surveycto/build.gradle +++ b/airbyte-integrations/connectors/source-surveycto/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-surveycto/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-surveycto/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-surveycto/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-surveycto/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-surveycto/requirements.txt b/airbyte-integrations/connectors/source-surveycto/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-surveycto/requirements.txt +++ b/airbyte-integrations/connectors/source-surveycto/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-surveycto/setup.py b/airbyte-integrations/connectors/source-surveycto/setup.py index 61279e9187de..93c5d7b2f015 100644 --- a/airbyte-integrations/connectors/source-surveycto/setup.py +++ b/airbyte-integrations/connectors/source-surveycto/setup.py @@ -10,7 +10,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-surveymonkey/README.md b/airbyte-integrations/connectors/source-surveymonkey/README.md index 8fffde5dd91d..fe5582caa5ea 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/README.md +++ b/airbyte-integrations/connectors/source-surveymonkey/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-surveymonkey/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-surveymonkey/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-surveymonkey/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-surveymonkey/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-surveymonkey/build.gradle b/airbyte-integrations/connectors/source-surveymonkey/build.gradle index 9322a82b3fb8..27ab0b59e733 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/build.gradle +++ b/airbyte-integrations/connectors/source-surveymonkey/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-surveymonkey/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-surveymonkey/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-surveymonkey/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-surveymonkey/requirements.txt b/airbyte-integrations/connectors/source-surveymonkey/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/requirements.txt +++ b/airbyte-integrations/connectors/source-surveymonkey/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-surveymonkey/setup.py b/airbyte-integrations/connectors/source-surveymonkey/setup.py index 87cde1d261f5..af2ddac9484c 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/setup.py +++ b/airbyte-integrations/connectors/source-surveymonkey/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk", "vcrpy==4.1.1"] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "requests_mock"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "requests_mock"] setup( name="source_surveymonkey", diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/README.md b/airbyte-integrations/connectors/source-talkdesk-explore/README.md index aed309009812..7b42072e3ad2 100644 --- a/airbyte-integrations/connectors/source-talkdesk-explore/README.md +++ b/airbyte-integrations/connectors/source-talkdesk-explore/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-config.yml b/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-config.yml index 6cc635226775..59db1e673e25 100644 --- a/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte-local/source-talkdesk:tests tests: diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/build.gradle b/airbyte-integrations/connectors/source-talkdesk-explore/build.gradle index a148bf45f4ad..c78ee4737128 100644 --- a/airbyte-integrations/connectors/source-talkdesk-explore/build.gradle +++ b/airbyte-integrations/connectors/source-talkdesk-explore/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/requirements.txt b/airbyte-integrations/connectors/source-talkdesk-explore/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-talkdesk-explore/requirements.txt +++ b/airbyte-integrations/connectors/source-talkdesk-explore/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/setup.py b/airbyte-integrations/connectors/source-talkdesk-explore/setup.py index 5a1cac95a33c..dadab9cf4467 100644 --- a/airbyte-integrations/connectors/source-talkdesk-explore/setup.py +++ b/airbyte-integrations/connectors/source-talkdesk-explore/setup.py @@ -11,7 +11,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-tempo/README.md b/airbyte-integrations/connectors/source-tempo/README.md index b74f87436454..c00f9698fa81 100644 --- a/airbyte-integrations/connectors/source-tempo/README.md +++ b/airbyte-integrations/connectors/source-tempo/README.md @@ -89,7 +89,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/sample_files:/sample_files Make sure to familiarize yourself with [pytest test discovery](https://docs.pytest.org/en/latest/goodpractices.html#test-discovery) to know how your test files and methods should be named. #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-tempo/acceptance-test-config.yml b/airbyte-integrations/connectors/source-tempo/acceptance-test-config.yml index f9a7d8db596a..8a4276ea4390 100644 --- a/airbyte-integrations/connectors/source-tempo/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-tempo/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-tempo:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-tempo/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-tempo/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-tempo/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-tempo/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-tempo/build.gradle b/airbyte-integrations/connectors/source-tempo/build.gradle index f2bc756502fc..117ebdc5cb2c 100644 --- a/airbyte-integrations/connectors/source-tempo/build.gradle +++ b/airbyte-integrations/connectors/source-tempo/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-tempo/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-tempo/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-tempo/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-tempo/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-tempo/requirements.txt b/airbyte-integrations/connectors/source-tempo/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-tempo/requirements.txt +++ b/airbyte-integrations/connectors/source-tempo/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-tempo/setup.py b/airbyte-integrations/connectors/source-tempo/setup.py index 979bef06a5a8..94c710487415 100644 --- a/airbyte-integrations/connectors/source-tempo/setup.py +++ b/airbyte-integrations/connectors/source-tempo/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-the-guardian-api/README.md b/airbyte-integrations/connectors/source-the-guardian-api/README.md index 4bc60225dafd..036410fdf74d 100644 --- a/airbyte-integrations/connectors/source-the-guardian-api/README.md +++ b/airbyte-integrations/connectors/source-the-guardian-api/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-the-guardian-api/acceptance-test-config.yml b/airbyte-integrations/connectors/source-the-guardian-api/acceptance-test-config.yml index 3fd41494874c..f533f081d319 100644 --- a/airbyte-integrations/connectors/source-the-guardian-api/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-the-guardian-api/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-the-guardian-api:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-the-guardian-api/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-the-guardian-api/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-the-guardian-api/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-the-guardian-api/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-the-guardian-api/build.gradle b/airbyte-integrations/connectors/source-the-guardian-api/build.gradle index 7148bffa332d..f52157bc6e06 100644 --- a/airbyte-integrations/connectors/source-the-guardian-api/build.gradle +++ b/airbyte-integrations/connectors/source-the-guardian-api/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-the-guardian-api/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-the-guardian-api/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-the-guardian-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-the-guardian-api/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-the-guardian-api/requirements.txt b/airbyte-integrations/connectors/source-the-guardian-api/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-the-guardian-api/requirements.txt +++ b/airbyte-integrations/connectors/source-the-guardian-api/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-the-guardian-api/setup.py b/airbyte-integrations/connectors/source-the-guardian-api/setup.py index 3f15ab9cf252..d6731cb92a73 100644 --- a/airbyte-integrations/connectors/source-the-guardian-api/setup.py +++ b/airbyte-integrations/connectors/source-the-guardian-api/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-tidb/acceptance-test-config.yml b/airbyte-integrations/connectors/source-tidb/acceptance-test-config.yml index 193e2c954199..89f6a908e016 100644 --- a/airbyte-integrations/connectors/source-tidb/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-tidb/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-tidb:dev tests: diff --git a/airbyte-integrations/connectors/source-tidb/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-tidb/acceptance-test-docker.sh index ba0ab2874b98..f1b33af9c765 100644 --- a/airbyte-integrations/connectors/source-tidb/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-tidb/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-tidb/build.gradle b/airbyte-integrations/connectors/source-tidb/build.gradle index 6f1001121a8d..5b7b1ca5f128 100644 --- a/airbyte-integrations/connectors/source-tidb/build.gradle +++ b/airbyte-integrations/connectors/source-tidb/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'airbyte-docker' id 'airbyte-integration-test-java' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } application { diff --git a/airbyte-integrations/connectors/source-tidb/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-tidb/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-tidb/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-tidb/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/README.md b/airbyte-integrations/connectors/source-tiktok-marketing/README.md index 09f3a7b0f733..2a99e1cd8e99 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/README.md +++ b/airbyte-integrations/connectors/source-tiktok-marketing/README.md @@ -95,12 +95,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-tiktok-marketing:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/acceptance-test-config.yml b/airbyte-integrations/connectors/source-tiktok-marketing/acceptance-test-config.yml index 41d541970284..dd8470e759b1 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-tiktok-marketing/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-tiktok-marketing:dev diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-tiktok-marketing/acceptance-test-docker.sh index 10fb6991808f..69b8bea32e31 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-tiktok-marketing/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test:latest \ + airbyte/connector-acceptance-test:latest \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/build.gradle b/airbyte-integrations/connectors/source-tiktok-marketing/build.gradle index f0be3533e1b9..186dbde7c8cd 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/build.gradle +++ b/airbyte-integrations/connectors/source-tiktok-marketing/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-tiktok-marketing/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-tiktok-marketing/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/requirements.txt b/airbyte-integrations/connectors/source-tiktok-marketing/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/requirements.txt +++ b/airbyte-integrations/connectors/source-tiktok-marketing/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/setup.py b/airbyte-integrations/connectors/source-tiktok-marketing/setup.py index fd635e42316e..186d11f9dc5a 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/setup.py +++ b/airbyte-integrations/connectors/source-tiktok-marketing/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk"] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "requests-mock==1.9.3", "timeout-decorator==0.5.0"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "requests-mock==1.9.3", "timeout-decorator==0.5.0"] setup( name="source_tiktok_marketing", diff --git a/airbyte-integrations/connectors/source-timely/README.md b/airbyte-integrations/connectors/source-timely/README.md index 5b4f10657b1e..a64bb8add0da 100644 --- a/airbyte-integrations/connectors/source-timely/README.md +++ b/airbyte-integrations/connectors/source-timely/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-timely/acceptance-test-config.yml b/airbyte-integrations/connectors/source-timely/acceptance-test-config.yml index d59ece835b8c..feeee984bd84 100644 --- a/airbyte-integrations/connectors/source-timely/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-timely/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-timely:dev tests: diff --git a/airbyte-integrations/connectors/source-timely/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-timely/acceptance-test-docker.sh index c1b6049734e9..12eb4b8d8aa5 100644 --- a/airbyte-integrations/connectors/source-timely/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-timely/acceptance-test-docker.sh @@ -8,6 +8,6 @@ docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test:dev \ + airbyte/connector-acceptance-test:dev \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-timely/build.gradle b/airbyte-integrations/connectors/source-timely/build.gradle index 427eab1ab9fe..83b94682be2d 100644 --- a/airbyte-integrations/connectors/source-timely/build.gradle +++ b/airbyte-integrations/connectors/source-timely/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-timely/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-timely/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-timely/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-timely/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-timely/requirements.txt b/airbyte-integrations/connectors/source-timely/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-timely/requirements.txt +++ b/airbyte-integrations/connectors/source-timely/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-timely/setup.py b/airbyte-integrations/connectors/source-timely/setup.py index 54fe0ffa59a3..5f9e818fb3cc 100644 --- a/airbyte-integrations/connectors/source-timely/setup.py +++ b/airbyte-integrations/connectors/source-timely/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-tmdb/README.md b/airbyte-integrations/connectors/source-tmdb/README.md index a13681405f9a..25b3dbddd3ec 100644 --- a/airbyte-integrations/connectors/source-tmdb/README.md +++ b/airbyte-integrations/connectors/source-tmdb/README.md @@ -73,7 +73,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-tmdb/acceptance-test-config.yml b/airbyte-integrations/connectors/source-tmdb/acceptance-test-config.yml index 9f57942648fa..f0fe7d7f755d 100644 --- a/airbyte-integrations/connectors/source-tmdb/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-tmdb/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-tmdb:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-tmdb/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-tmdb/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-tmdb/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-tmdb/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-tmdb/build.gradle b/airbyte-integrations/connectors/source-tmdb/build.gradle index c92a8722601e..e46f30c1d7df 100644 --- a/airbyte-integrations/connectors/source-tmdb/build.gradle +++ b/airbyte-integrations/connectors/source-tmdb/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-tmdb/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-tmdb/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-tmdb/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-tmdb/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-tmdb/requirements.txt b/airbyte-integrations/connectors/source-tmdb/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-tmdb/requirements.txt +++ b/airbyte-integrations/connectors/source-tmdb/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-tmdb/setup.py b/airbyte-integrations/connectors/source-tmdb/setup.py index 87b62e457a44..66370441dd7a 100644 --- a/airbyte-integrations/connectors/source-tmdb/setup.py +++ b/airbyte-integrations/connectors/source-tmdb/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-toggl/README.md b/airbyte-integrations/connectors/source-toggl/README.md index 6e6a69e51e9a..e4623b653ad8 100644 --- a/airbyte-integrations/connectors/source-toggl/README.md +++ b/airbyte-integrations/connectors/source-toggl/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-toggl/acceptance-test-config.yml b/airbyte-integrations/connectors/source-toggl/acceptance-test-config.yml index 215421a7b398..402bace4f222 100644 --- a/airbyte-integrations/connectors/source-toggl/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-toggl/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-toggl:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-toggl/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-toggl/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-toggl/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-toggl/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-toggl/build.gradle b/airbyte-integrations/connectors/source-toggl/build.gradle index 5eabc6da3dba..3cca4b4c1c4d 100644 --- a/airbyte-integrations/connectors/source-toggl/build.gradle +++ b/airbyte-integrations/connectors/source-toggl/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-toggl/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-toggl/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-toggl/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-toggl/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-toggl/requirements.txt b/airbyte-integrations/connectors/source-toggl/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-toggl/requirements.txt +++ b/airbyte-integrations/connectors/source-toggl/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-toggl/setup.py b/airbyte-integrations/connectors/source-toggl/setup.py index 907383d992cf..71370e14adbc 100644 --- a/airbyte-integrations/connectors/source-toggl/setup.py +++ b/airbyte-integrations/connectors/source-toggl/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-tplcentral/README.md b/airbyte-integrations/connectors/source-tplcentral/README.md index a3555122af61..822a6a1cbf0d 100644 --- a/airbyte-integrations/connectors/source-tplcentral/README.md +++ b/airbyte-integrations/connectors/source-tplcentral/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-tplcentral/acceptance-test-config.yml b/airbyte-integrations/connectors/source-tplcentral/acceptance-test-config.yml index c831d6c6a790..6082b91bb42b 100644 --- a/airbyte-integrations/connectors/source-tplcentral/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-tplcentral/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-tplcentral:dev tests: diff --git a/airbyte-integrations/connectors/source-tplcentral/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-tplcentral/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-tplcentral/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-tplcentral/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-tplcentral/build.gradle b/airbyte-integrations/connectors/source-tplcentral/build.gradle index ceefff148d95..57fb59665888 100644 --- a/airbyte-integrations/connectors/source-tplcentral/build.gradle +++ b/airbyte-integrations/connectors/source-tplcentral/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-tplcentral/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-tplcentral/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-tplcentral/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-tplcentral/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-tplcentral/requirements.txt b/airbyte-integrations/connectors/source-tplcentral/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-tplcentral/requirements.txt +++ b/airbyte-integrations/connectors/source-tplcentral/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-tplcentral/setup.py b/airbyte-integrations/connectors/source-tplcentral/setup.py index d38492bef590..325a8ee76e0f 100644 --- a/airbyte-integrations/connectors/source-tplcentral/setup.py +++ b/airbyte-integrations/connectors/source-tplcentral/setup.py @@ -14,7 +14,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "requests-mock~=1.9.3", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-trello/README.md b/airbyte-integrations/connectors/source-trello/README.md index 4ef426f458a1..c1b7ac7d0476 100644 --- a/airbyte-integrations/connectors/source-trello/README.md +++ b/airbyte-integrations/connectors/source-trello/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-trello/acceptance-test-config.yml b/airbyte-integrations/connectors/source-trello/acceptance-test-config.yml index b4aca2c682bf..df2c3f121ec8 100644 --- a/airbyte-integrations/connectors/source-trello/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-trello/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-trello:dev tests: diff --git a/airbyte-integrations/connectors/source-trello/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-trello/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-trello/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-trello/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-trello/build.gradle b/airbyte-integrations/connectors/source-trello/build.gradle index 6a5007e24c31..6b4df2291f12 100644 --- a/airbyte-integrations/connectors/source-trello/build.gradle +++ b/airbyte-integrations/connectors/source-trello/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-trello/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-trello/integration_tests/acceptance.py index 1d66fbf1a331..cf2c85d8884f 100644 --- a/airbyte-integrations/connectors/source-trello/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-trello/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-trello/requirements.txt b/airbyte-integrations/connectors/source-trello/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-trello/requirements.txt +++ b/airbyte-integrations/connectors/source-trello/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-trello/setup.py b/airbyte-integrations/connectors/source-trello/setup.py index f32dcf787484..e780152e5793 100644 --- a/airbyte-integrations/connectors/source-trello/setup.py +++ b/airbyte-integrations/connectors/source-trello/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "requests-mock", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-tvmaze-schedule/README.md b/airbyte-integrations/connectors/source-tvmaze-schedule/README.md index 8f6ee3c87b0c..9feb6bc29b36 100644 --- a/airbyte-integrations/connectors/source-tvmaze-schedule/README.md +++ b/airbyte-integrations/connectors/source-tvmaze-schedule/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-tvmaze-schedule/acceptance-test-config.yml b/airbyte-integrations/connectors/source-tvmaze-schedule/acceptance-test-config.yml index 3a7509bbf359..35fd40bc3d6e 100644 --- a/airbyte-integrations/connectors/source-tvmaze-schedule/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-tvmaze-schedule/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-tvmaze-schedule:dev tests: diff --git a/airbyte-integrations/connectors/source-tvmaze-schedule/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-tvmaze-schedule/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-tvmaze-schedule/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-tvmaze-schedule/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-tvmaze-schedule/build.gradle b/airbyte-integrations/connectors/source-tvmaze-schedule/build.gradle index 0d46db9972fb..df1d329b1e1a 100644 --- a/airbyte-integrations/connectors/source-tvmaze-schedule/build.gradle +++ b/airbyte-integrations/connectors/source-tvmaze-schedule/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-tvmaze-schedule/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-tvmaze-schedule/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-tvmaze-schedule/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-tvmaze-schedule/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-tvmaze-schedule/requirements.txt b/airbyte-integrations/connectors/source-tvmaze-schedule/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-tvmaze-schedule/requirements.txt +++ b/airbyte-integrations/connectors/source-tvmaze-schedule/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-tvmaze-schedule/setup.py b/airbyte-integrations/connectors/source-tvmaze-schedule/setup.py index 90cb9a01f789..11dee50b8ac9 100644 --- a/airbyte-integrations/connectors/source-tvmaze-schedule/setup.py +++ b/airbyte-integrations/connectors/source-tvmaze-schedule/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-twilio-taskrouter/README.md b/airbyte-integrations/connectors/source-twilio-taskrouter/README.md index 96a5c113fa04..2011185ec41d 100644 --- a/airbyte-integrations/connectors/source-twilio-taskrouter/README.md +++ b/airbyte-integrations/connectors/source-twilio-taskrouter/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-twilio-taskrouter/acceptance-test-config.yml b/airbyte-integrations/connectors/source-twilio-taskrouter/acceptance-test-config.yml index 91ec0016691c..7e9744920bc8 100644 --- a/airbyte-integrations/connectors/source-twilio-taskrouter/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-twilio-taskrouter/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-twilio-taskrouter:dev tests: diff --git a/airbyte-integrations/connectors/source-twilio-taskrouter/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-twilio-taskrouter/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-twilio-taskrouter/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-twilio-taskrouter/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-twilio-taskrouter/build.gradle b/airbyte-integrations/connectors/source-twilio-taskrouter/build.gradle index dab033a50549..618253f6701e 100644 --- a/airbyte-integrations/connectors/source-twilio-taskrouter/build.gradle +++ b/airbyte-integrations/connectors/source-twilio-taskrouter/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-twilio-taskrouter/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-twilio-taskrouter/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-twilio-taskrouter/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-twilio-taskrouter/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-twilio-taskrouter/requirements.txt b/airbyte-integrations/connectors/source-twilio-taskrouter/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-twilio-taskrouter/requirements.txt +++ b/airbyte-integrations/connectors/source-twilio-taskrouter/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-twilio-taskrouter/setup.py b/airbyte-integrations/connectors/source-twilio-taskrouter/setup.py index cedab75d5676..db0718d63af1 100644 --- a/airbyte-integrations/connectors/source-twilio-taskrouter/setup.py +++ b/airbyte-integrations/connectors/source-twilio-taskrouter/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-twilio/README.md b/airbyte-integrations/connectors/source-twilio/README.md index 8590af3a1385..c25f4c2f2db0 100644 --- a/airbyte-integrations/connectors/source-twilio/README.md +++ b/airbyte-integrations/connectors/source-twilio/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-twilio/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-twilio/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-twilio/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-twilio/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-twilio/build.gradle b/airbyte-integrations/connectors/source-twilio/build.gradle index 4121fb89c282..2a5bb5764276 100644 --- a/airbyte-integrations/connectors/source-twilio/build.gradle +++ b/airbyte-integrations/connectors/source-twilio/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-twilio/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-twilio/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-twilio/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-twilio/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-twilio/requirements.txt b/airbyte-integrations/connectors/source-twilio/requirements.txt index 78140e52009f..91de78ac4144 100644 --- a/airbyte-integrations/connectors/source-twilio/requirements.txt +++ b/airbyte-integrations/connectors/source-twilio/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-twitter/README.md b/airbyte-integrations/connectors/source-twitter/README.md index 8a07a781a4c4..6ce7dfd8f94a 100644 --- a/airbyte-integrations/connectors/source-twitter/README.md +++ b/airbyte-integrations/connectors/source-twitter/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-twitter/acceptance-test-config.yml b/airbyte-integrations/connectors/source-twitter/acceptance-test-config.yml index 945fb590a2f4..33b92e597a1a 100644 --- a/airbyte-integrations/connectors/source-twitter/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-twitter/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-twitter:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-twitter/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-twitter/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-twitter/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-twitter/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-twitter/build.gradle b/airbyte-integrations/connectors/source-twitter/build.gradle index 1b0112733ad3..2feb3d98cee8 100644 --- a/airbyte-integrations/connectors/source-twitter/build.gradle +++ b/airbyte-integrations/connectors/source-twitter/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-twitter/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-twitter/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-twitter/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-twitter/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-twitter/requirements.txt b/airbyte-integrations/connectors/source-twitter/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-twitter/requirements.txt +++ b/airbyte-integrations/connectors/source-twitter/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-twitter/setup.py b/airbyte-integrations/connectors/source-twitter/setup.py index e6094aaae349..9ac95bacebc5 100644 --- a/airbyte-integrations/connectors/source-twitter/setup.py +++ b/airbyte-integrations/connectors/source-twitter/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-tyntec-sms/README.md b/airbyte-integrations/connectors/source-tyntec-sms/README.md index 3bc098e6234e..d0f274f425ae 100644 --- a/airbyte-integrations/connectors/source-tyntec-sms/README.md +++ b/airbyte-integrations/connectors/source-tyntec-sms/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-tyntec-sms/acceptance-test-config.yml b/airbyte-integrations/connectors/source-tyntec-sms/acceptance-test-config.yml index f6b741455c36..941b685e1e8d 100644 --- a/airbyte-integrations/connectors/source-tyntec-sms/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-tyntec-sms/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-tyntec-sms:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-tyntec-sms/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-tyntec-sms/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-tyntec-sms/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-tyntec-sms/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-tyntec-sms/build.gradle b/airbyte-integrations/connectors/source-tyntec-sms/build.gradle index 1dfd05a6049f..080863eb9787 100644 --- a/airbyte-integrations/connectors/source-tyntec-sms/build.gradle +++ b/airbyte-integrations/connectors/source-tyntec-sms/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-tyntec-sms/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-tyntec-sms/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-tyntec-sms/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-tyntec-sms/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-tyntec-sms/requirements.txt b/airbyte-integrations/connectors/source-tyntec-sms/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-tyntec-sms/requirements.txt +++ b/airbyte-integrations/connectors/source-tyntec-sms/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-tyntec-sms/setup.py b/airbyte-integrations/connectors/source-tyntec-sms/setup.py index 808a2f4ab62f..dafec990e0b1 100644 --- a/airbyte-integrations/connectors/source-tyntec-sms/setup.py +++ b/airbyte-integrations/connectors/source-tyntec-sms/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-typeform/README.md b/airbyte-integrations/connectors/source-typeform/README.md index d9032d090f92..acbe4c6db7b3 100644 --- a/airbyte-integrations/connectors/source-typeform/README.md +++ b/airbyte-integrations/connectors/source-typeform/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-typeform/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-typeform/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-typeform/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-typeform/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-typeform/build.gradle b/airbyte-integrations/connectors/source-typeform/build.gradle index 19d18276e7f2..8098789cc3b0 100644 --- a/airbyte-integrations/connectors/source-typeform/build.gradle +++ b/airbyte-integrations/connectors/source-typeform/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-typeform/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-typeform/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-typeform/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-typeform/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-typeform/requirements.txt b/airbyte-integrations/connectors/source-typeform/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-typeform/requirements.txt +++ b/airbyte-integrations/connectors/source-typeform/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-typeform/setup.py b/airbyte-integrations/connectors/source-typeform/setup.py index 17943c6191fc..4a740bcd2713 100644 --- a/airbyte-integrations/connectors/source-typeform/setup.py +++ b/airbyte-integrations/connectors/source-typeform/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "source-acceptance-test", "pytest-mock~=3.6", "requests_mock~=1.8"] +TEST_REQUIREMENTS = ["pytest~=6.1", "connector-acceptance-test", "pytest-mock~=3.6", "requests_mock~=1.8"] setup( name="source_typeform", diff --git a/airbyte-integrations/connectors/source-us-census/README.md b/airbyte-integrations/connectors/source-us-census/README.md index bb83c2b04190..d4899f44d8bc 100644 --- a/airbyte-integrations/connectors/source-us-census/README.md +++ b/airbyte-integrations/connectors/source-us-census/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-us-census/acceptance-test-config.yml b/airbyte-integrations/connectors/source-us-census/acceptance-test-config.yml index 14b72c6317a7..cbf3708f6d4a 100644 --- a/airbyte-integrations/connectors/source-us-census/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-us-census/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-us-census:dev tests: diff --git a/airbyte-integrations/connectors/source-us-census/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-us-census/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100755 --- a/airbyte-integrations/connectors/source-us-census/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-us-census/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-us-census/build.gradle b/airbyte-integrations/connectors/source-us-census/build.gradle index aeb60bf5c110..ebb4c6cc2957 100644 --- a/airbyte-integrations/connectors/source-us-census/build.gradle +++ b/airbyte-integrations/connectors/source-us-census/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-us-census/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-us-census/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-us-census/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-us-census/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-us-census/requirements.txt b/airbyte-integrations/connectors/source-us-census/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-us-census/requirements.txt +++ b/airbyte-integrations/connectors/source-us-census/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-us-census/setup.py b/airbyte-integrations/connectors/source-us-census/setup.py index f8619dea0c47..dfd19f29a65a 100644 --- a/airbyte-integrations/connectors/source-us-census/setup.py +++ b/airbyte-integrations/connectors/source-us-census/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "responses~=0.13", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-vantage/README.md b/airbyte-integrations/connectors/source-vantage/README.md index 27ab78efacdf..4647fb5e9427 100644 --- a/airbyte-integrations/connectors/source-vantage/README.md +++ b/airbyte-integrations/connectors/source-vantage/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-vantage/acceptance-test-config.yml b/airbyte-integrations/connectors/source-vantage/acceptance-test-config.yml index 377586896b34..9e4edd372fd6 100644 --- a/airbyte-integrations/connectors/source-vantage/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-vantage/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-vantage:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-vantage/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-vantage/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-vantage/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-vantage/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-vantage/build.gradle b/airbyte-integrations/connectors/source-vantage/build.gradle index a6274c8c2cbb..226502c81507 100644 --- a/airbyte-integrations/connectors/source-vantage/build.gradle +++ b/airbyte-integrations/connectors/source-vantage/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-vantage/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-vantage/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-vantage/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-vantage/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-vantage/requirements.txt b/airbyte-integrations/connectors/source-vantage/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-vantage/requirements.txt +++ b/airbyte-integrations/connectors/source-vantage/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-vantage/setup.py b/airbyte-integrations/connectors/source-vantage/setup.py index 1ddfdb789b6c..07a25e336c7c 100644 --- a/airbyte-integrations/connectors/source-vantage/setup.py +++ b/airbyte-integrations/connectors/source-vantage/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-visma-economic/README.md b/airbyte-integrations/connectors/source-visma-economic/README.md index 8ebca9d2a472..4ade1f0ae26e 100644 --- a/airbyte-integrations/connectors/source-visma-economic/README.md +++ b/airbyte-integrations/connectors/source-visma-economic/README.md @@ -100,7 +100,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-visma-economic/acceptance-test-config.yml b/airbyte-integrations/connectors/source-visma-economic/acceptance-test-config.yml index d962afbac36e..b94809fceaac 100644 --- a/airbyte-integrations/connectors/source-visma-economic/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-visma-economic/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-visma-economic:dev tests: diff --git a/airbyte-integrations/connectors/source-visma-economic/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-visma-economic/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-visma-economic/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-visma-economic/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-visma-economic/build.gradle b/airbyte-integrations/connectors/source-visma-economic/build.gradle index 8e6e22808fae..2fc62653da4f 100644 --- a/airbyte-integrations/connectors/source-visma-economic/build.gradle +++ b/airbyte-integrations/connectors/source-visma-economic/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-visma-economic/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-visma-economic/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-visma-economic/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-visma-economic/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-visma-economic/requirements.txt b/airbyte-integrations/connectors/source-visma-economic/requirements.txt index 78140e52009f..91de78ac4144 100644 --- a/airbyte-integrations/connectors/source-visma-economic/requirements.txt +++ b/airbyte-integrations/connectors/source-visma-economic/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-visma-economic/setup.py b/airbyte-integrations/connectors/source-visma-economic/setup.py index 5c35d2a6aa98..4ad47c1ae23f 100644 --- a/airbyte-integrations/connectors/source-visma-economic/setup.py +++ b/airbyte-integrations/connectors/source-visma-economic/setup.py @@ -9,7 +9,7 @@ "airbyte-cdk~=0.1", ] -TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "source-acceptance-test", "responses~=0.13.3"] +TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6.1", "connector-acceptance-test", "responses~=0.13.3"] setup( name="source_visma_economic", diff --git a/airbyte-integrations/connectors/source-vitally/README.md b/airbyte-integrations/connectors/source-vitally/README.md index d55eeffce48f..c0990380f1fa 100644 --- a/airbyte-integrations/connectors/source-vitally/README.md +++ b/airbyte-integrations/connectors/source-vitally/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-vitally/acceptance-test-config.yml b/airbyte-integrations/connectors/source-vitally/acceptance-test-config.yml index 55feae87911d..68792336175a 100644 --- a/airbyte-integrations/connectors/source-vitally/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-vitally/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-vitally:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-vitally/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-vitally/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-vitally/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-vitally/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-vitally/build.gradle b/airbyte-integrations/connectors/source-vitally/build.gradle index 840a10c65719..02bcdac3d9eb 100644 --- a/airbyte-integrations/connectors/source-vitally/build.gradle +++ b/airbyte-integrations/connectors/source-vitally/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-vitally/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-vitally/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-vitally/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-vitally/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-vitally/requirements.txt b/airbyte-integrations/connectors/source-vitally/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-vitally/requirements.txt +++ b/airbyte-integrations/connectors/source-vitally/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-vitally/setup.py b/airbyte-integrations/connectors/source-vitally/setup.py index 10ee0bbfcbb4..f0e9aee841d2 100644 --- a/airbyte-integrations/connectors/source-vitally/setup.py +++ b/airbyte-integrations/connectors/source-vitally/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-waiteraid/README.md b/airbyte-integrations/connectors/source-waiteraid/README.md index a4f376768025..6877dcf249fa 100644 --- a/airbyte-integrations/connectors/source-waiteraid/README.md +++ b/airbyte-integrations/connectors/source-waiteraid/README.md @@ -98,7 +98,7 @@ python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-waiteraid/acceptance-test-config.yml b/airbyte-integrations/connectors/source-waiteraid/acceptance-test-config.yml index e28a3cef1364..036671600da7 100644 --- a/airbyte-integrations/connectors/source-waiteraid/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-waiteraid/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-waiteraid:dev tests: diff --git a/airbyte-integrations/connectors/source-waiteraid/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-waiteraid/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-waiteraid/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-waiteraid/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-waiteraid/build.gradle b/airbyte-integrations/connectors/source-waiteraid/build.gradle index 6ea94362d508..820d7f19dcbc 100644 --- a/airbyte-integrations/connectors/source-waiteraid/build.gradle +++ b/airbyte-integrations/connectors/source-waiteraid/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-waiteraid/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-waiteraid/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-waiteraid/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-waiteraid/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-waiteraid/requirements.txt b/airbyte-integrations/connectors/source-waiteraid/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-waiteraid/requirements.txt +++ b/airbyte-integrations/connectors/source-waiteraid/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-waiteraid/setup.py b/airbyte-integrations/connectors/source-waiteraid/setup.py index bb67ca6ef48a..6b175f79c052 100644 --- a/airbyte-integrations/connectors/source-waiteraid/setup.py +++ b/airbyte-integrations/connectors/source-waiteraid/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-weatherstack/README.md b/airbyte-integrations/connectors/source-weatherstack/README.md index 767a218e6e14..26fff4155a22 100644 --- a/airbyte-integrations/connectors/source-weatherstack/README.md +++ b/airbyte-integrations/connectors/source-weatherstack/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-weatherstack/acceptance-test-config.yml b/airbyte-integrations/connectors/source-weatherstack/acceptance-test-config.yml index 76c9d6502efb..df98c6765c5f 100644 --- a/airbyte-integrations/connectors/source-weatherstack/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-weatherstack/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-weatherstack:dev tests: diff --git a/airbyte-integrations/connectors/source-weatherstack/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-weatherstack/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-weatherstack/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-weatherstack/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-weatherstack/build.gradle b/airbyte-integrations/connectors/source-weatherstack/build.gradle index 9bc51f8f770c..0143dca6306c 100644 --- a/airbyte-integrations/connectors/source-weatherstack/build.gradle +++ b/airbyte-integrations/connectors/source-weatherstack/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-weatherstack/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-weatherstack/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-weatherstack/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-weatherstack/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-weatherstack/requirements.txt b/airbyte-integrations/connectors/source-weatherstack/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-weatherstack/requirements.txt +++ b/airbyte-integrations/connectors/source-weatherstack/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-weatherstack/setup.py b/airbyte-integrations/connectors/source-weatherstack/setup.py index a751044e2679..20796901af61 100644 --- a/airbyte-integrations/connectors/source-weatherstack/setup.py +++ b/airbyte-integrations/connectors/source-weatherstack/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-webflow/README.md b/airbyte-integrations/connectors/source-webflow/README.md index 42d0544a024f..c19fdf5b8221 100644 --- a/airbyte-integrations/connectors/source-webflow/README.md +++ b/airbyte-integrations/connectors/source-webflow/README.md @@ -110,7 +110,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-webflow/acceptance-test-config.yml b/airbyte-integrations/connectors/source-webflow/acceptance-test-config.yml index 816c63d8de3a..4b5c6775e316 100644 --- a/airbyte-integrations/connectors/source-webflow/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-webflow/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-webflow:dev tests: diff --git a/airbyte-integrations/connectors/source-webflow/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-webflow/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-webflow/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-webflow/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-webflow/build.gradle b/airbyte-integrations/connectors/source-webflow/build.gradle index a35d8aee048e..2f59b3cde4e1 100644 --- a/airbyte-integrations/connectors/source-webflow/build.gradle +++ b/airbyte-integrations/connectors/source-webflow/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-webflow/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-webflow/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-webflow/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-webflow/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-webflow/requirements.txt b/airbyte-integrations/connectors/source-webflow/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-webflow/requirements.txt +++ b/airbyte-integrations/connectors/source-webflow/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-webflow/setup.py b/airbyte-integrations/connectors/source-webflow/setup.py index 168f25863cf4..9157bc974e3a 100644 --- a/airbyte-integrations/connectors/source-webflow/setup.py +++ b/airbyte-integrations/connectors/source-webflow/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-whisky-hunter/README.md b/airbyte-integrations/connectors/source-whisky-hunter/README.md index 232fe8b3abe8..670da14b0c68 100644 --- a/airbyte-integrations/connectors/source-whisky-hunter/README.md +++ b/airbyte-integrations/connectors/source-whisky-hunter/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-whisky-hunter/acceptance-test-config.yml b/airbyte-integrations/connectors/source-whisky-hunter/acceptance-test-config.yml index e4537545ec47..ce69c03b175e 100644 --- a/airbyte-integrations/connectors/source-whisky-hunter/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-whisky-hunter/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-whisky-hunter:dev tests: diff --git a/airbyte-integrations/connectors/source-whisky-hunter/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-whisky-hunter/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-whisky-hunter/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-whisky-hunter/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-whisky-hunter/build.gradle b/airbyte-integrations/connectors/source-whisky-hunter/build.gradle index 6fb1398539bf..591b9d144d57 100644 --- a/airbyte-integrations/connectors/source-whisky-hunter/build.gradle +++ b/airbyte-integrations/connectors/source-whisky-hunter/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-whisky-hunter/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-whisky-hunter/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-whisky-hunter/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-whisky-hunter/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-whisky-hunter/requirements.txt b/airbyte-integrations/connectors/source-whisky-hunter/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-whisky-hunter/requirements.txt +++ b/airbyte-integrations/connectors/source-whisky-hunter/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-whisky-hunter/setup.py b/airbyte-integrations/connectors/source-whisky-hunter/setup.py index fbeae664a051..b7d9cfde10eb 100644 --- a/airbyte-integrations/connectors/source-whisky-hunter/setup.py +++ b/airbyte-integrations/connectors/source-whisky-hunter/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-wikipedia-pageviews/README.md b/airbyte-integrations/connectors/source-wikipedia-pageviews/README.md index 03cbba6a4e21..c19bbb5bde63 100755 --- a/airbyte-integrations/connectors/source-wikipedia-pageviews/README.md +++ b/airbyte-integrations/connectors/source-wikipedia-pageviews/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-wikipedia-pageviews/acceptance-test-config.yml b/airbyte-integrations/connectors/source-wikipedia-pageviews/acceptance-test-config.yml index 969940f6967a..f74a18abdd88 100755 --- a/airbyte-integrations/connectors/source-wikipedia-pageviews/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-wikipedia-pageviews/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-wikipedia-pageviews:dev tests: diff --git a/airbyte-integrations/connectors/source-wikipedia-pageviews/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-wikipedia-pageviews/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-wikipedia-pageviews/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-wikipedia-pageviews/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-wikipedia-pageviews/build.gradle b/airbyte-integrations/connectors/source-wikipedia-pageviews/build.gradle index 2900db7ffacb..b3356aafea73 100755 --- a/airbyte-integrations/connectors/source-wikipedia-pageviews/build.gradle +++ b/airbyte-integrations/connectors/source-wikipedia-pageviews/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-wikipedia-pageviews/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-wikipedia-pageviews/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100755 --- a/airbyte-integrations/connectors/source-wikipedia-pageviews/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-wikipedia-pageviews/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-wikipedia-pageviews/requirements.txt b/airbyte-integrations/connectors/source-wikipedia-pageviews/requirements.txt index 0411042aa091..cc57334ef619 100755 --- a/airbyte-integrations/connectors/source-wikipedia-pageviews/requirements.txt +++ b/airbyte-integrations/connectors/source-wikipedia-pageviews/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-wikipedia-pageviews/setup.py b/airbyte-integrations/connectors/source-wikipedia-pageviews/setup.py index b49e03eabfeb..17a4bf1d6294 100755 --- a/airbyte-integrations/connectors/source-wikipedia-pageviews/setup.py +++ b/airbyte-integrations/connectors/source-wikipedia-pageviews/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-woocommerce/README.md b/airbyte-integrations/connectors/source-woocommerce/README.md index 2252aa7c689e..0f0c6010cfaf 100644 --- a/airbyte-integrations/connectors/source-woocommerce/README.md +++ b/airbyte-integrations/connectors/source-woocommerce/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-woocommerce/acceptance-test-config.yml b/airbyte-integrations/connectors/source-woocommerce/acceptance-test-config.yml index dc35e1de9536..039e2571a6e0 100644 --- a/airbyte-integrations/connectors/source-woocommerce/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-woocommerce/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-woocommerce:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-woocommerce/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-woocommerce/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-woocommerce/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-woocommerce/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-woocommerce/build.gradle b/airbyte-integrations/connectors/source-woocommerce/build.gradle index 28cb0a0b33cc..236fc10758d6 100644 --- a/airbyte-integrations/connectors/source-woocommerce/build.gradle +++ b/airbyte-integrations/connectors/source-woocommerce/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-woocommerce/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-woocommerce/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-woocommerce/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-woocommerce/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-woocommerce/requirements.txt b/airbyte-integrations/connectors/source-woocommerce/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-woocommerce/requirements.txt +++ b/airbyte-integrations/connectors/source-woocommerce/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-woocommerce/setup.py b/airbyte-integrations/connectors/source-woocommerce/setup.py index 9c4043114eee..2c432e549728 100644 --- a/airbyte-integrations/connectors/source-woocommerce/setup.py +++ b/airbyte-integrations/connectors/source-woocommerce/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-workable/README.md b/airbyte-integrations/connectors/source-workable/README.md index 88e9aaad1ca1..c5ca0894e104 100644 --- a/airbyte-integrations/connectors/source-workable/README.md +++ b/airbyte-integrations/connectors/source-workable/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-workable/acceptance-test-config.yml b/airbyte-integrations/connectors/source-workable/acceptance-test-config.yml index bd4e2a1b8f4c..d147fd5645fe 100644 --- a/airbyte-integrations/connectors/source-workable/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-workable/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-workable:dev tests: diff --git a/airbyte-integrations/connectors/source-workable/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-workable/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-workable/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-workable/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-workable/build.gradle b/airbyte-integrations/connectors/source-workable/build.gradle index 0028e9d2c861..3367afb130cd 100644 --- a/airbyte-integrations/connectors/source-workable/build.gradle +++ b/airbyte-integrations/connectors/source-workable/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-workable/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-workable/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-workable/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-workable/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-workable/requirements.txt b/airbyte-integrations/connectors/source-workable/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-workable/requirements.txt +++ b/airbyte-integrations/connectors/source-workable/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-workable/setup.py b/airbyte-integrations/connectors/source-workable/setup.py index 257af451405d..7217c56b6702 100644 --- a/airbyte-integrations/connectors/source-workable/setup.py +++ b/airbyte-integrations/connectors/source-workable/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-workramp/README.md b/airbyte-integrations/connectors/source-workramp/README.md index a8449bb3a7a1..e9a496631aea 100644 --- a/airbyte-integrations/connectors/source-workramp/README.md +++ b/airbyte-integrations/connectors/source-workramp/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-workramp/acceptance-test-config.yml b/airbyte-integrations/connectors/source-workramp/acceptance-test-config.yml index 3a53f45f4598..4820842d1e63 100644 --- a/airbyte-integrations/connectors/source-workramp/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-workramp/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-workramp:dev acceptance_tests: diff --git a/airbyte-integrations/connectors/source-workramp/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-workramp/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-workramp/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-workramp/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-workramp/build.gradle b/airbyte-integrations/connectors/source-workramp/build.gradle index 6e0241d03677..f021cccc88b7 100644 --- a/airbyte-integrations/connectors/source-workramp/build.gradle +++ b/airbyte-integrations/connectors/source-workramp/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-workramp/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-workramp/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-workramp/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-workramp/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-workramp/requirements.txt b/airbyte-integrations/connectors/source-workramp/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-workramp/requirements.txt +++ b/airbyte-integrations/connectors/source-workramp/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-workramp/setup.py b/airbyte-integrations/connectors/source-workramp/setup.py index 518d31655d27..53fc97d75861 100644 --- a/airbyte-integrations/connectors/source-workramp/setup.py +++ b/airbyte-integrations/connectors/source-workramp/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-wrike/README.md b/airbyte-integrations/connectors/source-wrike/README.md index 85464f5f1b6a..5773325e756d 100644 --- a/airbyte-integrations/connectors/source-wrike/README.md +++ b/airbyte-integrations/connectors/source-wrike/README.md @@ -113,7 +113,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-wrike/acceptance-test-config.yml b/airbyte-integrations/connectors/source-wrike/acceptance-test-config.yml index cebbc69826fc..bd5daa45a4a6 100644 --- a/airbyte-integrations/connectors/source-wrike/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-wrike/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-wrike:dev tests: diff --git a/airbyte-integrations/connectors/source-wrike/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-wrike/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-wrike/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-wrike/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-wrike/build.gradle b/airbyte-integrations/connectors/source-wrike/build.gradle index 5deab3c5278d..28757d1855be 100644 --- a/airbyte-integrations/connectors/source-wrike/build.gradle +++ b/airbyte-integrations/connectors/source-wrike/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-wrike/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-wrike/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-wrike/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-wrike/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-wrike/requirements.txt b/airbyte-integrations/connectors/source-wrike/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-wrike/requirements.txt +++ b/airbyte-integrations/connectors/source-wrike/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-wrike/setup.py b/airbyte-integrations/connectors/source-wrike/setup.py index 48e2d73d0e16..a3655e3dc36a 100644 --- a/airbyte-integrations/connectors/source-wrike/setup.py +++ b/airbyte-integrations/connectors/source-wrike/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-xero/README.md b/airbyte-integrations/connectors/source-xero/README.md index 464447527fcf..0f252db95a00 100644 --- a/airbyte-integrations/connectors/source-xero/README.md +++ b/airbyte-integrations/connectors/source-xero/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-xero/acceptance-test-config.yml b/airbyte-integrations/connectors/source-xero/acceptance-test-config.yml index 561ba6e64d51..5bd590a5d332 100644 --- a/airbyte-integrations/connectors/source-xero/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-xero/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-xero:dev tests: diff --git a/airbyte-integrations/connectors/source-xero/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-xero/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-xero/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-xero/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-xero/build.gradle b/airbyte-integrations/connectors/source-xero/build.gradle index 53f3682cb2d2..a40bff1932ad 100644 --- a/airbyte-integrations/connectors/source-xero/build.gradle +++ b/airbyte-integrations/connectors/source-xero/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-xero/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-xero/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-xero/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-xero/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-xero/requirements.txt b/airbyte-integrations/connectors/source-xero/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-xero/requirements.txt +++ b/airbyte-integrations/connectors/source-xero/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-xero/setup.py b/airbyte-integrations/connectors/source-xero/setup.py index b1169baf208e..c7b88eba62b9 100644 --- a/airbyte-integrations/connectors/source-xero/setup.py +++ b/airbyte-integrations/connectors/source-xero/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-xkcd/README.md b/airbyte-integrations/connectors/source-xkcd/README.md index 73578a98e41b..ddb3e997e24e 100644 --- a/airbyte-integrations/connectors/source-xkcd/README.md +++ b/airbyte-integrations/connectors/source-xkcd/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-xkcd/acceptance-test-config.yml b/airbyte-integrations/connectors/source-xkcd/acceptance-test-config.yml index a23087f27377..471ddf9c5be1 100644 --- a/airbyte-integrations/connectors/source-xkcd/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-xkcd/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-xkcd:dev tests: diff --git a/airbyte-integrations/connectors/source-xkcd/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-xkcd/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-xkcd/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-xkcd/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-xkcd/build.gradle b/airbyte-integrations/connectors/source-xkcd/build.gradle index 24474ecaec6d..f554f36059a0 100644 --- a/airbyte-integrations/connectors/source-xkcd/build.gradle +++ b/airbyte-integrations/connectors/source-xkcd/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-xkcd/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-xkcd/integration_tests/acceptance.py index 416093ab7624..63fbf8f0f576 100644 --- a/airbyte-integrations/connectors/source-xkcd/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-xkcd/integration_tests/acceptance.py @@ -4,7 +4,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-xkcd/requirements.txt b/airbyte-integrations/connectors/source-xkcd/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-xkcd/requirements.txt +++ b/airbyte-integrations/connectors/source-xkcd/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-xkcd/setup.py b/airbyte-integrations/connectors/source-xkcd/setup.py index a0f902d0e655..b929c71c0996 100644 --- a/airbyte-integrations/connectors/source-xkcd/setup.py +++ b/airbyte-integrations/connectors/source-xkcd/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/README.md b/airbyte-integrations/connectors/source-yahoo-finance-price/README.md index 838c575d3d3b..305a00be0afe 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/README.md +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/acceptance-test-config.yml b/airbyte-integrations/connectors/source-yahoo-finance-price/acceptance-test-config.yml index b478cbe7fdb1..a5c66824d764 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-yahoo-finance-price:dev tests: diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-yahoo-finance-price/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/build.gradle b/airbyte-integrations/connectors/source-yahoo-finance-price/build.gradle index 6864c9cf1be4..3a0cfc286d84 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/build.gradle +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/requirements.txt b/airbyte-integrations/connectors/source-yahoo-finance-price/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/requirements.txt +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/setup.py b/airbyte-integrations/connectors/source-yahoo-finance-price/setup.py index 3e8361a65beb..c0d4c1a7194f 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/setup.py +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-yandex-metrica/README.md b/airbyte-integrations/connectors/source-yandex-metrica/README.md index 6afb6cfc948f..be6d0812cc87 100644 --- a/airbyte-integrations/connectors/source-yandex-metrica/README.md +++ b/airbyte-integrations/connectors/source-yandex-metrica/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-yandex-metrica/acceptance-test-config.yml b/airbyte-integrations/connectors/source-yandex-metrica/acceptance-test-config.yml index 399d1d33adeb..ce85b1134eaa 100644 --- a/airbyte-integrations/connectors/source-yandex-metrica/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-yandex-metrica/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-yandex-metrica:dev tests: diff --git a/airbyte-integrations/connectors/source-yandex-metrica/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-yandex-metrica/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-yandex-metrica/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-yandex-metrica/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-yandex-metrica/build.gradle b/airbyte-integrations/connectors/source-yandex-metrica/build.gradle index 63ef392a3e06..099e755bcf23 100644 --- a/airbyte-integrations/connectors/source-yandex-metrica/build.gradle +++ b/airbyte-integrations/connectors/source-yandex-metrica/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-yandex-metrica/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-yandex-metrica/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-yandex-metrica/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-yandex-metrica/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-yandex-metrica/requirements.txt b/airbyte-integrations/connectors/source-yandex-metrica/requirements.txt index 78140e52009f..91de78ac4144 100644 --- a/airbyte-integrations/connectors/source-yandex-metrica/requirements.txt +++ b/airbyte-integrations/connectors/source-yandex-metrica/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-yandex-metrica/setup.py b/airbyte-integrations/connectors/source-yandex-metrica/setup.py index 9e13d977fd04..653bfe66f84f 100644 --- a/airbyte-integrations/connectors/source-yandex-metrica/setup.py +++ b/airbyte-integrations/connectors/source-yandex-metrica/setup.py @@ -13,7 +13,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-younium/README.md b/airbyte-integrations/connectors/source-younium/README.md index 0c8f7fa797d0..e9f0407ff831 100644 --- a/airbyte-integrations/connectors/source-younium/README.md +++ b/airbyte-integrations/connectors/source-younium/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-younium/acceptance-test-config.yml b/airbyte-integrations/connectors/source-younium/acceptance-test-config.yml index cb179ccc4563..2e04f110fc78 100644 --- a/airbyte-integrations/connectors/source-younium/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-younium/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-younium:dev tests: diff --git a/airbyte-integrations/connectors/source-younium/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-younium/acceptance-test-docker.sh index fa680528f222..12d5fc492996 100755 --- a/airbyte-integrations/connectors/source-younium/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-younium/acceptance-test-docker.sh @@ -4,12 +4,12 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-younium/build.gradle b/airbyte-integrations/connectors/source-younium/build.gradle index 81baf943b54e..4573f552bb29 100644 --- a/airbyte-integrations/connectors/source-younium/build.gradle +++ b/airbyte-integrations/connectors/source-younium/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-younium/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-younium/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-younium/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-younium/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-younium/requirements.txt b/airbyte-integrations/connectors/source-younium/requirements.txt index 78140e52009f..91de78ac4144 100644 --- a/airbyte-integrations/connectors/source-younium/requirements.txt +++ b/airbyte-integrations/connectors/source-younium/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-younium/setup.py b/airbyte-integrations/connectors/source-younium/setup.py index 9c1c848e788c..04021ae61b4e 100644 --- a/airbyte-integrations/connectors/source-younium/setup.py +++ b/airbyte-integrations/connectors/source-younium/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "responses~=0.22.0", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-youtube-analytics-business/README.md b/airbyte-integrations/connectors/source-youtube-analytics-business/README.md index 9d7430d8a789..724d87505c83 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics-business/README.md +++ b/airbyte-integrations/connectors/source-youtube-analytics-business/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-youtube-analytics-business/acceptance-test-config.yml b/airbyte-integrations/connectors/source-youtube-analytics-business/acceptance-test-config.yml index 1d98f49a26ba..9646dd3940a2 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics-business/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-youtube-analytics-business/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-youtube-analytics-business:dev tests: diff --git a/airbyte-integrations/connectors/source-youtube-analytics-business/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-youtube-analytics-business/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-youtube-analytics-business/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-youtube-analytics-business/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-youtube-analytics-business/build.gradle b/airbyte-integrations/connectors/source-youtube-analytics-business/build.gradle index 8d2cce25a4f1..de007ce88014 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics-business/build.gradle +++ b/airbyte-integrations/connectors/source-youtube-analytics-business/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-youtube-analytics-business/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-youtube-analytics-business/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics-business/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-youtube-analytics-business/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-youtube-analytics-business/requirements.txt b/airbyte-integrations/connectors/source-youtube-analytics-business/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics-business/requirements.txt +++ b/airbyte-integrations/connectors/source-youtube-analytics-business/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-youtube-analytics-business/setup.py b/airbyte-integrations/connectors/source-youtube-analytics-business/setup.py index db5cdbcd36f6..81fc1655e5bd 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics-business/setup.py +++ b/airbyte-integrations/connectors/source-youtube-analytics-business/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "requests-mock==1.9.3", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-youtube-analytics/README.md b/airbyte-integrations/connectors/source-youtube-analytics/README.md index 393086b936b2..9dee076608fb 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/README.md +++ b/airbyte-integrations/connectors/source-youtube-analytics/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-youtube-analytics/acceptance-test-config.yml b/airbyte-integrations/connectors/source-youtube-analytics/acceptance-test-config.yml index 9c770f1449c4..90eb718fb88b 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-youtube-analytics/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-youtube-analytics:dev tests: diff --git a/airbyte-integrations/connectors/source-youtube-analytics/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-youtube-analytics/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-youtube-analytics/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-youtube-analytics/build.gradle b/airbyte-integrations/connectors/source-youtube-analytics/build.gradle index 46cd7f32ebd7..4a0897674254 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/build.gradle +++ b/airbyte-integrations/connectors/source-youtube-analytics/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-youtube-analytics/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-youtube-analytics/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-youtube-analytics/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-youtube-analytics/requirements.txt b/airbyte-integrations/connectors/source-youtube-analytics/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/requirements.txt +++ b/airbyte-integrations/connectors/source-youtube-analytics/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-youtube-analytics/setup.py b/airbyte-integrations/connectors/source-youtube-analytics/setup.py index 6587b211b995..18eee4e31280 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/setup.py +++ b/airbyte-integrations/connectors/source-youtube-analytics/setup.py @@ -13,7 +13,7 @@ "pytest~=6.1", "pytest-mock~=3.6.1", "requests-mock==1.9.3", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-zapier-supported-storage/README.md b/airbyte-integrations/connectors/source-zapier-supported-storage/README.md index bc47eb39a78b..1b0070ea187b 100644 --- a/airbyte-integrations/connectors/source-zapier-supported-storage/README.md +++ b/airbyte-integrations/connectors/source-zapier-supported-storage/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-zapier-supported-storage/acceptance-test-config.yml b/airbyte-integrations/connectors/source-zapier-supported-storage/acceptance-test-config.yml index a4a8cff7e855..b49b2366ae3e 100644 --- a/airbyte-integrations/connectors/source-zapier-supported-storage/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-zapier-supported-storage/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-zapier-supported-storage:dev tests: diff --git a/airbyte-integrations/connectors/source-zapier-supported-storage/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zapier-supported-storage/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-zapier-supported-storage/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zapier-supported-storage/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zapier-supported-storage/build.gradle b/airbyte-integrations/connectors/source-zapier-supported-storage/build.gradle index bfe2f88880a8..7cda4118e40a 100644 --- a/airbyte-integrations/connectors/source-zapier-supported-storage/build.gradle +++ b/airbyte-integrations/connectors/source-zapier-supported-storage/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-zapier-supported-storage/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zapier-supported-storage/integration_tests/acceptance.py index 1302b2f57e10..76fb3341a7d8 100644 --- a/airbyte-integrations/connectors/source-zapier-supported-storage/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zapier-supported-storage/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zapier-supported-storage/requirements.txt b/airbyte-integrations/connectors/source-zapier-supported-storage/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-zapier-supported-storage/requirements.txt +++ b/airbyte-integrations/connectors/source-zapier-supported-storage/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zapier-supported-storage/setup.py b/airbyte-integrations/connectors/source-zapier-supported-storage/setup.py index af33d9906216..fe4a35fb2651 100644 --- a/airbyte-integrations/connectors/source-zapier-supported-storage/setup.py +++ b/airbyte-integrations/connectors/source-zapier-supported-storage/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-zendesk-chat/README.md b/airbyte-integrations/connectors/source-zendesk-chat/README.md index 9c697ae51a68..018a20fda017 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/README.md +++ b/airbyte-integrations/connectors/source-zendesk-chat/README.md @@ -54,12 +54,12 @@ python main_dev.py read --config secrets/config.json --catalog sample_files/conf ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-zendesk-chat:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-zendesk-chat/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zendesk-chat/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zendesk-chat/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zendesk-chat/build.gradle b/airbyte-integrations/connectors/source-zendesk-chat/build.gradle index 3c962f3e082c..20c14ce65c4f 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/build.gradle +++ b/airbyte-integrations/connectors/source-zendesk-chat/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-zendesk-chat/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zendesk-chat/integration_tests/acceptance.py index 34f2f625e15b..f4a5b1f4060e 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zendesk-chat/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zendesk-chat/requirements.txt b/airbyte-integrations/connectors/source-zendesk-chat/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/requirements.txt +++ b/airbyte-integrations/connectors/source-zendesk-chat/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zendesk-sell/README.md b/airbyte-integrations/connectors/source-zendesk-sell/README.md index 741adc1a197c..c529f9a7b76e 100644 --- a/airbyte-integrations/connectors/source-zendesk-sell/README.md +++ b/airbyte-integrations/connectors/source-zendesk-sell/README.md @@ -99,7 +99,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-zendesk-sell/acceptance-test-config.yml b/airbyte-integrations/connectors/source-zendesk-sell/acceptance-test-config.yml index 36db9e38be5c..bc6eee9d6a46 100644 --- a/airbyte-integrations/connectors/source-zendesk-sell/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-zendesk-sell/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-zendesk-sell:dev tests: diff --git a/airbyte-integrations/connectors/source-zendesk-sell/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zendesk-sell/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-zendesk-sell/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zendesk-sell/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zendesk-sell/build.gradle b/airbyte-integrations/connectors/source-zendesk-sell/build.gradle index 4b2aeaebf368..f81364cb959c 100644 --- a/airbyte-integrations/connectors/source-zendesk-sell/build.gradle +++ b/airbyte-integrations/connectors/source-zendesk-sell/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-zendesk-sell/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zendesk-sell/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-zendesk-sell/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zendesk-sell/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zendesk-sell/requirements.txt b/airbyte-integrations/connectors/source-zendesk-sell/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-zendesk-sell/requirements.txt +++ b/airbyte-integrations/connectors/source-zendesk-sell/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zendesk-sell/setup.py b/airbyte-integrations/connectors/source-zendesk-sell/setup.py index ab5314798e39..4b13d2d06c2e 100644 --- a/airbyte-integrations/connectors/source-zendesk-sell/setup.py +++ b/airbyte-integrations/connectors/source-zendesk-sell/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/README.md b/airbyte-integrations/connectors/source-zendesk-sunshine/README.md index 856b46847e30..04b9cba3ab92 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/README.md +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/README.md @@ -97,7 +97,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/acceptance-test-config.yml b/airbyte-integrations/connectors/source-zendesk-sunshine/acceptance-test-config.yml index b443accf0116..66c733314699 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-zendesk-sunshine:dev tests: diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zendesk-sunshine/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/build.gradle b/airbyte-integrations/connectors/source-zendesk-sunshine/build.gradle index 09281b03a7ed..2b3f22e15702 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/build.gradle +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zendesk-sunshine/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/requirements.txt b/airbyte-integrations/connectors/source-zendesk-sunshine/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/requirements.txt +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/setup.py b/airbyte-integrations/connectors/source-zendesk-sunshine/setup.py index 3d0d5c342a09..310f3b60041b 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/setup.py +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/setup.py @@ -11,7 +11,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-zendesk-support/README.md b/airbyte-integrations/connectors/source-zendesk-support/README.md index 96c6104b2861..3dd60fdd2bf0 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/README.md +++ b/airbyte-integrations/connectors/source-zendesk-support/README.md @@ -97,12 +97,12 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-zendesk-support:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-zendesk-support/acceptance-test-config.yml b/airbyte-integrations/connectors/source-zendesk-support/acceptance-test-config.yml index 239dbc71ff27..7eec3cf010dd 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-zendesk-support/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-zendesk-support:dev test_strictness_level: high diff --git a/airbyte-integrations/connectors/source-zendesk-support/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zendesk-support/acceptance-test-docker.sh index 03a3c6d3de32..5b00cb256b8a 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zendesk-support/acceptance-test-docker.sh @@ -5,11 +5,11 @@ echo "try to build: ${image_name}" docker build . -t ${image_name} # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zendesk-support/build.gradle b/airbyte-integrations/connectors/source-zendesk-support/build.gradle index f612915490f1..89517b26eeb8 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/build.gradle +++ b/airbyte-integrations/connectors/source-zendesk-support/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-zendesk-support/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zendesk-support/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zendesk-support/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zendesk-support/requirements.txt b/airbyte-integrations/connectors/source-zendesk-support/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/requirements.txt +++ b/airbyte-integrations/connectors/source-zendesk-support/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zendesk-support/setup.py b/airbyte-integrations/connectors/source-zendesk-support/setup.py index 2322cc04de1a..1336849ddae8 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/setup.py +++ b/airbyte-integrations/connectors/source-zendesk-support/setup.py @@ -7,7 +7,7 @@ MAIN_REQUIREMENTS = ["airbyte-cdk~=0.1", "pytz", "requests-futures~=1.0.0", "pendulum~=2.1.2"] -TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6", "source-acceptance-test", "requests-mock==1.9.3"] +TEST_REQUIREMENTS = ["pytest~=6.1", "pytest-mock~=3.6", "connector-acceptance-test", "requests-mock==1.9.3"] setup( version="0.1.0", diff --git a/airbyte-integrations/connectors/source-zendesk-talk/README.md b/airbyte-integrations/connectors/source-zendesk-talk/README.md index 45f10e19d37a..887971c4ebdf 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/README.md +++ b/airbyte-integrations/connectors/source-zendesk-talk/README.md @@ -95,7 +95,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-zendesk-talk/acceptance-test-config.yml b/airbyte-integrations/connectors/source-zendesk-talk/acceptance-test-config.yml index 56e2156d43c6..127cc59670d1 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-zendesk-talk/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests # intentionally left out explicit configured_catalog.json to test all streams from discovery connector_image: airbyte/source-zendesk-talk:dev diff --git a/airbyte-integrations/connectors/source-zendesk-talk/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zendesk-talk/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-zendesk-talk/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zendesk-talk/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zendesk-talk/build.gradle b/airbyte-integrations/connectors/source-zendesk-talk/build.gradle index 5bbfaf2ddea1..f2b4b708bd19 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/build.gradle +++ b/airbyte-integrations/connectors/source-zendesk-talk/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-zendesk-talk/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zendesk-talk/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zendesk-talk/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zendesk-talk/requirements.txt b/airbyte-integrations/connectors/source-zendesk-talk/requirements.txt index 7be17a56d745..9ce85523c234 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/requirements.txt +++ b/airbyte-integrations/connectors/source-zendesk-talk/requirements.txt @@ -1,3 +1,3 @@ # This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zenefits/README.md b/airbyte-integrations/connectors/source-zenefits/README.md index 2cc0dce4de01..111b2c614f45 100644 --- a/airbyte-integrations/connectors/source-zenefits/README.md +++ b/airbyte-integrations/connectors/source-zenefits/README.md @@ -105,7 +105,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-zenefits/acceptance-test-config.yml b/airbyte-integrations/connectors/source-zenefits/acceptance-test-config.yml index 1ddf8edf5c2b..327fb42674ae 100644 --- a/airbyte-integrations/connectors/source-zenefits/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-zenefits/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-zenefits:dev tests: diff --git a/airbyte-integrations/connectors/source-zenefits/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zenefits/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-zenefits/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zenefits/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zenefits/build.gradle b/airbyte-integrations/connectors/source-zenefits/build.gradle index 4d1cc2783d2e..7a67e811b0b0 100644 --- a/airbyte-integrations/connectors/source-zenefits/build.gradle +++ b/airbyte-integrations/connectors/source-zenefits/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-zenefits/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zenefits/integration_tests/acceptance.py index 59bc2f04e375..0adee4627d06 100644 --- a/airbyte-integrations/connectors/source-zenefits/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zenefits/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zenefits/requirements.txt b/airbyte-integrations/connectors/source-zenefits/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-zenefits/requirements.txt +++ b/airbyte-integrations/connectors/source-zenefits/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zenefits/setup.py b/airbyte-integrations/connectors/source-zenefits/setup.py index 007645df8529..2ea3f0533d26 100644 --- a/airbyte-integrations/connectors/source-zenefits/setup.py +++ b/airbyte-integrations/connectors/source-zenefits/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-zenloop/README.md b/airbyte-integrations/connectors/source-zenloop/README.md index c9b0f0457444..0b1ab33403bd 100644 --- a/airbyte-integrations/connectors/source-zenloop/README.md +++ b/airbyte-integrations/connectors/source-zenloop/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-zenloop/acceptance-test-config.yml b/airbyte-integrations/connectors/source-zenloop/acceptance-test-config.yml index 33b20c5352f8..953809876a2e 100644 --- a/airbyte-integrations/connectors/source-zenloop/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-zenloop/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-zenloop:dev tests: diff --git a/airbyte-integrations/connectors/source-zenloop/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zenloop/acceptance-test-docker.sh index e4d8b1cef896..3e465fed28ad 100644 --- a/airbyte-integrations/connectors/source-zenloop/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zenloop/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zenloop/build.gradle b/airbyte-integrations/connectors/source-zenloop/build.gradle index a9488bf4d326..1e674d343623 100644 --- a/airbyte-integrations/connectors/source-zenloop/build.gradle +++ b/airbyte-integrations/connectors/source-zenloop/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { @@ -9,5 +9,5 @@ airbytePython { } dependencies { - implementation files(project(':airbyte-integrations:bases:source-acceptance-test').airbyteDocker.outputs) + implementation files(project(':airbyte-integrations:bases:connector-acceptance-test').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/source-zenloop/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zenloop/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-zenloop/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zenloop/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zenloop/requirements.txt b/airbyte-integrations/connectors/source-zenloop/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-zenloop/requirements.txt +++ b/airbyte-integrations/connectors/source-zenloop/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zenloop/setup.py b/airbyte-integrations/connectors/source-zenloop/setup.py index eef3b2fa8938..d200b8e76ecb 100644 --- a/airbyte-integrations/connectors/source-zenloop/setup.py +++ b/airbyte-integrations/connectors/source-zenloop/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", "responses~=0.13.3", ] diff --git a/airbyte-integrations/connectors/source-zoho-crm/README.md b/airbyte-integrations/connectors/source-zoho-crm/README.md index a56146be089f..ecd4ce422d56 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/README.md +++ b/airbyte-integrations/connectors/source-zoho-crm/README.md @@ -98,7 +98,7 @@ Place custom tests inside `integration_tests/` folder, then, from the connector python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` diff --git a/airbyte-integrations/connectors/source-zoho-crm/acceptance-test-config.yml b/airbyte-integrations/connectors/source-zoho-crm/acceptance-test-config.yml index 1deb4b9864e5..28d4d8a7b6e7 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-zoho-crm/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-zoho-crm:dev tests: diff --git a/airbyte-integrations/connectors/source-zoho-crm/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zoho-crm/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zoho-crm/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zoho-crm/build.gradle b/airbyte-integrations/connectors/source-zoho-crm/build.gradle index c546a5dc1702..17109fe40df6 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/build.gradle +++ b/airbyte-integrations/connectors/source-zoho-crm/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-zoho-crm/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zoho-crm/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zoho-crm/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zoho-crm/requirements.txt b/airbyte-integrations/connectors/source-zoho-crm/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/requirements.txt +++ b/airbyte-integrations/connectors/source-zoho-crm/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zoho-crm/setup.py b/airbyte-integrations/connectors/source-zoho-crm/setup.py index 3b9a6c2666cb..cb201825702b 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/setup.py +++ b/airbyte-integrations/connectors/source-zoho-crm/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-zoom/README.md b/airbyte-integrations/connectors/source-zoom/README.md index 40b3ee256c99..e971c05d4264 100644 --- a/airbyte-integrations/connectors/source-zoom/README.md +++ b/airbyte-integrations/connectors/source-zoom/README.md @@ -48,7 +48,7 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat ## Testing #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-zoom/acceptance-test-config.yml b/airbyte-integrations/connectors/source-zoom/acceptance-test-config.yml index 23948f4f26d1..621b45ee1f8f 100644 --- a/airbyte-integrations/connectors/source-zoom/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-zoom/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-zoom:dev tests: diff --git a/airbyte-integrations/connectors/source-zoom/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zoom/acceptance-test-docker.sh index c51577d10690..a8d6ac4bb608 100755 --- a/airbyte-integrations/connectors/source-zoom/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zoom/acceptance-test-docker.sh @@ -4,13 +4,13 @@ docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-) # Pull latest acctest image -docker pull airbyte/source-acceptance-test:latest +docker pull airbyte/connector-acceptance-test:latest # Run docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zoom/build.gradle b/airbyte-integrations/connectors/source-zoom/build.gradle index fa9adb45e4e0..60cdae821331 100644 --- a/airbyte-integrations/connectors/source-zoom/build.gradle +++ b/airbyte-integrations/connectors/source-zoom/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-zoom/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zoom/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-zoom/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zoom/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zoom/requirements.txt b/airbyte-integrations/connectors/source-zoom/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-zoom/requirements.txt +++ b/airbyte-integrations/connectors/source-zoom/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zoom/setup.py b/airbyte-integrations/connectors/source-zoom/setup.py index 524d937199fa..5fcbaf1f3a2c 100644 --- a/airbyte-integrations/connectors/source-zoom/setup.py +++ b/airbyte-integrations/connectors/source-zoom/setup.py @@ -12,7 +12,7 @@ TEST_REQUIREMENTS = [ "pytest~=6.1", "pytest-mock~=3.6.1", - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/source-zuora/README.md b/airbyte-integrations/connectors/source-zuora/README.md index c6f033db98a2..d576daa73e64 100644 --- a/airbyte-integrations/connectors/source-zuora/README.md +++ b/airbyte-integrations/connectors/source-zuora/README.md @@ -102,12 +102,12 @@ python -m pytest integration_tests ``` #### Acceptance Tests -Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +Customize `acceptance-test-config.yml` file to configure tests. See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information. If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. To run your integration tests with acceptance tests, from the connector root, run ``` docker build . --no-cache -t airbyte/source-zuora:dev \ -&& python -m pytest -p source_acceptance_test.plugin +&& python -m pytest -p connector_acceptance_test.plugin ``` To run your integration tests with docker diff --git a/airbyte-integrations/connectors/source-zuora/acceptance-test-config.yml b/airbyte-integrations/connectors/source-zuora/acceptance-test-config.yml index c633fc3d8c7e..f584243cf9df 100644 --- a/airbyte-integrations/connectors/source-zuora/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-zuora/acceptance-test-config.yml @@ -1,4 +1,4 @@ -# See [Source Acceptance Tests](https://docs.airbyte.com/contributing-to-airbyte/building-new-connector/source-acceptance-tests) +# See [Connector Acceptance Tests](https://docs.airbyte.com/contributing-to-airbyte/building-new-connector/connector-acceptance-tests) # for more information about how to configure these tests connector_image: airbyte/source-zuora:dev tests: diff --git a/airbyte-integrations/connectors/source-zuora/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-zuora/acceptance-test-docker.sh index 1425ff74f151..609309b6f95b 100644 --- a/airbyte-integrations/connectors/source-zuora/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-zuora/acceptance-test-docker.sh @@ -3,5 +3,5 @@ docker run --rm -it \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /tmp:/tmp \ -v $(pwd):/test_input \ - airbyte/source-acceptance-test \ + airbyte/connector-acceptance-test \ --acceptance-test-config /test_input diff --git a/airbyte-integrations/connectors/source-zuora/build.gradle b/airbyte-integrations/connectors/source-zuora/build.gradle index 9223cf9f256c..ad86953edf0e 100644 --- a/airbyte-integrations/connectors/source-zuora/build.gradle +++ b/airbyte-integrations/connectors/source-zuora/build.gradle @@ -1,7 +1,7 @@ plugins { id 'airbyte-python' id 'airbyte-docker' - id 'airbyte-source-acceptance-test' + id 'airbyte-connector-acceptance-test' } airbytePython { diff --git a/airbyte-integrations/connectors/source-zuora/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zuora/integration_tests/acceptance.py index 950b53b59d41..692e20385083 100644 --- a/airbyte-integrations/connectors/source-zuora/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zuora/integration_tests/acceptance.py @@ -5,7 +5,7 @@ import pytest -pytest_plugins = ("source_acceptance_test.plugin",) +pytest_plugins = ("connector_acceptance_test.plugin",) @pytest.fixture(scope="session", autouse=True) diff --git a/airbyte-integrations/connectors/source-zuora/requirements.txt b/airbyte-integrations/connectors/source-zuora/requirements.txt index 0411042aa091..cc57334ef619 100644 --- a/airbyte-integrations/connectors/source-zuora/requirements.txt +++ b/airbyte-integrations/connectors/source-zuora/requirements.txt @@ -1,2 +1,2 @@ --e ../../bases/source-acceptance-test +-e ../../bases/connector-acceptance-test -e . diff --git a/airbyte-integrations/connectors/source-zuora/setup.py b/airbyte-integrations/connectors/source-zuora/setup.py index 0e3b909a3d9d..fff523cd22da 100644 --- a/airbyte-integrations/connectors/source-zuora/setup.py +++ b/airbyte-integrations/connectors/source-zuora/setup.py @@ -11,7 +11,7 @@ ] TEST_REQUIREMENTS = [ - "source-acceptance-test", + "connector-acceptance-test", ] setup( diff --git a/airbyte-integrations/connectors/tasks.py b/airbyte-integrations/connectors/tasks.py index 524683a82eae..3323183fedcc 100644 --- a/airbyte-integrations/connectors/tasks.py +++ b/airbyte-integrations/connectors/tasks.py @@ -56,10 +56,10 @@ f"mypy {{source_path}} --config-file={CONFIG_FILE}", ], "test": [ - f"cp -rf {os.path.join(CONNECTORS_DIR, os.pardir, 'bases', 'source-acceptance-test')} {{venv}}/", + f"cp -rf {os.path.join(CONNECTORS_DIR, os.pardir, 'bases', 'connector-acceptance-test')} {{venv}}/", "pip install build", - f"python -m build {os.path.join('{venv}', 'source-acceptance-test')}", - f"pip install {os.path.join('{venv}', 'source-acceptance-test', 'dist', 'source_acceptance_test-*.whl')}", + f"python -m build {os.path.join('{venv}', 'connector-acceptance-test')}", + f"pip install {os.path.join('{venv}', 'connector-acceptance-test', 'dist', 'connector_acceptance_test-*.whl')}", "pip install .", "pip install .[tests]", "pip install pytest-cov", diff --git a/airbyte-persistence/job-persistence/src/main/java/io/airbyte/persistence/job/DefaultJobPersistence.java b/airbyte-persistence/job-persistence/src/main/java/io/airbyte/persistence/job/DefaultJobPersistence.java index e3bbdc7362bd..3dbc9398e796 100644 --- a/airbyte-persistence/job-persistence/src/main/java/io/airbyte/persistence/job/DefaultJobPersistence.java +++ b/airbyte-persistence/job-persistence/src/main/java/io/airbyte/persistence/job/DefaultJobPersistence.java @@ -931,9 +931,13 @@ private static JobConfig parseJobConfigFromString(final String jobConfigString) final JobConfig jobConfig = Jsons.deserialize(jobConfigString, JobConfig.class); // On-the-fly migration of persisted data types related objects (protocol v0->v1) if (jobConfig.getConfigType() == ConfigType.SYNC && jobConfig.getSync() != null) { - CatalogMigrationV1Helper.upgradeSchemaIfNeeded(jobConfig.getSync().getConfiguredAirbyteCatalog()); + // TODO feature flag this for data types rollout + // CatalogMigrationV1Helper.upgradeSchemaIfNeeded(jobConfig.getSync().getConfiguredAirbyteCatalog()); + CatalogMigrationV1Helper.downgradeSchemaIfNeeded(jobConfig.getSync().getConfiguredAirbyteCatalog()); } else if (jobConfig.getConfigType() == ConfigType.RESET_CONNECTION && jobConfig.getResetConnection() != null) { - CatalogMigrationV1Helper.upgradeSchemaIfNeeded(jobConfig.getResetConnection().getConfiguredAirbyteCatalog()); + // TODO feature flag this for data types rollout + // CatalogMigrationV1Helper.upgradeSchemaIfNeeded(jobConfig.getResetConnection().getConfiguredAirbyteCatalog()); + CatalogMigrationV1Helper.downgradeSchemaIfNeeded(jobConfig.getResetConnection().getConfiguredAirbyteCatalog()); } return jobConfig; } @@ -960,9 +964,13 @@ private static JobOutput parseJobOutputFromString(final String jobOutputString) final JobOutput jobOutput = Jsons.deserialize(jobOutputString, JobOutput.class); // On-the-fly migration of persisted data types related objects (protocol v0->v1) if (jobOutput.getOutputType() == OutputType.DISCOVER_CATALOG && jobOutput.getDiscoverCatalog() != null) { - CatalogMigrationV1Helper.upgradeSchemaIfNeeded(jobOutput.getDiscoverCatalog().getCatalog()); + // TODO feature flag this for data types rollout + // CatalogMigrationV1Helper.upgradeSchemaIfNeeded(jobOutput.getDiscoverCatalog().getCatalog()); + CatalogMigrationV1Helper.downgradeSchemaIfNeeded(jobOutput.getDiscoverCatalog().getCatalog()); } else if (jobOutput.getOutputType() == OutputType.SYNC && jobOutput.getSync() != null) { - CatalogMigrationV1Helper.upgradeSchemaIfNeeded(jobOutput.getSync().getOutputCatalog()); + // TODO feature flag this for data types rollout + // CatalogMigrationV1Helper.upgradeSchemaIfNeeded(jobOutput.getSync().getOutputCatalog()); + CatalogMigrationV1Helper.downgradeSchemaIfNeeded(jobOutput.getSync().getOutputCatalog()); } return jobOutput; } diff --git a/airbyte-server/src/main/resources/application.yml b/airbyte-server/src/main/resources/application.yml index f8598499b43d..1c58a63ef546 100644 --- a/airbyte-server/src/main/resources/application.yml +++ b/airbyte-server/src/main/resources/application.yml @@ -81,7 +81,7 @@ airbyte: root: ${WORKSPACE_ROOT} protocol: min-version: ${AIRBYTE_PROTOCOL_VERSION_MIN:0.0.0} - max-version: ${AIRBYTE_PROTOCOL_VERSION_MAX:1.0.0} + max-version: ${AIRBYTE_PROTOCOL_VERSION_MAX:0.3.0} temporal: cloud: diff --git a/airbyte-test-utils/src/main/java/io/airbyte/test/utils/AirbyteAcceptanceTestHarness.java b/airbyte-test-utils/src/main/java/io/airbyte/test/utils/AirbyteAcceptanceTestHarness.java index 049bfaf7ee43..cb66fe314fa2 100644 --- a/airbyte-test-utils/src/main/java/io/airbyte/test/utils/AirbyteAcceptanceTestHarness.java +++ b/airbyte-test-utils/src/main/java/io/airbyte/test/utils/AirbyteAcceptanceTestHarness.java @@ -585,19 +585,6 @@ public List retrieveSourceRecords(final Database database, final Strin return database.query(context -> context.fetch(String.format("SELECT * FROM %s;", table))) .stream() .map(Record::intoMap) - .map(rec -> { - // The protocol requires converting numbers to strings. source-postgres does that internally, - // but we're querying the DB directly, so we have to do it manually. - final Map stringifiedNumbers = new HashMap<>(); - for (final String key : rec.keySet()) { - Object o = rec.get(key); - if (o instanceof Number) { - o = o.toString(); - } - stringifiedNumbers.put(key, o); - } - return stringifiedNumbers; - }) .map(Jsons::jsonNode) .collect(Collectors.toList()); } diff --git a/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/BasicAcceptanceTests.java b/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/BasicAcceptanceTests.java index b9878502aff5..13f1cd13daf2 100644 --- a/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/BasicAcceptanceTests.java +++ b/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/BasicAcceptanceTests.java @@ -46,6 +46,7 @@ import io.airbyte.api.client.model.generated.ConnectionScheduleType; import io.airbyte.api.client.model.generated.ConnectionState; import io.airbyte.api.client.model.generated.ConnectionStatus; +import io.airbyte.api.client.model.generated.DataType; import io.airbyte.api.client.model.generated.DestinationDefinitionIdRequestBody; import io.airbyte.api.client.model.generated.DestinationDefinitionIdWithWorkspaceId; import io.airbyte.api.client.model.generated.DestinationDefinitionRead; @@ -319,8 +320,8 @@ void testDiscoverSourceSchema() throws ApiException { final AirbyteCatalog actual = testHarness.discoverSourceSchema(sourceId); final Map> fields = ImmutableMap.of( - COLUMN_ID, ImmutableMap.of(REF, INTEGER_REFERENCE), - COLUMN_NAME, ImmutableMap.of(REF, STRING_REFERENCE)); + COLUMN_ID, ImmutableMap.of(TYPE, DataType.NUMBER.getValue(), "airbyte_type", "integer"), + COLUMN_NAME, ImmutableMap.of(TYPE, DataType.STRING.getValue())); final JsonNode jsonSchema = Jsons.jsonNode(ImmutableMap.builder() .put(TYPE, "object") .put("properties", fields) @@ -573,8 +574,8 @@ void testIncrementalDedupeSync() throws Exception { // add new records and run again. final Database source = testHarness.getSourceDatabase(); final List expectedRawRecords = testHarness.retrieveSourceRecords(source, STREAM_NAME); - expectedRawRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "6").put(COLUMN_NAME, "sherif").build())); - expectedRawRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "7").put(COLUMN_NAME, "chris").build())); + expectedRawRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 6).put(COLUMN_NAME, "sherif").build())); + expectedRawRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 7).put(COLUMN_NAME, "chris").build())); source.query(ctx -> ctx.execute("UPDATE id_and_name SET id=6 WHERE name='sherif'")); source.query(ctx -> ctx.execute("INSERT INTO id_and_name(id, name) VALUES(7, 'chris')")); // retrieve latest snapshot of source records after modifications; the deduplicated table in @@ -627,7 +628,7 @@ void testIncrementalSync() throws Exception { final Database source = testHarness.getSourceDatabase(); // get contents of source before mutating records. final List expectedRecords = testHarness.retrieveSourceRecords(source, STREAM_NAME); - expectedRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "6").put(COLUMN_NAME, GERALT).build())); + expectedRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 6).put(COLUMN_NAME, GERALT).build())); // add a new record source.query(ctx -> ctx.execute("INSERT INTO id_and_name(id, name) VALUES(6, 'geralt')")); // mutate a record that was already synced with out updating its cursor value. if we are actually @@ -925,7 +926,7 @@ void testSyncAfterUpgradeToPerStreamState(final TestInfo testInfo) throws Except final Database sourceDatabase = testHarness.getSourceDatabase(); // get contents of source before mutating records. final List expectedRecords = testHarness.retrieveSourceRecords(sourceDatabase, STREAM_NAME); - expectedRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "6").put(COLUMN_NAME, GERALT).build())); + expectedRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 6).put(COLUMN_NAME, GERALT).build())); // add a new record sourceDatabase.query(ctx -> ctx.execute("INSERT INTO id_and_name(id, name) VALUES(6, 'geralt')")); // mutate a record that was already synced with out updating its cursor value. if we are actually @@ -1226,9 +1227,9 @@ void testIncrementalSyncMultipleStreams() throws Exception { testHarness.retrieveSourceRecords(source, STAGING_SCHEMA_NAME + "." + COOL_EMPLOYEES_TABLE_NAME); final List expectedRecordsAwesomePeople = testHarness.retrieveSourceRecords(source, STAGING_SCHEMA_NAME + "." + AWESOME_PEOPLE_TABLE_NAME); - expectedRecordsIdAndName.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "6").put(COLUMN_NAME, GERALT).build())); - expectedRecordsCoolEmployees.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "6").put(COLUMN_NAME, GERALT).build())); - expectedRecordsAwesomePeople.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "3").put(COLUMN_NAME, GERALT).build())); + expectedRecordsIdAndName.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 6).put(COLUMN_NAME, GERALT).build())); + expectedRecordsCoolEmployees.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 6).put(COLUMN_NAME, GERALT).build())); + expectedRecordsAwesomePeople.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 3).put(COLUMN_NAME, GERALT).build())); // add a new record to each table source.query(ctx -> ctx.execute("INSERT INTO id_and_name(id, name) VALUES(6, 'geralt')")); source.query(ctx -> ctx.execute("INSERT INTO staging.cool_employees(id, name) VALUES(6, 'geralt')")); @@ -1463,8 +1464,8 @@ void testIncrementalDedupeSyncRemoveOneColumn() throws Exception { source.query(ctx -> ctx.execute("INSERT INTO id_and_name(id, name) VALUES(6, 'mike')")); source.query(ctx -> ctx.execute("INSERT INTO id_and_name(id, name) VALUES(7, 'chris')")); // The expected new raw records should only have the ID column. - expectedRawRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "6").build())); - expectedRawRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "7").build())); + expectedRawRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 6).build())); + expectedRawRecords.add(Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 7).build())); final JobInfoRead connectionSyncRead2 = apiClient.getConnectionApi() .syncConnection(new ConnectionIdRequestBody().connectionId(connectionId)); waitForSuccessfulJob(apiClient.getJobsApi(), connectionSyncRead2.getJob()); diff --git a/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/CdcAcceptanceTests.java b/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/CdcAcceptanceTests.java index 0127c1ad0e30..807d6a7c73a0 100644 --- a/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/CdcAcceptanceTests.java +++ b/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/CdcAcceptanceTests.java @@ -194,11 +194,11 @@ void testIncrementalCdcSync(final TestInfo testInfo) throws Exception { // new value and an updated_at time corresponding to this update query source.query(ctx -> ctx.execute("UPDATE id_and_name SET name='yennefer' WHERE id=2")); expectedIdAndNameRecords.add(new DestinationCdcRecordMatcher( - Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "6").put(COLUMN_NAME, "geralt").build()), + Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 6).put(COLUMN_NAME, "geralt").build()), beforeFirstUpdate, Optional.empty())); expectedIdAndNameRecords.add(new DestinationCdcRecordMatcher( - Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "2").put(COLUMN_NAME, "yennefer").build()), + Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 2).put(COLUMN_NAME, "yennefer").build()), beforeFirstUpdate, Optional.empty())); @@ -206,11 +206,11 @@ void testIncrementalCdcSync(final TestInfo testInfo) throws Exception { source.query(ctx -> ctx.execute("INSERT INTO color_palette(id, color) VALUES(4, 'yellow')")); source.query(ctx -> ctx.execute("UPDATE color_palette SET color='purple' WHERE id=2")); expectedColorPaletteRecords.add(new DestinationCdcRecordMatcher( - Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "4").put(COLUMN_COLOR, "yellow").build()), + Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 4).put(COLUMN_COLOR, "yellow").build()), beforeFirstUpdate, Optional.empty())); expectedColorPaletteRecords.add(new DestinationCdcRecordMatcher( - Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "2").put(COLUMN_COLOR, "purple").build()), + Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 2).put(COLUMN_COLOR, "purple").build()), beforeFirstUpdate, Optional.empty())); @@ -298,7 +298,7 @@ void testDeleteRecordCdcSync(final TestInfo testInfo) throws Exception { source.query(ctx -> ctx.execute("DELETE FROM id_and_name WHERE id=1")); final Map deletedRecordMap = new HashMap<>(); - deletedRecordMap.put(COLUMN_ID, "1"); + deletedRecordMap.put(COLUMN_ID, 1); deletedRecordMap.put(COLUMN_NAME, null); expectedIdAndNameRecords.add(new DestinationCdcRecordMatcher( Jsons.jsonNode(deletedRecordMap), @@ -431,13 +431,13 @@ void testPartialResetFromStreamSelection(final TestInfo testInfo) throws Excepti final Instant beforeInsert = Instant.now(); source.query(ctx -> ctx.execute("INSERT INTO id_and_name(id, name) VALUES(6, 'geralt')")); expectedIdAndNameRecords.add(new DestinationCdcRecordMatcher( - Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "6").put(COLUMN_NAME, "geralt").build()), + Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 6).put(COLUMN_NAME, "geralt").build()), beforeInsert, Optional.empty())); source.query(ctx -> ctx.execute("INSERT INTO color_palette(id, color) VALUES(4, 'yellow')")); expectedColorPaletteRecords.add(new DestinationCdcRecordMatcher( - Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, "4").put(COLUMN_COLOR, "yellow").build()), + Jsons.jsonNode(ImmutableMap.builder().put(COLUMN_ID, 4).put(COLUMN_COLOR, "yellow").build()), beforeInsert, Optional.empty())); diff --git a/airbyte-webapp/.env b/airbyte-webapp/.env index 4e35f5bc0deb..df37c64423e8 100644 --- a/airbyte-webapp/.env +++ b/airbyte-webapp/.env @@ -3,3 +3,4 @@ REACT_APP_FULL_STORY_ORG=13AXQ4 REACT_APP_SENTRY_DSN= REACT_APP_INTERCOM_APP_ID=nj1oam7s REACT_APP_OSANO=16A0CTTE7vE8m1Qif/67beec9b-e563-4736-bdb4-4fe4adc39d48 +REACT_APP_CLOUD_PUBLIC_API_URL=/cloud_api diff --git a/airbyte-webapp/src/components/connection/CatalogTree/CatalogSection.tsx b/airbyte-webapp/src/components/connection/CatalogTree/CatalogSection.tsx index 8c6e3ecf0ef3..e047f723d44e 100644 --- a/airbyte-webapp/src/components/connection/CatalogTree/CatalogSection.tsx +++ b/airbyte-webapp/src/components/connection/CatalogTree/CatalogSection.tsx @@ -59,7 +59,10 @@ const CatalogSectionInner: React.FC = ({ return traversedFields.sort(naturalComparatorBy((field) => field.cleanedName)); }, [stream?.jsonSchema, stream?.name]); - const numberOfFieldsInStream = Object.keys(streamNode?.stream?.jsonSchema?.properties).length ?? 0; + // FIXME: Temp fix to return empty object when the json schema does not have .properties + // This prevents the table from crashing but still will not render the fields in the stream. + const streamProperties = streamNode?.stream?.jsonSchema?.properties ?? {}; + const numberOfFieldsInStream = Object.keys(streamProperties).length ?? 0; const { destDefinitionSpecification: { supportedDestinationSyncModes }, diff --git a/airbyte-webapp/src/components/connection/CatalogTree/styles.tsx b/airbyte-webapp/src/components/connection/CatalogTree/styles.tsx index 1e9f5abe69b7..fba25050cf04 100644 --- a/airbyte-webapp/src/components/connection/CatalogTree/styles.tsx +++ b/airbyte-webapp/src/components/connection/CatalogTree/styles.tsx @@ -13,8 +13,8 @@ export const CheckboxCell = styled(HeaderCell)` `; export const ArrowCell = styled(HeaderCell)` + min-width: 40px; max-width: 40px; - width: 40px; `; export const NameContainer = styled.span` diff --git a/airbyte-webapp/src/components/ui/ResizablePanels/ResizablePanels.module.scss b/airbyte-webapp/src/components/ui/ResizablePanels/ResizablePanels.module.scss index d73b158f15c9..f47b01aeddb2 100644 --- a/airbyte-webapp/src/components/ui/ResizablePanels/ResizablePanels.module.scss +++ b/airbyte-webapp/src/components/ui/ResizablePanels/ResizablePanels.module.scss @@ -71,8 +71,17 @@ height: 3px; } +.fullWidth { + // Overwrite the flex-grow set by the react-reflex to stretch a container to full width + flex-grow: 1 !important; +} + .splitter { // !important is necessary to override the default reflex styles border: 0 !important; background-color: transparent !important; } + +.hidden { + display: none; +} diff --git a/airbyte-webapp/src/components/ui/ResizablePanels/ResizablePanels.tsx b/airbyte-webapp/src/components/ui/ResizablePanels/ResizablePanels.tsx index 0682573f4b28..655b281db59a 100644 --- a/airbyte-webapp/src/components/ui/ResizablePanels/ResizablePanels.tsx +++ b/airbyte-webapp/src/components/ui/ResizablePanels/ResizablePanels.tsx @@ -75,7 +75,7 @@ export const ResizablePanels: React.FC = ({ return ( = ({ > {firstPanel.children} - {/* NOTE: ReflexElement will not load its contents if wrapped in an empty jsx tag along with ReflexSplitter. They must be evaluated/rendered separately. */} - {!hideSecondPanel && ( - + +
-
-
- - )} - {!hideSecondPanel && ( - { - secondPanel.onStopResize?.(args.component.props.flex); - }} - > - {secondPanel.children} - - )} + /> +
+ + { + secondPanel.onStopResize?.(args.component.props.flex); + }} + > + {!hideSecondPanel && {secondPanel.children}} + ); }; diff --git a/airbyte-webapp/src/components/ui/StepsIndicator/StepsIndicator.tsx b/airbyte-webapp/src/components/ui/StepsIndicator/StepsIndicator.tsx index 435b1ee7de6f..65bac7e382c4 100644 --- a/airbyte-webapp/src/components/ui/StepsIndicator/StepsIndicator.tsx +++ b/airbyte-webapp/src/components/ui/StepsIndicator/StepsIndicator.tsx @@ -44,7 +44,7 @@ export const StepsIndicator: React.FC = ({ className, steps return (
{steps.map((step, index) => ( - + ))}
); diff --git a/airbyte-webapp/src/services/connector/ConnectorService.ts b/airbyte-webapp/src/services/connector/ConnectorService.ts index 7b590dc40335..6e488830ca70 100644 --- a/airbyte-webapp/src/services/connector/ConnectorService.ts +++ b/airbyte-webapp/src/services/connector/ConnectorService.ts @@ -1,23 +1,46 @@ import { useConfig } from "config"; import { webBackendCheckUpdates, WebBackendCheckUpdatesRead } from "core/request/AirbyteClient"; import { AirbyteRequestService } from "core/request/AirbyteRequestService"; +import { RequestMiddleware } from "core/request/RequestMiddleware"; +import { FeatureItem, useFeature } from "hooks/services/Feature"; import { useDefaultRequestMiddlewares } from "services/useDefaultRequestMiddlewares"; import { useInitService } from "services/useInitService"; -import { isCloudApp } from "utils/app"; + +const NO_UPDATES: WebBackendCheckUpdatesRead = { + destinationDefinitions: 0, + sourceDefinitions: 0, +}; + +type EnabledFeatures = Partial>; class ConnectorService extends AirbyteRequestService { - checkUpdates(): Promise { - if (isCloudApp()) { - return Promise.resolve({ sourceDefinitions: 0, destinationDefinitions: 0 }); + constructor( + rootUrl: string, + middlewares: RequestMiddleware[] = [], + private readonly enabledFeatures: EnabledFeatures + ) { + super(rootUrl, middlewares); + this.enabledFeatures = enabledFeatures; + } + checkUpdates() { + if (this.enabledFeatures[FeatureItem.AllowUpdateConnectors]) { + return webBackendCheckUpdates(this.requestOptions); } - return webBackendCheckUpdates(this.requestOptions); + return Promise.resolve(NO_UPDATES); } } export function useConnectorService() { const { apiUrl } = useConfig(); + const enabledFeatures = { + [FeatureItem.AllowUpdateConnectors]: useFeature(FeatureItem.AllowUpdateConnectors), + }; + const requestAuthMiddleware = useDefaultRequestMiddlewares(); - return useInitService(() => new ConnectorService(apiUrl, requestAuthMiddleware), [apiUrl, requestAuthMiddleware]); + return useInitService( + () => new ConnectorService(apiUrl, requestAuthMiddleware, enabledFeatures), + [apiUrl, requestAuthMiddleware] + ); } diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/config/ContainerOrchestratorConfigBeanFactory.java b/airbyte-workers/src/main/java/io/airbyte/workers/config/ContainerOrchestratorConfigBeanFactory.java index 940b22ec09bd..d00d98c2d143 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/config/ContainerOrchestratorConfigBeanFactory.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/config/ContainerOrchestratorConfigBeanFactory.java @@ -6,7 +6,9 @@ import io.airbyte.commons.features.EnvVariableFeatureFlags; import io.airbyte.commons.features.FeatureFlags; +import io.airbyte.config.Configs; import io.airbyte.config.Configs.WorkerEnvironment; +import io.airbyte.config.EnvConfigs; import io.airbyte.config.storage.CloudStorageConfigs; import io.airbyte.workers.ContainerOrchestratorConfig; import io.airbyte.workers.storage.DocumentStoreClient; @@ -99,6 +101,10 @@ public ContainerOrchestratorConfig kubernetesContainerOrchestratorConfig( environmentVariables.put(DATA_PLANE_SERVICE_ACCOUNT_CREDENTIALS_PATH_ENV_VAR, dataPlaneServiceAccountCredentialsPath); environmentVariables.put(DATA_PLANE_SERVICE_ACCOUNT_EMAIL_ENV_VAR, dataPlaneServiceAccountEmail); + final Configs configs = new EnvConfigs(); + environmentVariables.put(EnvConfigs.SOCAT_KUBE_CPU_LIMIT, configs.getSocatSidecarKubeCpuLimit()); + environmentVariables.put(EnvConfigs.SOCAT_KUBE_CPU_REQUEST, configs.getSocatSidecarKubeCpuRequest()); + if (System.getenv(DD_ENV_ENV_VAR) != null) { environmentVariables.put(DD_ENV_ENV_VAR, System.getenv(DD_ENV_ENV_VAR)); } diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/temporal/sync/NormalizationActivityImpl.java b/airbyte-workers/src/main/java/io/airbyte/workers/temporal/sync/NormalizationActivityImpl.java index 54ab44f99edd..ddf1ca1c4ba0 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/temporal/sync/NormalizationActivityImpl.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/temporal/sync/NormalizationActivityImpl.java @@ -113,19 +113,19 @@ public NormalizationSummary normalize(final JobRunConfig jobRunConfig, // Check the version of normalization // We require at least version 0.3.0 to support data types v1. Using an older version would lead to - // all columns being typed as JSONB. We should fail before coercing the types into an unexpected - // form. + // all columns being typed as JSONB. If normalization is using an older version, fallback to using + // v0 data types. if (!normalizationSupportsV1DataTypes(destinationLauncherConfig)) { - throw new IllegalStateException("Normalization is too old, a version >=\"0.3.0\" is required but got \"" - + destinationLauncherConfig.getNormalizationDockerImage() + "\" instead"); - } + CatalogMigrationV1Helper.downgradeSchemaIfNeeded(fullInput.getCatalog()); + } else { - // This should only be useful for syncs that started before the release that contained v1 migration. - // However, we lack the effective way to detect those syncs so this code should remain until we - // phase v0 out. - // Performance impact should be low considering the nature of the check compared to the time to run - // normalization. - CatalogMigrationV1Helper.upgradeSchemaIfNeeded(fullInput.getCatalog()); + // This should only be useful for syncs that started before the release that contained v1 migration. + // However, we lack the effective way to detect those syncs so this code should remain until we + // phase v0 out. + // Performance impact should be low considering the nature of the check compared to the time to run + // normalization. + CatalogMigrationV1Helper.upgradeSchemaIfNeeded(fullInput.getCatalog()); + } final Supplier inputSupplier = () -> { airbyteConfigValidator.ensureAsRuntime(ConfigSchema.NORMALIZATION_INPUT, Jsons.jsonNode(fullInput)); @@ -173,8 +173,8 @@ static boolean normalizationSupportsV1DataTypes(final IntegrationLauncherConfig return normalizationVersion.greaterThanOrEqualTo(MINIMAL_VERSION_FOR_DATATYPES_V1); } catch (final IllegalArgumentException e) { // IllegalArgument here means that the version isn't in a semver format. - // The current behavior is to assume it supports v1 data types for dev purposes. - return true; + // The current behavior is to assume it supports v0 data types for dev purposes. + return false; } } diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/sync/NormalizationActivityImplTest.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/sync/NormalizationActivityImplTest.java index 9c589a456fe9..aff7afb1ab57 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/sync/NormalizationActivityImplTest.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/sync/NormalizationActivityImplTest.java @@ -17,7 +17,7 @@ void checkNormalizationDataTypesSupportFromVersionString() { Assertions.assertTrue(NormalizationActivityImpl.normalizationSupportsV1DataTypes(withNormalizationVersion("0.3.0"))); Assertions.assertTrue(NormalizationActivityImpl.normalizationSupportsV1DataTypes(withNormalizationVersion("0.4.1"))); Assertions.assertTrue(NormalizationActivityImpl.normalizationSupportsV1DataTypes(withNormalizationVersion("dev"))); - Assertions.assertTrue(NormalizationActivityImpl.normalizationSupportsV1DataTypes(withNormalizationVersion("protocolv1"))); + Assertions.assertFalse(NormalizationActivityImpl.normalizationSupportsV1DataTypes(withNormalizationVersion("protocolv1"))); } private IntegrationLauncherConfig withNormalizationVersion(final String version) { diff --git a/buildSrc/src/main/groovy/airbyte-source-acceptance-test.gradle b/buildSrc/src/main/groovy/airbyte-connector-acceptance-test.gradle similarity index 71% rename from buildSrc/src/main/groovy/airbyte-source-acceptance-test.gradle rename to buildSrc/src/main/groovy/airbyte-connector-acceptance-test.gradle index 0b7f748e6457..02f74aa7f1a6 100644 --- a/buildSrc/src/main/groovy/airbyte-source-acceptance-test.gradle +++ b/buildSrc/src/main/groovy/airbyte-connector-acceptance-test.gradle @@ -1,9 +1,9 @@ import org.gradle.api.Plugin import org.gradle.api.Project -class AirbyteSourceAcceptanceTestPlugin implements Plugin { +class AirbyteConnectorAcceptanceTestPlugin implements Plugin { void apply(Project project) { - project.task('sourceAcceptanceTest') { + project.task('connectorAcceptanceTest') { doFirst { project.exec { def targetMountDirectory = "/test_input" @@ -18,7 +18,7 @@ class AirbyteSourceAcceptanceTestPlugin implements Plugin { '-v', "${project.projectDir.absolutePath}:${targetMountDirectory}", '-w', "$targetMountDirectory", '-e', "AIRBYTE_SAT_CONNECTOR_DIR=${project.projectDir.absolutePath}", - 'airbyte/source-acceptance-test:dev', + 'airbyte/connector-acceptance-test:dev', '-p', 'integration_tests.acceptance', ] commandLine args @@ -28,11 +28,11 @@ class AirbyteSourceAcceptanceTestPlugin implements Plugin { outputs.upToDateWhen { false } } - project.sourceAcceptanceTest.dependsOn(':airbyte-integrations:bases:source-acceptance-test:airbyteDocker') - project.sourceAcceptanceTest.dependsOn(project.build) - project.sourceAcceptanceTest.dependsOn(project.airbyteDocker) + project.connectorAcceptanceTest.dependsOn(':airbyte-integrations:bases:connector-acceptance-test:airbyteDocker') + project.connectorAcceptanceTest.dependsOn(project.build) + project.connectorAcceptanceTest.dependsOn(project.airbyteDocker) if (project.hasProperty('airbyteDockerTest')){ - project.sourceAcceptanceTest.dependsOn(project.airbyteDockerTest) + project.connectorAcceptanceTest.dependsOn(project.airbyteDockerTest) } // make sure we create the integrationTest task once @@ -40,7 +40,7 @@ class AirbyteSourceAcceptanceTestPlugin implements Plugin { project.task('integrationTest') } - project.integrationTest.dependsOn(project.sourceAcceptanceTest) + project.integrationTest.dependsOn(project.connectorAcceptanceTest) } } diff --git a/docs/connector-development/best-practices.md b/docs/connector-development/best-practices.md index 8b7f7bbbc6c3..1ad232ebae53 100644 --- a/docs/connector-development/best-practices.md +++ b/docs/connector-development/best-practices.md @@ -31,7 +31,7 @@ When reviewing connectors, we'll use the following "checklist" to verify whether * **API connectors** should validate records that every stream outputs data * If this causes rate limiting problems, there should be a periodic CI build which tests this on a less frequent cadence to avoid rate limiting -**Thoroughly test edge cases.** While Airbyte provides a [Standard Test Suite](testing-connectors/source-acceptance-tests-reference.md) that all connectors must pass, it's not possible for the standard test suite to cover all edge cases. When in doubt about whether the standard tests provide sufficient evidence of functionality, write a custom test case for your connector. +**Thoroughly test edge cases.** While Airbyte provides a [Standard Test Suite](testing-connectors/connector-acceptance-tests-reference.md) that all connectors must pass, it's not possible for the standard test suite to cover all edge cases. When in doubt about whether the standard tests provide sufficient evidence of functionality, write a custom test case for your connector. ### Check Connection diff --git a/docs/connector-development/config-based/tutorial/5-incremental-reads.md b/docs/connector-development/config-based/tutorial/5-incremental-reads.md index 8ca82d8aa59c..12013844b025 100644 --- a/docs/connector-development/config-based/tutorial/5-incremental-reads.md +++ b/docs/connector-development/config-based/tutorial/5-incremental-reads.md @@ -316,7 +316,7 @@ There shouldn't be any data read if the state is today's date: ## Next steps: -Next, we'll run the [Source Acceptance Tests suite to ensure the connector invariants are respected](6-testing.md). +Next, we'll run the [Connector Acceptance Tests suite to ensure the connector invariants are respected](6-testing.md). ## More readings diff --git a/docs/connector-development/config-based/tutorial/6-testing.md b/docs/connector-development/config-based/tutorial/6-testing.md index d8691a79648c..5aaa3ef2814e 100644 --- a/docs/connector-development/config-based/tutorial/6-testing.md +++ b/docs/connector-development/config-based/tutorial/6-testing.md @@ -1,7 +1,7 @@ # Step 6: Testing We should make sure the connector respects the Airbyte specifications before we start using it in production. -This can be done by executing the Source Acceptance Tests (SAT). +This can be done by executing the Connector Acceptance Tests. These tests will assert the most basic functionalities work as expected and are configured in `acceptance-test-config.yml`. diff --git a/docs/connector-development/testing-connectors/connector-acceptance-tests-reference.md b/docs/connector-development/testing-connectors/connector-acceptance-tests-reference.md new file mode 100644 index 000000000000..82d55e015a52 --- /dev/null +++ b/docs/connector-development/testing-connectors/connector-acceptance-tests-reference.md @@ -0,0 +1,364 @@ +# Acceptance Tests Reference + +To ensure a minimum quality bar, Airbyte runs all connectors against the same set of integration tests. Those tests ensure that each connector adheres to the [Airbyte Specification](../../understanding-airbyte/airbyte-protocol.md) and responds correctly to Airbyte commands when provided valid \(or invalid\) inputs. + +_Note: If you are looking for reference documentation for the deprecated first version of test suites, see_ [_Standard Tests \(Legacy\)_](https://github.com/airbytehq/airbyte/tree/e378d40236b6a34e1c1cb481c8952735ec687d88/docs/contributing-to-airbyte/building-new-connector/legacy-standard-source-tests.md)_._ + +## Architecture of standard tests + +The Standard Test Suite runs its tests against the connector's Docker image. It takes as input the configuration file `acceptance-tests-config.yml`. + +![Standard test sequence diagram](../../.gitbook/assets/standard_tests_sequence_diagram.png) + +The Standard Test Suite use pytest as a test runner and was built as pytest plugin `connector-acceptance-test`. This plugin adds a new configuration option `—acceptance-test-config` - it should points to the folder with `acceptance-tests-config.yml`. + +Each test suite has a timeout and will fail if the limit is exceeded. + +See all the test cases, their description, and inputs in [Connector Acceptance Tests](https://github.com/airbytehq/airbyte/tree/e378d40236b6a34e1c1cb481c8952735ec687d88/docs/contributing-to-airbyte/building-new-connector/connector-acceptance-tests.md). + +## Setting up standard acceptance tests for your connector + +Create `acceptance-test-config.yml`. In most cases, your connector already has this file in its root folder. Here is an example of the minimal `acceptance-test-config.yml`: + +```yaml +connector_image: airbyte/source-some-connector:dev +acceptance-tests: + spec: + tests: + - spec_path: "some_folder/spec.yaml" +``` + +_Note: Not all types of tests work for all connectors, only configure the ones that make sense in your scenario. The `spec` and `check` test suites are universal for all sources and destinations, the other test suites are only applicable to sources, and the `incremental` test suite is only applicable if the source connector supports incremental syncs._ + +Build your connector image if needed. + +```text +docker build . +``` + +Run one of the two scripts in the root of the connector: + +- `python -m pytest -p integration_tests.acceptance` - to run tests inside virtual environment + + - On test completion, a log will be outputted to the terminal verifying: + + - The connector the tests were ran for + - The git hash of the code used + - Whether the tests passed or failed + + This is useful to provide in your PR as evidence of the acceptance tests passing locally. + +- `./acceptance-test-docker.sh` - to run tests from a docker container + +If the test fails you will see detail about the test and where to find its inputs and outputs to reproduce it. You can also debug failed tests by adding `—pdb —last-failed`: + +```text +python -m pytest -p integration_tests.acceptance --pdb --last-failed +``` + +See other useful pytest options [here](https://docs.pytest.org/en/stable/usage.html) + +## Dynamically managing inputs & resources used in standard tests + +Since the inputs to standard tests are often static, the file-based runner is sufficient for most connectors. However, in some cases, you may need to run pre or post hooks to dynamically create or destroy resources for use in standard tests. For example, if we need to spin up a Redshift cluster to use in the test then tear it down afterwards, we need the ability to run code before and after the tests, as well as customize the Redshift cluster URL we pass to the standard tests. If you have need for this use case, please reach out to us via [Github](https://github.com/airbytehq/airbyte) or [Slack](https://slack.airbyte.io). We currently support it for Java & Python, and other languages can be made available upon request. + +### Python + +Create pytest yield-fixture with your custom setup/teardown code and place it in `integration_tests/acceptance.py`, Example of fixture that starts a docker container before tests and stops before exit: + +```python +@pytest.fixture(scope="session", autouse=True) +def connector_setup(): + """ This fixture is a placeholder for external resources that acceptance test might require. + """ + client = docker.from_env() + container = client.containers.run("your/docker-image", detach=True) + yield + container.stop() +``` + +These tests are configurable via `acceptance-test-config.yml`. Each test has a number of inputs, you can provide multiple sets of inputs which will cause the same to run multiple times - one for each set of inputs. + +Example of `acceptance-test-config.yml`: + +```yaml +connector_image: string # Docker image to test, for example 'airbyte/source-pokeapi:0.1.0' +base_path: string # Base path for all relative paths, optional, default - ./ +acceptance_tests: # Tests configuration + spec: # list of the test inputs + bypass_reason: "Explain why you skipped this test" + connection: # list of the test inputs + tests: + - config_path: string # set #1 of inputs + status: string + - config_path: string # set #2 of inputs + status: string + # discovery: # skip this test + incremental: + bypass_reason: "Incremental sync are not supported on this connector" +``` + +## Test Spec + +Verify that a `spec` operation issued to the connector returns a valid connector specification. +Additional tests are validating the backward compatibility of the current specification compared to the specification of the previous connector version. If no previous connector version is found (by default the test looks for a docker image with the same name but with the `latest` tag), this test is skipped. +These backward compatibility tests can be bypassed by changing the value of the `backward_compatibility_tests_config.disable_for_version` input in `acceptance-test-config.yml` (see below). +One more test validates the specification against containing exposed secrets. This means fields that potentially could hold a secret value should be explicitly marked with `"airbyte_secret": true`. If an input field like `api_key` / `password` / `client_secret` / etc. is exposed, the test will fail. + +| Input | Type | Default | Note | +| :--------------------------------------------------------------- | :----- | :------------------ | :-------------------------------------------------------------------------------------------------------------------- | +| `spec_path` | string | `secrets/spec.json` | Path to a YAML or JSON file representing the spec expected to be output by this connector | +| `backward_compatibility_tests_config.previous_connector_version` | string | `latest` | Previous connector version to use for backward compatibility tests (expects a version following semantic versioning). | +| `backward_compatibility_tests_config.disable_for_version` | string | None | Disable the backward compatibility test for a specific version (expects a version following semantic versioning). | +| `timeout_seconds` | int | 10 | Test execution timeout in seconds | + +## Test Connection + +Verify that a check operation issued to the connector with the input config file returns a successful response. + +| Input | Type | Default | Note | +| :---------------- | :----------------------------- | :-------------------- | :----------------------------------------------------------------- | +| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | +| `status` | `succeed` `failed` `exception` | | Indicate if connection check should succeed with provided config | +| `timeout_seconds` | int | 30 | Test execution timeout in seconds | + +## Test Discovery + +Verifies when a `discover` operation is run on the connector using the given config file, a valid catalog is produced by the connector. +Additional tests are validating the backward compatibility of the discovered catalog compared to the catalog of the previous connector version. If no previous connector version is found (by default the test looks for a docker image with the same name but with the `latest` tag), this test is skipped. +These backward compatibility tests can be bypassed by changing the value of the `backward_compatibility_tests_config.disable_for_version` input in `acceptance-test-config.yml` (see below). + +| Input | Type | Default | Note | +| :--------------------------------------------------------------- | :----- | :------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------- | +| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | +| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | +| `timeout_seconds` | int | 30 | Test execution timeout in seconds | +| `backward_compatibility_tests_config.previous_connector_version` | string | `latest` | Previous connector version to use for backward compatibility tests (expects a version following semantic versioning). | +| `backward_compatibility_tests_config.disable_for_version` | string | None | Disable the backward compatibility test for a specific version (expects a version following semantic versioning). | + +## Test Basic Read + +Configuring all streams in the input catalog to full refresh mode verifies that a read operation produces some RECORD messages. Each stream should have some data, if you can't guarantee this for particular streams - add them to the `empty_streams` list. +Set `validate_data_points=True` if possible. This validation is going to be enabled by default and won't be configurable in future releases. + +| Input | Type | Default | Note | +| :-------------------------------- | :--------------- | :------------------------------------------ | :------------------------------------------------------------------------------------------------------------ | +| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | +| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | +| `empty_streams` | array of objects | \[\] | List of streams that might be empty with a `bypass_reason` | +| `empty_streams[0].name` | string | | Name of the empty stream | +| `empty_streams[0].bypass_reason` | string | None | Reason why this stream is empty | +| `validate_schema` | boolean | True | Verify that structure and types of records matches the schema from discovery command | +| `validate_data_points` | boolean | False | Validate that all fields in all streams contained at least one data point | +| `timeout_seconds` | int | 5\*60 | Test execution timeout in seconds | +| `expect_trace_message_on_failure` | boolean | True | Ensure that a trace message is emitted when the connector crashes | +| `expect_records` | object | None | Compare produced records with expected records, see details below | +| `expect_records.path` | string | | File with expected records | +| `expect_records.bypass_reason` | string | | Explain why this test is bypassed | +| `expect_records.extra_fields` | boolean | False | Allow output records to have other fields i.e: expected records are a subset | +| `expect_records.exact_order` | boolean | False | Ensure that records produced in exact same order | +| `expect_records.extra_records` | boolean | True | Allow connector to produce extra records, but still enforce all records from the expected file to be produced | + +`expect_records` is a nested configuration, if omitted - the part of the test responsible for record matching will be skipped. Due to the fact that we can't identify records without primary keys, only the following flag combinations are supported: + +| extra_fields | exact_order | extra_records | +| :----------- | :---------- | :------------ | +| x | x | | +| | x | x | +| | x | | +| | | x | +| | | | + +### Schema format checking + +If some field has [format](https://json-schema.org/understanding-json-schema/reference/string.html#format) attribute specified on its catalog json schema, Source Acceptance Testing framework performs checking against format. It support checking of all [builtin](https://json-schema.org/understanding-json-schema/reference/string.html#built-in-formats) jsonschema formats for draft 7 specification: email, hostnames, ip addresses, time, date and date-time formats. + +Note: For date-time we are not checking against compliance against ISO8601 \(and RFC3339 as subset of it\). Since we are using specified format to set database column type on db normalization stage, value should be compliant to bigquery [timestamp](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#timestamp_type) and SQL "timestamp with timezone" formats. + +### Example of `expected_records.jsonl`: + +In general, the expected_records.jsonl should contain the subset of output of the records of particular stream you need to test. The required fields are: `stream, data, emitted_at` + +```javascript +{"stream": "my_stream", "data": {"field_1": "value0", "field_2": "value0", "field_3": null, "field_4": {"is_true": true}, "field_5": 123}, "emitted_at": 1626172757000} +{"stream": "my_stream", "data": {"field_1": "value1", "field_2": "value1", "field_3": null, "field_4": {"is_true": false}, "field_5": 456}, "emitted_at": 1626172757000} +{"stream": "my_stream", "data": {"field_1": "value2", "field_2": "value2", "field_3": null, "field_4": {"is_true": true}, "field_5": 678}, "emitted_at": 1626172757000} +{"stream": "my_stream", "data": {"field_1": "value3", "field_2": "value3", "field_3": null, "field_4": {"is_true": false}, "field_5": 91011}, "emitted_at": 1626172757000} +``` + +## Test Full Refresh sync + +### TestSequentialReads + +This test performs two read operations on all streams which support full refresh syncs. It then verifies that the RECORD messages output from both were identical or the former is a strict subset of the latter. + +| Input | Type | Default | Note | +| :------------------------ | :----- | :------------------------------------------ | :--------------------------------------------------------------------- | +| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | +| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | +| `timeout_seconds` | int | 20\*60 | Test execution timeout in seconds | +| `ignored_fields` | dict | None | For each stream, list of fields path ignoring in sequential reads test | + +## Test Incremental sync + +### TestTwoSequentialReads + +This test verifies that all streams in the input catalog which support incremental sync can do so correctly. It does this by running two read operations: the first takes the configured catalog and config provided to this test as input. It then verifies that the sync produced a non-zero number of `RECORD` and `STATE` messages. The second read takes the same catalog and config used in the first test, plus the last `STATE` message output by the first read operation as the input state file. It verifies that either no records are produced \(since we read all records in the first sync\) or all records that produced have cursor value greater or equal to cursor value from `STATE` message. This test is performed only for streams that support incremental. Streams that do not support incremental sync are ignored. If no streams in the input catalog support incremental sync, this test is skipped. + +| Input | Type | Default | Note | +| :------------------------ | :----- | :------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | +| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | +| `cursor_paths` | dict | {} | For each stream, the path of its cursor field in the output state messages. If omitted the path will be taken from the last piece of path from stream cursor_field. | +| `timeout_seconds` | int | 20\*60 | Test execution timeout in seconds | +| `threshold_days` | int | 0 | For date-based cursors, allow records to be emitted with a cursor value this number of days before the state value. | + +### TestReadSequentialSlices + +This test offers more comprehensive verification that all streams in the input catalog which support incremental syncs perform the sync correctly. It does so in two phases. The first phase uses the configured catalog and config provided to this test as input to make a request to the partner API and assemble the complete set of messages to be synced. It then verifies that the sync produced a non-zero number of `RECORD` and `STATE` messages. This set of messages is partitioned into batches of a `STATE` message followed by zero or more `RECORD` messages. For each batch of messages, the initial `STATE` message is used as input for a read operation to get records with respect to the cursor. The test then verifies that all of the `RECORDS` retrieved have a cursor value greater or equal to the cursor from the current `STATE` message. This test is performed only for streams that support incremental. Streams that do not support incremental sync are ignored. If no streams in the input catalog support incremental sync, this test is skipped. + +| Input | Type | Default | Note | +| :------------------------------------- | :----- | :------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | +| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | +| `cursor_paths` | dict | {} | For each stream, the path of its cursor field in the output state messages. If omitted the path will be taken from the last piece of path from stream cursor_field. | +| `timeout_seconds` | int | 20\*60 | Test execution timeout in seconds | +| `threshold_days` | int | 0 | For date-based cursors, allow records to be emitted with a cursor value this number of days before the state value. | +| `skip_comprehensive_incremental_tests` | bool | false | For non-GA and in-development connectors, control whether the more comprehensive incremental tests will be skipped | + +**Note that this test samples a fraction of stream slices across an incremental sync in order to reduce test duration and avoid spamming partner APIs** + +### TestStateWithAbnormallyLargeValues + +This test verifies that sync produces no records when run with the STATE with abnormally large values + +| Input | Type | Default | Note | | +| :------------------------ | :----- | :------------------------------------------ | :----------------------------------------------------------------- | :-- | +| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | | +| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | | +| `future_state_path` | string | None | Path to the state file with abnormally large cursor values | | +| `timeout_seconds` | int | 20\*60 | Test execution timeout in seconds | | +| `bypass_reason` | string | None | Explain why this test is bypassed | | + +## Strictness level + +To enforce maximal coverage of acceptances tests we expose a `test_strictness_level` field at the root of the `acceptance-test-config.yml` configuration. +The default `test_strictness_level` is `low`, but for generally available connectors it is expected to be eventually set to `high`. + +_Note: For now, the strictness level can only be applied for sources, not for destination connectors_ + +### Test enforcements in `high` test strictness level + +#### All acceptance tests are declared, a `bypass_reason` is filled if a test can't run + +In `high` test strictness level we expect all acceptance tests to be declared: + +- `spec` +- `connection` +- `discovery` +- `basic_read` +- `full_refresh` +- `incremental` + +If a test can't be run for a valid technical or organizational reason a `bypass_reason` can be declared to skip this test. +E.G. `source-pokeapi` does not support incremental syncs, we can skip this test when `test_strictness_level` is `high` by setting a `bypass_reason` under `incremental`. + +```yaml +connector_image: "airbyte/source-pokeapi" +test_strictness_level: high +acceptance_tests: + spec: + tests: + - spec_path: "source_pokeapi/spec.json" + connection: + tests: + - config_path: "integration_tests/config.json" + status: "succeed" + discovery: + tests: + - config_path: "integration_tests/config.json" + basic_read: + tests: + - config_path: "integration_tests/config.json" + full_refresh: + tests: + - config_path: "integration_tests/config.json" + configured_catalog_path: "integration_tests/configured_catalog.json" + incremental: + bypass_reason: "Incremental syncs are not supported on this connector." +``` + +#### Basic read: no empty streams are allowed without a `bypass_reason` + +In `high` test strictness level we expect that all streams declared in `empty-streams` to have a `bypass_reason` filled in. + +E.G. Two streams from `source-recharge` can't be seeded with test data, they are declared as `empty_stream` we an explicit bypass reason. + +```yaml +connector_image: airbyte/source-recharge:dev +test_strictness_level: high +acceptance_tests: + basic_read: + tests: + - config_path: secrets/config.json + empty_streams: + - name: collections + bypass_reason: "This stream can't be seeded in our sandbox account" + - name: discounts + bypass_reason: "This stream can't be seeded in our sandbox account" + timeout_seconds: 1200 +``` + +#### Basic read: `expect_records` must be set + +In `high` test strictness level we expect the `expect_records` subtest to be set. +If you can't create an `expected_records.jsonl` with all the existing stream you need to declare the missing streams in the `empty_streams` section. +If you can't get an `expected_records.jsonl` file at all, you must fill in a `bypass_reason`. + +#### Basic read: no `configured_catalog_path` can be set + +In `high` test strictness level we want to run the `basic_read` test on a configured catalog created from the discovered catalog from which we remove declared empty streams. Declaring `configured_catalog_path` in the test configuration is not allowed. + +```yaml +connector_image: airbyte/source-recharge:dev +test_strictness_level: high +acceptance_tests: + basic_read: + tests: + - config_path: secrets/config.json + empty_streams: + - name: collections + bypass_reason: "This stream can't be seeded in our sandbox account" + - name: discounts + bypass_reason: "This stream can't be seeded in our sandbox account" + timeout_seconds: 1200 +``` + +#### Incremental: `future_state` must be set + +In `high` test strictness level we expect the `future_state` configuration to be set. +The future state JSON file (usually `abnormal_states.json`) must contain one state for each stream declared in the configured catalog. +`missing_streams` can be set to ignore a subset of the streams with a valid bypass reason. E.G: + +```yaml +test_strictness_level: high +connector_image: airbyte/source-my-connector:dev +acceptance_tests: + ... + incremental: + tests: + - config_path: secrets/config.json + configured_catalog_path: integration_tests/configured_catalog.json + cursor_paths: + ... + future_state: + future_state_path: integration_tests/abnormal_state.json + missing_streams: + - name: my_missing_stream + bypass_reason: "Please fill a good reason" +``` + +## Caching + +We cache discovered catalogs by default for performance and reuse the same discovered catalog through all tests. +You can disable this behavior by setting `cached_discovered_catalog: False` at the root of the configuration. diff --git a/docs/connector-development/testing-connectors/source-acceptance-tests-reference.md b/docs/connector-development/testing-connectors/source-acceptance-tests-reference.md index 3e3b29601def..c40bddef5416 100644 --- a/docs/connector-development/testing-connectors/source-acceptance-tests-reference.md +++ b/docs/connector-development/testing-connectors/source-acceptance-tests-reference.md @@ -1,391 +1,5 @@ -# Source Acceptance Tests Reference +# Source Acceptance Tests got renamed to Connector Acceptance Tests -To ensure a minimum quality bar, Airbyte runs all connectors against the same set of integration tests \(sources & destinations have two different test suites\). Those tests ensure that each connector adheres to the [Airbyte Specification](../../understanding-airbyte/airbyte-protocol.md) and responds correctly to Airbyte commands when provided valid \(or invalid\) inputs. +By now, the scope of the SAT goes beyond what's only useful for sources - due to this reasons the SATs are renamed to just acceptance tests or connector acceptance tests. -_Note: If you are looking for reference documentation for the deprecated first version of test suites, see_ [_Standard Tests \(Legacy\)_](https://github.com/airbytehq/airbyte/tree/e378d40236b6a34e1c1cb481c8952735ec687d88/docs/contributing-to-airbyte/building-new-connector/legacy-standard-source-tests.md)_._ - -## Architecture of standard tests - -The Standard Test Suite runs its tests against the connector's Docker image. It takes as input the configuration file `acceptance-tests-config.yml`. - -![Standard test sequence diagram](../../.gitbook/assets/standard_tests_sequence_diagram.png) - -The Standard Test Suite use pytest as a test runner and was built as pytest plugin `source-acceptance-test`. This plugin adds a new configuration option `—acceptance-test-config` - it should points to the folder with `acceptance-tests-config.yml`. - -Each test suite has a timeout and will fail if the limit is exceeded. - -See all the test cases, their description, and inputs in [Source Acceptance Tests](https://github.com/airbytehq/airbyte/tree/e378d40236b6a34e1c1cb481c8952735ec687d88/docs/contributing-to-airbyte/building-new-connector/source-acceptance-tests.md). - -## Setting up standard acceptance tests for your connector - -Create `acceptance-test-config.yml`. In most cases, your connector already has this file in its root folder. Here is an example of the minimal `acceptance-test-config.yml`: - -```yaml -connector_image: airbyte/source-some-connector:dev -acceptance-tests: - spec: - tests: - - spec_path: "some_folder/spec.yaml" -``` - -Build your connector image if needed. - -```text -docker build . -``` - -Run one of the two scripts in the root of the connector: - -- `python -m pytest -p integration_tests.acceptance` - to run tests inside virtual environment - - - On test completion, a log will be outputted to the terminal verifying: - - - The connector the tests were ran for - - The git hash of the code used - - Whether the tests passed or failed - - This is useful to provide in your PR as evidence of the acceptance tests passing locally. - -- `./acceptance-test-docker.sh` - to run tests from a docker container - -If the test fails you will see detail about the test and where to find its inputs and outputs to reproduce it. You can also debug failed tests by adding `—pdb —last-failed`: - -```text -python -m pytest -p integration_tests.acceptance --pdb --last-failed -``` - -See other useful pytest options [here](https://docs.pytest.org/en/stable/usage.html) - -## Dynamically managing inputs & resources used in standard tests - -Since the inputs to standard tests are often static, the file-based runner is sufficient for most connectors. However, in some cases, you may need to run pre or post hooks to dynamically create or destroy resources for use in standard tests. For example, if we need to spin up a Redshift cluster to use in the test then tear it down afterwards, we need the ability to run code before and after the tests, as well as customize the Redshift cluster URL we pass to the standard tests. If you have need for this use case, please reach out to us via [Github](https://github.com/airbytehq/airbyte) or [Slack](https://slack.airbyte.io). We currently support it for Java & Python, and other languages can be made available upon request. - -### Python - -Create pytest yield-fixture with your custom setup/teardown code and place it in `integration_tests/acceptance.py`, Example of fixture that starts a docker container before tests and stops before exit: - -```python -@pytest.fixture(scope="session", autouse=True) -def connector_setup(): - """ This fixture is a placeholder for external resources that acceptance test might require. - """ - client = docker.from_env() - container = client.containers.run("your/docker-image", detach=True) - yield - container.stop() -``` - -These tests are configurable via `acceptance-test-config.yml`. Each test has a number of inputs, you can provide multiple sets of inputs which will cause the same to run multiple times - one for each set of inputs. - -Example of `acceptance-test-config.yml`: - -```yaml -connector_image: string # Docker image to test, for example 'airbyte/source-pokeapi:0.1.0' -base_path: string # Base path for all relative paths, optional, default - ./ -acceptance_tests: # Tests configuration - spec: # list of the test inputs - bypass_reason: "Explain why you skipped this test" - connection: # list of the test inputs - tests: - - config_path: string # set #1 of inputs - status: string - - config_path: string # set #2 of inputs - status: string - # discovery: # skip this test - incremental: - bypass_reason: "Incremental sync are not supported on this connector" -``` - -## Test Spec - -Verify that a `spec` operation issued to the connector returns a valid connector specification. -Additional tests are validating the backward compatibility of the current specification compared to the specification of the previous connector version. If no previous connector version is found (by default the test looks for a docker image with the same name but with the `latest` tag), this test is skipped. -These backward compatibility tests can be bypassed by changing the value of the `backward_compatibility_tests_config.disable_for_version` input in `acceptance-test-config.yml` (see below). -One more test validates the specification against containing exposed secrets. This means fields that potentially could hold a secret value should be explicitly marked with `"airbyte_secret": true`. If an input field like `api_key` / `password` / `client_secret` / etc. is exposed, the test will fail. - -| Input | Type | Default | Note | -| :--------------------------------------------------------------- | :----- | :------------------ | :-------------------------------------------------------------------------------------------------------------------- | -| `spec_path` | string | `secrets/spec.json` | Path to a YAML or JSON file representing the spec expected to be output by this connector | -| `backward_compatibility_tests_config.previous_connector_version` | string | `latest` | Previous connector version to use for backward compatibility tests (expects a version following semantic versioning). | -| `backward_compatibility_tests_config.disable_for_version` | string | None | Disable the backward compatibility test for a specific version (expects a version following semantic versioning). | -| `timeout_seconds` | int | 10 | Test execution timeout in seconds | - -## Test Connection - -Verify that a check operation issued to the connector with the input config file returns a successful response. - -| Input | Type | Default | Note | -| :---------------- | :----------------------------- | :-------------------- | :----------------------------------------------------------------- | -| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | -| `status` | `succeed` `failed` `exception` | | Indicate if connection check should succeed with provided config | -| `timeout_seconds` | int | 30 | Test execution timeout in seconds | - -## Test Discovery - -Verifies when a `discover` operation is run on the connector using the given config file, a valid catalog is produced by the connector. -Additional tests are validating the backward compatibility of the discovered catalog compared to the catalog of the previous connector version. If no previous connector version is found (by default the test looks for a docker image with the same name but with the `latest` tag), this test is skipped. -These backward compatibility tests can be bypassed by changing the value of the `backward_compatibility_tests_config.disable_for_version` input in `acceptance-test-config.yml` (see below). - -| Input | Type | Default | Note | -| :--------------------------------------------------------------- | :----- | :------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------- | -| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | -| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | -| `timeout_seconds` | int | 30 | Test execution timeout in seconds | -| `backward_compatibility_tests_config.previous_connector_version` | string | `latest` | Previous connector version to use for backward compatibility tests (expects a version following semantic versioning). | -| `backward_compatibility_tests_config.disable_for_version` | string | None | Disable the backward compatibility test for a specific version (expects a version following semantic versioning). | - -## Test Basic Read - -Configuring all streams in the input catalog to full refresh mode verifies that a read operation produces some RECORD messages. Each stream should have some data, if you can't guarantee this for particular streams - add them to the `empty_streams` list. -Set `validate_data_points=True` if possible. This validation is going to be enabled by default and won't be configurable in future releases. - -| Input | Type | Default | Note | -| :-------------------------------- | :--------------- | :------------------------------------------ | :------------------------------------------------------------------------------------------------------------ | -| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | -| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | -| `empty_streams` | array of objects | \[\] | List of streams that might be empty with a `bypass_reason` | -| `empty_streams[0].name` | string | | Name of the empty stream | -| `empty_streams[0].bypass_reason` | string | None | Reason why this stream is empty | -| `validate_schema` | boolean | True | Verify that structure and types of records matches the schema from discovery command | -| `validate_data_points` | boolean | False | Validate that all fields in all streams contained at least one data point | -| `timeout_seconds` | int | 5\*60 | Test execution timeout in seconds | -| `expect_trace_message_on_failure` | boolean | True | Ensure that a trace message is emitted when the connector crashes | -| `expect_records` | object | None | Compare produced records with expected records, see details below | -| `expect_records.path` | string | | File with expected records | -| `expect_records.bypass_reason` | string | | Explain why this test is bypassed | -| `expect_records.extra_fields` | boolean | False | Allow output records to have other fields i.e: expected records are a subset | -| `expect_records.exact_order` | boolean | False | Ensure that records produced in exact same order | -| `expect_records.extra_records` | boolean | True | Allow connector to produce extra records, but still enforce all records from the expected file to be produced | - -`expect_records` is a nested configuration, if omitted - the part of the test responsible for record matching will be skipped. Due to the fact that we can't identify records without primary keys, only the following flag combinations are supported: - -| extra_fields | exact_order | extra_records | -| :----------- | :---------- | :------------ | -| x | x | | -| | x | x | -| | x | | -| | | x | -| | | | - -### Schema format checking - -If some field has [format](https://json-schema.org/understanding-json-schema/reference/string.html#format) attribute specified on its catalog json schema, Source Acceptance Testing framework performs checking against format. It support checking of all [builtin](https://json-schema.org/understanding-json-schema/reference/string.html#built-in-formats) jsonschema formats for draft 7 specification: email, hostnames, ip addresses, time, date and date-time formats. - -Note: For date-time we are not checking against compliance against ISO8601 \(and RFC3339 as subset of it\). Since we are using specified format to set database column type on db normalization stage, value should be compliant to bigquery [timestamp](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#timestamp_type) and SQL "timestamp with timezone" formats. - -### Example of `expected_records.jsonl`: - -In general, the expected_records.jsonl should contain the subset of output of the records of particular stream you need to test. The required fields are: `stream, data, emitted_at` - -```javascript -{"stream": "my_stream", "data": {"field_1": "value0", "field_2": "value0", "field_3": null, "field_4": {"is_true": true}, "field_5": 123}, "emitted_at": 1626172757000} -{"stream": "my_stream", "data": {"field_1": "value1", "field_2": "value1", "field_3": null, "field_4": {"is_true": false}, "field_5": 456}, "emitted_at": 1626172757000} -{"stream": "my_stream", "data": {"field_1": "value2", "field_2": "value2", "field_3": null, "field_4": {"is_true": true}, "field_5": 678}, "emitted_at": 1626172757000} -{"stream": "my_stream", "data": {"field_1": "value3", "field_2": "value3", "field_3": null, "field_4": {"is_true": false}, "field_5": 91011}, "emitted_at": 1626172757000} -``` - -## Test Full Refresh sync - -### TestSequentialReads - -This test performs two read operations on all streams which support full refresh syncs. It then verifies that the RECORD messages output from both were identical or the former is a strict subset of the latter. - -| Input | Type | Default | Note | -| :------------------------ | :----- | :------------------------------------------ | :--------------------------------------------------------------------- | -| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | -| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | -| `timeout_seconds` | int | 20\*60 | Test execution timeout in seconds | -| `ignored_fields` | dict | None | For each stream, list of fields path ignoring in sequential reads test | - -## Test Incremental sync - -### TestTwoSequentialReads - -This test verifies that all streams in the input catalog which support incremental sync can do so correctly. It does this by running two read operations: the first takes the configured catalog and config provided to this test as input. It then verifies that the sync produced a non-zero number of `RECORD` and `STATE` messages. The second read takes the same catalog and config used in the first test, plus the last `STATE` message output by the first read operation as the input state file. It verifies that either no records are produced \(since we read all records in the first sync\) or all records that produced have cursor value greater or equal to cursor value from `STATE` message. This test is performed only for streams that support incremental. Streams that do not support incremental sync are ignored. If no streams in the input catalog support incremental sync, this test is skipped. - -| Input | Type | Default | Note | -| :------------------------ | :----- | :------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | -| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | -| `cursor_paths` | dict | {} | For each stream, the path of its cursor field in the output state messages. If omitted the path will be taken from the last piece of path from stream cursor_field. | -| `timeout_seconds` | int | 20\*60 | Test execution timeout in seconds | -| `threshold_days` | int | 0 | For date-based cursors, allow records to be emitted with a cursor value this number of days before the state value. | - -### TestReadSequentialSlices - -This test offers more comprehensive verification that all streams in the input catalog which support incremental syncs perform the sync correctly. It does so in two phases. The first phase uses the configured catalog and config provided to this test as input to make a request to the partner API and assemble the complete set of messages to be synced. It then verifies that the sync produced a non-zero number of `RECORD` and `STATE` messages. This set of messages is partitioned into batches of a `STATE` message followed by zero or more `RECORD` messages. For each batch of messages, the initial `STATE` message is used as input for a read operation to get records with respect to the cursor. The test then verifies that all of the `RECORDS` retrieved have a cursor value greater or equal to the cursor from the current `STATE` message. This test is performed only for streams that support incremental. Streams that do not support incremental sync are ignored. If no streams in the input catalog support incremental sync, this test is skipped. - -| Input | Type | Default | Note | -| :------------------------------------- | :----- | :------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | -| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | -| `cursor_paths` | dict | {} | For each stream, the path of its cursor field in the output state messages. If omitted the path will be taken from the last piece of path from stream cursor_field. | -| `timeout_seconds` | int | 20\*60 | Test execution timeout in seconds | -| `threshold_days` | int | 0 | For date-based cursors, allow records to be emitted with a cursor value this number of days before the state value. | -| `skip_comprehensive_incremental_tests` | bool | false | For non-GA and in-development connectors, control whether the more comprehensive incremental tests will be skipped | - -**Note that this test samples a fraction of stream slices across an incremental sync in order to reduce test duration and avoid spamming partner APIs** - -### TestStateWithAbnormallyLargeValues - -This test verifies that sync produces no records when run with the STATE with abnormally large values - -| Input | Type | Default | Note | | -| :------------------------ | :----- | :------------------------------------------ | :----------------------------------------------------------------- | :-- | -| `config_path` | string | `secrets/config.json` | Path to a JSON object representing a valid connector configuration | | -| `configured_catalog_path` | string | `integration_tests/configured_catalog.json` | Path to configured catalog | | -| `future_state_path` | string | None | Path to the state file with abnormally large cursor values | | -| `timeout_seconds` | int | 20\*60 | Test execution timeout in seconds | | -| `bypass_reason` | string | None | Explain why this test is bypassed | | - -## Strictness level - -To enforce maximal coverage of acceptances tests we expose a `test_strictness_level` field at the root of the `acceptance-test-config.yml` configuration. -The default `test_strictness_level` is `low`, but for generally available connectors it is expected to be eventually set to `high`. - -### Test enforcements in `high` test strictness level - -#### All acceptance tests are declared, a `bypass_reason` is filled if a test can't run - -In `high` test strictness level we expect all acceptance tests to be declared: - -- `spec` -- `connection` -- `discovery` -- `basic_read` -- `full_refresh` -- `incremental` - -If a test can't be run for a valid technical or organizational reason a `bypass_reason` can be declared to skip this test. -E.G. `source-pokeapi` does not support incremental syncs, we can skip this test when `test_strictness_level` is `high` by setting a `bypass_reason` under `incremental`. - -```yaml -connector_image: "airbyte/source-pokeapi" -test_strictness_level: high -acceptance_tests: - spec: - tests: - - spec_path: "source_pokeapi/spec.json" - connection: - tests: - - config_path: "integration_tests/config.json" - status: "succeed" - discovery: - tests: - - config_path: "integration_tests/config.json" - basic_read: - tests: - - config_path: "integration_tests/config.json" - full_refresh: - tests: - - config_path: "integration_tests/config.json" - configured_catalog_path: "integration_tests/configured_catalog.json" - incremental: - bypass_reason: "Incremental syncs are not supported on this connector." -``` - -#### Basic read: no empty streams are allowed without a `bypass_reason` - -In `high` test strictness level we expect that all streams declared in `empty-streams` to have a `bypass_reason` filled in. - -E.G. Two streams from `source-recharge` can't be seeded with test data, they are declared as `empty_stream` we an explicit bypass reason. - -```yaml -connector_image: airbyte/source-recharge:dev -test_strictness_level: high -acceptance_tests: - basic_read: - tests: - - config_path: secrets/config.json - empty_streams: - - name: collections - bypass_reason: "This stream can't be seeded in our sandbox account" - - name: discounts - bypass_reason: "This stream can't be seeded in our sandbox account" - timeout_seconds: 1200 -``` - -#### Basic read: `expect_records` must be set - -In `high` test strictness level we expect the `expect_records` subtest to be set. -If you can't create an `expected_records.jsonl` with all the existing stream you need to declare the missing streams in the `empty_streams` section. -If you can't get an `expected_records.jsonl` file at all, you must fill in a `bypass_reason`. - -#### Basic read: no `configured_catalog_path` can be set - -In `high` test strictness level we want to run the `basic_read` test on a configured catalog created from the discovered catalog from which we remove declared empty streams. Declaring `configured_catalog_path` in the test configuration is not allowed. - -```yaml -connector_image: airbyte/source-recharge:dev -test_strictness_level: high -acceptance_tests: - basic_read: - tests: - - config_path: secrets/config.json - empty_streams: - - name: collections - bypass_reason: "This stream can't be seeded in our sandbox account" - - name: discounts - bypass_reason: "This stream can't be seeded in our sandbox account" - timeout_seconds: 1200 -``` - -#### Incremental: `future_state` must be set - -In `high` test strictness level we expect the `future_state` configuration to be set. -The future state JSON file (usually `abnormal_states.json`) must contain one state for each stream declared in the configured catalog. -`missing_streams` can be set to ignore a subset of the streams with a valid bypass reason. E.G: - -```yaml -test_strictness_level: high -connector_image: airbyte/source-my-connector:dev -acceptance_tests: - ... - incremental: - tests: - - config_path: secrets/config.json - configured_catalog_path: integration_tests/configured_catalog.json - cursor_paths: - ... - future_state: - future_state_path: integration_tests/abnormal_state.json - missing_streams: - - name: my_missing_stream - bypass_reason: "Please fill a good reason" -``` - -## Caching - -We cache discovered catalogs by default for performance and reuse the same discovered catalog through all tests. -You can disable this behavior by setting `cached_discovered_catalog: False` at the root of the configuration. - -## Additional Checks - -While not nesciacily related to SAT testing, Airbyte employs a number of additional checks which run on connector Pull Requests which check the following items: - -### Allowed Hosts - -GA and Beta connectors are required to provide an entry for Allowed Hosts in the Actor Definition for the connector. Actor Definitions are stored in either [source_definitions.yaml](https://github.com/airbytehq/airbyte/blob/master/airbyte-config/init/src/main/resources/seed/source_definitions.yaml) or [destination_definitions.yaml](https://github.com/airbytehq/airbyte/blob/master/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml) in the codebase. You can provide: - -A list of static hosts - -```yaml -allowedHosts: - hosts: - - "*.hubspot.com" -``` - -A list of dynamic hosts which reference values from the connector's configuration - -```yaml -allowedHosts: - hosts: - - "${subdomain}.vendor.com" -``` - -No network access allowed - -```yaml -allowedHosts: - hosts: [] -``` +You can find the recent documentation [here](./connector-acceptance-tests-reference.md) diff --git a/docs/connector-development/tutorials/adding-incremental-sync.md b/docs/connector-development/tutorials/adding-incremental-sync.md index b46882902e06..88cac8064d2e 100644 --- a/docs/connector-development/tutorials/adding-incremental-sync.md +++ b/docs/connector-development/tutorials/adding-incremental-sync.md @@ -199,7 +199,7 @@ python source.py read --config secrets/valid_config.json --catalog incremental_c ## Run the incremental tests -The [Source Acceptance Test (SAT) suite](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) also includes test cases to ensure that incremental mode is working correctly. +The [Source Acceptance Test (SAT) suite](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) also includes test cases to ensure that incremental mode is working correctly. To enable these tests, modify the existing `acceptance-test-config.yml` by adding the following: @@ -213,7 +213,7 @@ To enable these tests, modify the existing `acceptance-test-config.yml` by addin Your full `acceptance-test-config.yml` should look something like this: ```yaml -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-stock-ticker-api:dev tests: diff --git a/docs/connector-development/tutorials/build-a-connector-the-hard-way.md b/docs/connector-development/tutorials/build-a-connector-the-hard-way.md index 30ede3590ea3..acd9bd61a27b 100644 --- a/docs/connector-development/tutorials/build-a-connector-the-hard-way.md +++ b/docs/connector-development/tutorials/build-a-connector-the-hard-way.md @@ -9,7 +9,7 @@ This tutorial walks you through building a simple Airbyte source without using a * [The Airbyte Specification](../../understanding-airbyte/airbyte-protocol.md) and the interface implemented by a source connector * [The AirbyteCatalog](../../understanding-airbyte/beginners-guide-to-catalog.md) * [Packaging your connector](https://docs.airbyte.io/connector-development#1.-implement-and-package-the-connector) -* [Testing your connector](../testing-connectors/source-acceptance-tests-reference.md) +* [Testing your connector](../testing-connectors/connector-acceptance-tests-reference.md) At the end of this tutorial, you will have a working source that you will be able to use in the Airbyte UI. @@ -976,17 +976,17 @@ $ docker run -v $(pwd)/secrets/valid_config.json:/data/config.json -v $(pwd)/ful {'type': 'RECORD', 'record': {'stream': 'stock_prices', 'data': {'date': '2020-12-21', 'stock_ticker': 'TSLA', 'price': 649.86}, 'emitted_at': 1608628424000}} ``` -and with that, we've packaged our connector in a functioning Docker image. The last requirement before calling this connector finished is to pass the [Airbyte Source Acceptance Test suite](../testing-connectors/source-acceptance-tests-reference.md). +and with that, we've packaged our connector in a functioning Docker image. The last requirement before calling this connector finished is to pass the [Airbyte Connector Acceptance Test suite](../testing-connectors/connector-acceptance-tests-reference.md). ### 4. Test the connector -The minimum requirement for testing your connector is to pass the [Source Acceptance Test (SAT)](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference) suite. SAT is a blackbox test suite containing a number of tests that validate your connector behaves as intended by the Airbyte Specification. You're encouraged to add custom test cases for your connector where it makes sense to do so e.g: to test edge cases that are not covered by the standard suite. But at the very least, you must pass Airbyte's SATs suite. +The minimum requirement for testing your connector is to pass the [Connector Acceptance Test](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) suite. The connector acceptence test is a blackbox test suite containing a number of tests that validate your connector behaves as intended by the Airbyte Specification. You're encouraged to add custom test cases for your connector where it makes sense to do so e.g: to test edge cases that are not covered by the standard suite. But at the very least, you must pass Airbyte's acceptance test suite. The code generator should have already generated a YAML file which configures the test suite. In order to run it, modify the `acceptance-test-config.yaml` file to look like this: ```yaml -# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) # for more information about how to configure these tests connector_image: airbyte/source-stock-ticker-api:dev acceptance_tests: @@ -1033,7 +1033,7 @@ collecting ... test_full_refresh.py ✓ 100% ██████████ ================== short test summary info ================== -SKIPPED [1] source_acceptance_test/plugin.py:56: Skipping TestIncremental.test_two_sequential_reads because not found in the config +SKIPPED [1] connector_acceptance_test/plugin.py:56: Skipping TestIncremental.test_two_sequential_reads because not found in the config Results (8.91s): 20 passed diff --git a/docs/connector-development/tutorials/building-a-python-source.md b/docs/connector-development/tutorials/building-a-python-source.md index 2a8284bcf9cf..e592a90cf474 100644 --- a/docs/connector-development/tutorials/building-a-python-source.md +++ b/docs/connector-development/tutorials/building-a-python-source.md @@ -199,7 +199,7 @@ As described in the template code, this method takes in the same config object a ### Step 8: Set up Standard Tests -The Standard Tests are a set of tests that run against all sources. These tests are run in the Airbyte CI to prevent regressions. They also can help you sanity check that your source works as expected. The following [article](../testing-connectors/source-acceptance-tests-reference.md) explains Standard Tests and how to run them. +The Standard Tests are a set of tests that run against all sources. These tests are run in the Airbyte CI to prevent regressions. They also can help you sanity check that your source works as expected. The following [article](../testing-connectors/connector-acceptance-tests-reference.md) explains Standard Tests and how to run them. You can run the tests using `./gradlew :airbyte-integrations:connectors:source-:integrationTest`. Make sure to run this command from the Airbyte repository root. diff --git a/docs/contributing-to-airbyte/README.md b/docs/contributing-to-airbyte/README.md index 330ae5addfc8..d715046af9aa 100644 --- a/docs/contributing-to-airbyte/README.md +++ b/docs/contributing-to-airbyte/README.md @@ -68,7 +68,7 @@ The CDK currently does not support creating destinations, but it will very soon. * See [Building new connectors](../connector-development/) to get started. * Since we frequently build connectors in Python, on top of Singer or in Java, we've created generator libraries to get you started quickly: [Build Python Source Connectors](../connector-development/tutorials/building-a-python-source.md) and [Build Java Destination Connectors](../connector-development/tutorials/building-a-java-destination.md) -* Integration tests \(tests that run a connector's image against an external resource\) can be run one of three ways, as detailed [here](../connector-development/testing-connectors/source-acceptance-tests-reference.md) +* Integration tests \(tests that run a connector's image against an external resource\) can be run one of three ways, as detailed [here](../connector-development/testing-connectors/connector-acceptance-tests-reference.md) **Please note that, at no point in time, we will ask you to maintain your connector.** The goal is that the Airbyte team and the community helps maintain the connector. diff --git a/docs/integrations/sources/airtable.md b/docs/integrations/sources/airtable.md index 0d7d19d8968a..57d44137d667 100644 --- a/docs/integrations/sources/airtable.md +++ b/docs/integrations/sources/airtable.md @@ -103,6 +103,8 @@ See information about rate limits [here](https://airtable.com/developers/web/api | Version | Date | Pull Request | Subject | |:--------|:-----------|:---------------------------------------------------------|:-------------------------------------------------------| +| 2.0.2 | 2023-02-01 | [22245](https://github.com/airbytehq/airbyte/pull/22245) | Fix for empty `result` object when discovering the schema +| 2.0.1 | 2023-02-01 | [22224](https://github.com/airbytehq/airbyte/pull/22224) | Fixed broken `API Key` authentication | 2.0.0 | 2023-01-27 | [21962](https://github.com/airbytehq/airbyte/pull/21962) | Added casting of native Airtable data types to JsonSchema types | 1.0.2 | 2023-01-25 | [20934](https://github.com/airbytehq/airbyte/pull/20934) | Added `OAuth2.0` authentication support | 1.0.1 | 2023-01-10 | [21215](https://github.com/airbytehq/airbyte/pull/21215) | Fix field names | diff --git a/docs/integrations/sources/mailchimp.md b/docs/integrations/sources/mailchimp.md index b107f9aa17bc..d93484a8d43a 100644 --- a/docs/integrations/sources/mailchimp.md +++ b/docs/integrations/sources/mailchimp.md @@ -230,7 +230,8 @@ Now that you have set up the Mailchimp source connector, check out the following | Version | Date | Pull Request | Subject | |---------|------------|----------------------------------------------------------|----------------------------------------------------------------------------| -| 0.3.2 | 2023-01-27 | [22014](https://github.com/airbytehq/airbyte/pull/22014) | Set `AvailabilityStrategy` for streams explicitly to `None` | +| 0.3.3 | 2023-02-01 | [22228](https://github.com/airbytehq/airbyte/pull/22228) | Add extra logging | +| 0.3.2 | 2023-01-27 | [22014](https://github.com/airbytehq/airbyte/pull/22014) | Set `AvailabilityStrategy` for streams explicitly to `None` | | 0.3.1 | 2022-12-20 | [20720](https://github.com/airbytehq/airbyte/pull/20720) | Use stream slices as a source for request params instead of a stream state | | 0.3.0 | 2022-11-07 | [19023](https://github.com/airbytehq/airbyte/pull/19023) | Set primary key for Email Activity stream. | | 0.2.15 | 2022-09-28 | [17326](https://github.com/airbytehq/airbyte/pull/17326) | Migrate to per-stream states. | diff --git a/docusaurus/sidebars.js b/docusaurus/sidebars.js index ff2651921021..3586e8f10928 100644 --- a/docusaurus/sidebars.js +++ b/docusaurus/sidebars.js @@ -301,7 +301,7 @@ module.exports = { 'connector-development/cdk-faros-js', 'connector-development/airbyte101', 'connector-development/testing-connectors/README', - 'connector-development/testing-connectors/source-acceptance-tests-reference', + 'connector-development/testing-connectors/connector-acceptance-tests-reference', 'connector-development/connector-specification-reference', 'connector-development/best-practices', 'connector-development/ux-handbook', diff --git a/settings.gradle b/settings.gradle index ebab85551230..9f0a9af66ea2 100644 --- a/settings.gradle +++ b/settings.gradle @@ -130,7 +130,7 @@ if (!System.getenv().containsKey("SUB_BUILD") || System.getenv().get("SUB_BUILD" include ':airbyte-integrations:bases:base-java-s3' include ':airbyte-integrations:bases:base-normalization' include ':airbyte-integrations:bases:base-standard-source-test-file' - include ':airbyte-integrations:bases:source-acceptance-test' + include ':airbyte-integrations:bases:connector-acceptance-test' include ':airbyte-integrations:bases:standard-destination-test' include ':airbyte-integrations:bases:s3-destination-base-integration-test' include ':airbyte-integrations:bases:standard-source-test' diff --git a/tools/bin/build_report.py b/tools/bin/build_report.py index 85f4fa5b01f4..f0f18142795c 100644 --- a/tools/bin/build_report.py +++ b/tools/bin/build_report.py @@ -3,8 +3,13 @@ # """ +Report Connector Build Status to Slack + All invocations of this script must be run from the Airbyte repository root. +BEFORE RUNNING THIS SCRIPT: +- Ensure you have read the documentation on how this system works: https://internal-docs.airbyte.io/Generated-Reports/Build-Status-Reports + To Run tests: pytest ./tools/bin/build_report.py @@ -29,7 +34,7 @@ SOURCE_DEFINITIONS_YAML = f"{CONNECTOR_DEFINITIONS_DIR}/source_definitions.yaml" DESTINATION_DEFINITIONS_YAML = f"{CONNECTOR_DEFINITIONS_DIR}/destination_definitions.yaml" CONNECTORS_ROOT_PATH = "./airbyte-integrations/connectors" -RELEVANT_BASE_MODULES = ["base-normalization", "source-acceptance-test"] +RELEVANT_BASE_MODULES = ["base-normalization", "connector-acceptance-test"] CONNECTOR_BUILD_OUTPUT_URL = "https://dnsgjos7lj2fu.cloudfront.net/tests/summary/connectors" # Global vars diff --git a/tools/bin/ci_check_dependency.py b/tools/bin/ci_check_dependency.py index a57ae036d382..ba7d0b7684f3 100644 --- a/tools/bin/ci_check_dependency.py +++ b/tools/bin/ci_check_dependency.py @@ -46,7 +46,7 @@ def main(): # Get changed files changed_files = get_changed_files(git_diff_file_path) - # Get changed modules. e.g. source-acceptance-test from airbyte-integrations/bases/ + # Get changed modules. e.g. connector-acceptance-test from airbyte-integrations/bases/ # or destination-mysql from airbyte-integrations/connectors/ changed_modules = get_changed_modules(changed_files) diff --git a/tools/bin/ci_integration_test.sh b/tools/bin/ci_integration_test.sh index 8fb208fdf83a..f44f80e32e14 100755 --- a/tools/bin/ci_integration_test.sh +++ b/tools/bin/ci_integration_test.sh @@ -20,9 +20,9 @@ else # avoid schema conflicts when multiple tests for normalization are run concurrently export RANDOM_TEST_SCHEMA="true" ./gradlew --no-daemon --scan airbyteDocker - elif [[ "$connector" == *"source-acceptance-test"* ]]; then + elif [[ "$connector" == *"connector-acceptance-test"* ]]; then connector_name=$(echo $connector | cut -d / -f 2) - selected_integration_test="source-acceptance-test" + selected_integration_test="connector-acceptance-test" integrationTestCommand="$(_to_gradle_path "airbyte-integrations/bases/$connector_name" integrationTest)" export SUB_BUILD="CONNECTORS_BASE" elif [[ "$connector" == *"bases"* ]]; then diff --git a/tools/ci_code_validator/ci_changes_detection/main.py b/tools/ci_code_validator/ci_changes_detection/main.py index af949f95511d..0724080bb396 100644 --- a/tools/ci_code_validator/ci_changes_detection/main.py +++ b/tools/ci_code_validator/ci_changes_detection/main.py @@ -14,7 +14,7 @@ AVAILABLE_SCAN_FOLDERS = ( "airbyte-integrations/connectors", "airbyte-cdk/python", - "airbyte-integrations/bases/source-acceptance-test", + "airbyte-integrations/bases/connector-acceptance-test", ) diff --git a/tools/ci_connector_ops/ci_connector_ops/sat_config_checks.py b/tools/ci_connector_ops/ci_connector_ops/acceptance_test_config_checks.py similarity index 94% rename from tools/ci_connector_ops/ci_connector_ops/sat_config_checks.py rename to tools/ci_connector_ops/ci_connector_ops/acceptance_test_config_checks.py index 901a3a8f378e..7e5a0ceb2cb8 100644 --- a/tools/ci_connector_ops/ci_connector_ops/sat_config_checks.py +++ b/tools/ci_connector_ops/ci_connector_ops/acceptance_test_config_checks.py @@ -16,7 +16,7 @@ REVIEW_REQUIREMENTS_FILE_PATH = ".github/connector_org_review_requirements.yaml" def find_connectors_with_bad_strictness_level() -> List[utils.Connector]: - """Check if changed connectors have the expected SAT test strictness level according to their release stage. + """Check if changed connectors have the expected connector acceptance test strictness level according to their release stage. 1. Identify changed connectors 2. Retrieve their release stage from the catalog 3. Parse their acceptance test config file @@ -64,7 +64,7 @@ def check_test_strictness_level(): connectors_with_bad_strictness_level = find_connectors_with_bad_strictness_level() if connectors_with_bad_strictness_level: logging.error( - f"The following GA connectors must enable high test strictness level: {connectors_with_bad_strictness_level}. Please check this documentation for details: https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference/#strictness-level" + f"The following GA connectors must enable high test strictness level: {connectors_with_bad_strictness_level}. Please check this documentation for details: https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference/#strictness-level" ) sys.exit(1) else: diff --git a/tools/ci_connector_ops/ci_connector_ops/qa_engine/inputs.py b/tools/ci_connector_ops/ci_connector_ops/qa_engine/inputs.py index 80e6dda30702..f172b0848c3b 100644 --- a/tools/ci_connector_ops/ci_connector_ops/qa_engine/inputs.py +++ b/tools/ci_connector_ops/ci_connector_ops/qa_engine/inputs.py @@ -33,6 +33,10 @@ def from_string(cls, string_value: Optional[str]) -> "BUILD_STATUSES": def get_connector_build_output_url(connector_technical_name: str, connector_version: str) -> str: + """ + Get the connector build output url. + Documentation of the larger build output system can be found here: https://internal-docs.airbyte.io/Generated-Reports/Build-Status-Reports + """ return f"{CONNECTOR_BUILD_OUTPUT_URL}/{connector_technical_name}/version-{connector_version}.json" def fetch_latest_build_status_for_connector_version(connector_technical_name: str, connector_version: str) ->BUILD_STATUSES: diff --git a/tools/ci_connector_ops/setup.py b/tools/ci_connector_ops/setup.py index 0383058ffae1..f45e77387214 100644 --- a/tools/ci_connector_ops/setup.py +++ b/tools/ci_connector_ops/setup.py @@ -35,9 +35,9 @@ package_data={"ci_connector_ops.qa_engine": ["connector_adoption.sql"]}, entry_points={ "console_scripts": [ - "check-test-strictness-level = ci_connector_ops.sat_config_checks:check_test_strictness_level", - "write-review-requirements-file = ci_connector_ops.sat_config_checks:write_review_requirements_file", - "print-mandatory-reviewers = ci_connector_ops.sat_config_checks:print_mandatory_reviewers", + "check-test-strictness-level = ci_connector_ops.acceptance_test_config_checks:check_test_strictness_level", + "write-review-requirements-file = ci_connector_ops.acceptance_test_config_checks:write_review_requirements_file", + "print-mandatory-reviewers = ci_connector_ops.acceptance_test_config_checks:print_mandatory_reviewers", "allowed-hosts-checks = ci_connector_ops.allowed_hosts_checks:check_allowed_hosts", "run-qa-engine = ci_connector_ops.qa_engine.main:main", "run-qa-checks = ci_connector_ops.qa_checks:run_qa_checks" diff --git a/tools/ci_connector_ops/tests/test_sat_config_checks.py b/tools/ci_connector_ops/tests/test_acceptance_test_config_checks.py similarity index 85% rename from tools/ci_connector_ops/tests/test_sat_config_checks.py rename to tools/ci_connector_ops/tests/test_acceptance_test_config_checks.py index adcb096efa1c..b895581b2af1 100644 --- a/tools/ci_connector_ops/tests/test_sat_config_checks.py +++ b/tools/ci_connector_ops/tests/test_acceptance_test_config_checks.py @@ -8,12 +8,12 @@ import pytest -from ci_connector_ops import sat_config_checks, utils +from ci_connector_ops import acceptance_test_config_checks, utils @pytest.fixture def mock_diffed_branched(mocker): - mocker.patch.object(sat_config_checks.utils, "DIFFED_BRANCH", utils.AIRBYTE_REPO.active_branch) + mocker.patch.object(acceptance_test_config_checks.utils, "DIFFED_BRANCH", utils.AIRBYTE_REPO.active_branch) return utils.AIRBYTE_REPO.active_branch @pytest.fixture @@ -26,7 +26,7 @@ def ga_connector_file(): @pytest.fixture def not_ga_backward_compatibility_change_expected_team(tmp_path, pokeapi_acceptance_test_config_path) -> List: - expected_teams = [{"any-of": list(sat_config_checks.BACKWARD_COMPATIBILITY_REVIEWERS)}] + expected_teams = [{"any-of": list(acceptance_test_config_checks.BACKWARD_COMPATIBILITY_REVIEWERS)}] backup_path = tmp_path / "backup_poke_acceptance" shutil.copyfile(pokeapi_acceptance_test_config_path, backup_path) with open(pokeapi_acceptance_test_config_path, "a") as acceptance_test_config_file: @@ -36,7 +36,7 @@ def not_ga_backward_compatibility_change_expected_team(tmp_path, pokeapi_accepta @pytest.fixture def not_ga_test_strictness_level_change_expected_team(tmp_path, pokeapi_acceptance_test_config_path) -> List: - expected_teams = [{"any-of": list(sat_config_checks.TEST_STRICTNESS_LEVEL_REVIEWERS)}] + expected_teams = [{"any-of": list(acceptance_test_config_checks.TEST_STRICTNESS_LEVEL_REVIEWERS)}] backup_path = tmp_path / "non_ga_acceptance_test_config.backup" shutil.copyfile(pokeapi_acceptance_test_config_path, backup_path) with open(pokeapi_acceptance_test_config_path, "a") as acceptance_test_config_file: @@ -57,7 +57,7 @@ def not_ga_not_tracked_change_expected_team(tmp_path, pokeapi_acceptance_test_co @pytest.fixture def ga_connector_file_change_expected_team(tmp_path, ga_connector_file): - expected_teams = list(sat_config_checks.GA_CONNECTOR_REVIEWERS) + expected_teams = list(acceptance_test_config_checks.GA_CONNECTOR_REVIEWERS) backup_path = tmp_path / "ga_acceptance_test_config.backup" shutil.copyfile(ga_connector_file, backup_path) with open(ga_connector_file, "a") as ga_acceptance_test_config_file: @@ -67,7 +67,7 @@ def ga_connector_file_change_expected_team(tmp_path, ga_connector_file): @pytest.fixture def ga_connector_backward_compatibility_file_change(tmp_path, ga_connector_file): - expected_teams = [{"any-of": list(sat_config_checks.BACKWARD_COMPATIBILITY_REVIEWERS)}] + expected_teams = [{"any-of": list(acceptance_test_config_checks.BACKWARD_COMPATIBILITY_REVIEWERS)}] backup_path = tmp_path / "ga_acceptance_test_config.backup" shutil.copyfile(ga_connector_file, backup_path) with open(ga_connector_file, "a") as ga_acceptance_test_config_file: @@ -77,7 +77,7 @@ def ga_connector_backward_compatibility_file_change(tmp_path, ga_connector_file) @pytest.fixture def ga_connector_test_strictness_level_file_change(tmp_path, ga_connector_file): - expected_teams = [{"any-of": list(sat_config_checks.TEST_STRICTNESS_LEVEL_REVIEWERS)}] + expected_teams = [{"any-of": list(acceptance_test_config_checks.TEST_STRICTNESS_LEVEL_REVIEWERS)}] backup_path = tmp_path / "ga_acceptance_test_config.backup" shutil.copyfile(ga_connector_file, backup_path) with open(ga_connector_file, "a") as ga_acceptance_test_config_file: @@ -86,10 +86,10 @@ def ga_connector_test_strictness_level_file_change(tmp_path, ga_connector_file): shutil.copyfile(backup_path, ga_connector_file) def check_review_requirements_file_contains_expected_teams(capsys, expected_teams: List): - sat_config_checks.write_review_requirements_file() + acceptance_test_config_checks.write_review_requirements_file() captured = capsys.readouterr() assert captured.out.split("\n")[0].split("=")[-1] == "true" - requirements_file_path = sat_config_checks.REVIEW_REQUIREMENTS_FILE_PATH + requirements_file_path = acceptance_test_config_checks.REVIEW_REQUIREMENTS_FILE_PATH with open(requirements_file_path, "r") as requirements_file: requirements = yaml.safe_load(requirements_file) assert requirements[0]["teams"] == expected_teams @@ -112,6 +112,6 @@ def test_find_mandatory_reviewers_ga_test_strictness_level(mock_diffed_branched, check_review_requirements_file_contains_expected_teams(capsys, ga_connector_test_strictness_level_file_change) def test_find_mandatory_reviewers_no_tracked_changed(mock_diffed_branched, capsys, not_ga_not_tracked_change_expected_team): - sat_config_checks.write_review_requirements_file() + acceptance_test_config_checks.write_review_requirements_file() captured = capsys.readouterr() assert captured.out.split("\n")[0].split("=")[-1] == "false" diff --git a/tools/status/report.sh b/tools/status/report.sh index 35ce16e8dc67..b14f1194038e 100755 --- a/tools/status/report.sh +++ b/tools/status/report.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# This script is used to report the status of a connector build to S3. +# BEFORE RUNNING THIS SCRIPT: +# - Ensure you have read the documentation on how this system works: https://internal-docs.airbyte.io/Generated-Reports/Build-Status-Reports + set -e . tools/lib/lib.sh