Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TDL-19523 Added the missing tap-tester tests #103

Open
wants to merge 2 commits into
base: crest-master
Choose a base branch
from

Conversation

namrata270998
Copy link

@namrata270998 namrata270998 commented Jun 28, 2022

Description of change

Added Missing tap-tester tests for tap-xero:

  • All fields test
    • Verify no unexpected streams are replicated
    • Verify that more than just the automatic fields are replicated for each stream
    • Verify all fields for each stream are replicated
  • Automatic Fields tests
    • Verify that you get some records for each stream
    • Verify that only the automatic fields are sent to the target
    • Verify that all replicated records have unique primary key values
  • Discover mode test
    • Verify that there are catalogs found
    • Verify stream names follow naming convention
    • Verify the catalog is found for a given stream
    • Verify there is only 1 top level breadcrumb in metadata
    • Verify there are no duplicate metadata entries
    • Verify primary key(s) match expectations
    • Verify that primary keys and replication keys are given the inclusion of automatic in metadata
    • Verify that all other fields have inclusion of available metadata
    • Verify that if there is a replication key we are doing INCREMENTAL otherwise FULL
    • Verify the actual replication matches our expected replication method
    • Verify replication key(s) match expectations
  • Pagination test
    • Verify no unexpected streams were replicated
    • Verify that we can paginate with all fields selected
    • Verify by primary keys that data is unique for page
  • Start date test
    • Verify replication key is greater or equal to start_date for sync 1
    • Verify replication key is greater or equal to start_date for sync 2
    • Verify the number of records replicated in sync 1 is greater than the number of records replicated in sync 2
    • Verify the records replicated in sync 2 were also replicated in sync 1
  • For FULL_TABLE:
    • Verify that the 2nd sync with a later start date replicates the same number of records as the 1st sync
    • Verify by primary key the same records are replicated in the 1st and 2nd syncs

Manual QA steps

Risks

Rollback steps

  • revert this branch

@namrata270998 namrata270998 changed the title Addef the missing tap-tester tests TDL-19523 Added the missing tap-tester tests Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant