microsoft / data-factory-testing-framework

A stand-alone test framework that allows to write unit tests for Data Factory pipelines on Microsoft Fabric and Azure Data Factory.
MIT License
68 stars 15 forks source link

fix: switch empty default error #97

Closed yehiaelbehery closed 3 months ago

yehiaelbehery commented 3 months ago

Fixing an exception thrown when loading a pipeline containing a Switch Activity with child Activities in the default case in Data Factory. I used a Switch with an empty default to route to various error cases with Fail Activity with the default case being success.

yehiaelbehery commented 3 months ago

@microsoft-github-policy-service agree

arjendev commented 3 months ago

Hi @yehiaelbehery,

Thank you for your contributions once more, much appreciated and good improvements!

Could you remove the .platform file as it is specific for Fabric only and your tests are now targeting a DataFactory pipeline?

yehiaelbehery commented 3 months ago

Hello Arjen, thanks for the kind words. Done.