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

e2e add field plugin test scenarios #8

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

muminmmd
Copy link

@@ -0,0 +1,154 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove pom.xml from commit.

Add TestSetuphook, dependent testdata files from resources folder, datacyattributes, pluginParameters and errorMessage files in commit

@@ -0,0 +1,34 @@
@Add_Field
Feature: AddField Plugin - Design time scenarios
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need of this both design time scenarios.. this will get covered in end to end run time flow.

@@ -0,0 +1,56 @@
@Send_Email
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Send Email ???

check all files

And Open and capture logs
And Verify the pipeline status is "Succeeded"
Then Close the pipeline logs
Then Validate OUT record count is equal to IN record count
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add verification to check if new field has been added in target BigQuery table or not.

Same comment for runtime scenario.

Feature: Send Email Alert - Run time scenarios

@BQ_SINK_TEST @FILE_SOURCE_TEST
Scenario: Verify add field functionality using File to BigQuery pipeline is successful
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verify add field plugin functionality by setting field value using File to BigQuery pipeline

Feature: Send Email Alert - Run time scenarios

@BQ_SINK_TEST @FILE_SOURCE_TEST
Scenario: Verify add field functionality using File to BigQuery pipeline is successful
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also Add one more scenario - by setting "Generate UUID as Value" to true

@sawantpritam
Copy link
Owner

Add field plugin is not part of hydrator repo.

Add field repo link -
https://github.com/sawantpritam/add-field

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.

2 participants