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

Implement all_fields test using new framework-tdl-7499 #159

Merged
merged 32 commits into from
Oct 9, 2023
Merged
Changes from 5 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2f55a8e
Implement all_fields test using new framework-tdl-7499
bhuvana-talend Jun 8, 2023
c2366e5
Added couple of methods for table_reset test
bhuvana-talend Jun 13, 2023
86bed57
Merge branch 'master' into tdl-7499
bhuvana-talend Jun 16, 2023
be7de62
Removed the conflicts
bhuvana-talend Jul 17, 2023
f73479c
Merge branch 'master' into tdl-7499
bhuvana-talend Jul 17, 2023
410d972
Added comments for future work
bhuvana-talend Jul 21, 2023
8d48a2d
added comments
bhuvana-talend Jul 21, 2023
b576c02
Test if custom fields are replicated fine
bhuvana-talend Jul 25, 2023
e6ed1a0
Test if non custom fields are replicated fine
bhuvana-talend Jul 25, 2023
3b928f8
Added custom_fields and non_custom_fields and method to select stream…
bhuvana-talend Jul 26, 2023
8370c1d
Renamed the testfiles for custom and non-custom fields tests
bhuvana-talend Jul 26, 2023
683f332
Added comments for the todo tests
bhuvana-talend Jul 26, 2023
33ca793
Renamed to different filename
bhuvana-talend Jul 26, 2023
5e1bf83
Removed as custom and non-custom fields are split to separate testfiles
bhuvana-talend Jul 26, 2023
ab06d29
Added comment for future work for custom and non-custom fields
bhuvana-talend Aug 7, 2023
a5481e3
override test_all_fields_for_streams_are_replicated to exclude automa…
bhuvana-talend Aug 7, 2023
409f816
Use automatic fields instead of hardcoding
bhuvana-talend Aug 7, 2023
34c2458
Implemented PR Review changes to remove the overriden method and add …
bhuvana-talend Aug 17, 2023
9776995
New method to count custom and non-custom fields from replicated fields
bhuvana-talend Aug 29, 2023
23a0816
Get the count of custom and non-custom fields and assert
bhuvana-talend Aug 29, 2023
ab4f841
Merge branch 'master' into tdl-7499
bhtowles Sep 6, 2023
8e6b8d4
Removed blank spaces around paranthesis
bhuvana-talend Sep 7, 2023
89f629a
Merge branch 'tdl-7499' of github.com:singer-io/tap-salesforce into t…
bhuvana-talend Sep 7, 2023
390660b
Merge branch 'master' into tdl-7499
JYOTHINARAYANSETTY Sep 12, 2023
cac3542
Changed the assertions
bhuvana-talend Sep 15, 2023
9815beb
Merge branch 'tdl-7499' of github.com:singer-io/tap-salesforce into t…
bhuvana-talend Sep 15, 2023
8d4caad
fixed assertions
bhuvana-talend Sep 15, 2023
724f1d5
tdl-23781,23563,23654
JYOTHINARAYANSETTY Oct 3, 2023
ae0f9a9
Add new tests
JYOTHINARAYANSETTY Oct 3, 2023
0c5127b
resolving merge conflicts
JYOTHINARAYANSETTY Oct 3, 2023
b662005
review changes
JYOTHINARAYANSETTY Oct 4, 2023
4a903b0
move streams_to test method to base class
JYOTHINARAYANSETTY Oct 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions tests/test_salesforce_all_fields.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
"""
bhtowles marked this conversation as resolved.
Show resolved Hide resolved
Test that with no fields selected for a stream automatic fields and custom fields are still replicated
"""

from tap_tester.base_suite_tests.all_fields_test import AllFieldsTest
from sfbase import SFBaseTest


class SFAllFieldsTest(AllFieldsTest, SFBaseTest):
"""Test that with no fields selected for a stream automatic fields and custom fields are still replicated"""

salesforce_api = 'BULK'
bhtowles marked this conversation as resolved.
Show resolved Hide resolved

@staticmethod
def name():
return "tt_sf_all_fields_test"

def streams_to_test(self):
streams = {'Account', 'Contact'}
bhtowles marked this conversation as resolved.
Show resolved Hide resolved
return streams