-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: use new SDK standard tests framework #5
Conversation
c63194e
to
a2827eb
Compare
@MeltanoLabs/engineering any ideas why _JsonValue: TypeAlias = Union[
str,
int,
float,
bool,
list,
dict,
None,
] Maybe that last |
@kgpayne |
target_csv/tests/test_core.py
Outdated
tests = get_standard_target_tests( | ||
TargetCSV, | ||
config=SAMPLE_CONFIG, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kgpayne - can you confirm if this is backwards compatible? What would happen if users bump the SDK without changing this test strategy? Ideally we would not break existing implementations - either we run all new tests, or run some subset - but we definitely would not want all taps and targets to have their tests broken with their next SDK version bump.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided this was easier to just test by reverting the dropped tests:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Legacy tests still pass! 🎉
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Superseded by changes in #49 |
No description provided.