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

Override IO transform for JobTest #98

Open
mkuthan opened this issue Sep 4, 2023 · 1 comment
Open

Override IO transform for JobTest #98

mkuthan opened this issue Sep 4, 2023 · 1 comment
Assignees

Comments

@mkuthan
Copy link
Owner

mkuthan commented Sep 4, 2023

  1. Scio CustomOutput doesn't work because it returns ClosedTap and we need dead letters.
  2. TransformOverride is a hack but how to easily test output?
  3. In general all methods in the infrastructure module should be implemented as single transformation, easy to stub in the job tests.
@mkuthan
Copy link
Owner Author

mkuthan commented Sep 15, 2023

Done by extending Scio API locally but it should be accepted by Scio maintainers, see:
spotify/scio#4995

@mkuthan mkuthan changed the title How to test writeUnboundedToBigQuery within JobTest Override IO transform for JobTest Oct 9, 2023
@mkuthan mkuthan self-assigned this Oct 23, 2023
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

No branches or pull requests

1 participant