Hi Hu,
Thank you,I am testing the serviceAPI call in separate unit tests already. Let
me rephrase (serviceAPI should be renamed to serviceLayer, it doesn't
necessarily have to be a restful API with an http endpoint)The question is how,
do we create Fakes for items with difficult constructors
Feel free to open a github issue to track this idea.
For Dataflow, the potential workaround is to filter the logs:
https://cloud.google.com/dataflow/docs/guides/filter-logs
On Fri, May 24, 2024 at 5:01 AM Ferran Fernández Garrido <
ffernandez@gmail.com> wrote:
> Hi!
>
> I am trying to adjust
I am not sure which part you want to test. If the processData part should
be tested, you could refactor the code without use any Beam specific code
and test the processing data logic.
>From your example, it seems that you are calling some APIs, we recently
added a new Web API IO:
https://beam.apac