microsoft / data-factory-testing-framework

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

fix: switch empty default error #97

Closed yehiaelbehery closed 7 months ago

yehiaelbehery commented 7 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 7 months ago

@microsoft-github-policy-service agree

arjendev commented 7 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 7 months ago

Hello Arjen, thanks for the kind words. Done.