Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
937 views
in Technique[技术] by (71.8m points)

nunit - Azure Data Factory ADF Unit Testing on feature branch without having to deploy changes to the data factory instance

Is there a way to unit test individual pipelines in Azure Data Factory on a particular branch without having to deploy my changes. Currently the only way I am able to run unit tests on ADF pipelines is by publishing my changes to the data factory instance and kick off a pipeline run. However this approach requires me to merge my changes to the collaboration branch before I am able to execute any pipeline test cases. Ideally I'd like to be able to kick off a pipeline on particular feature branch without having to deploy to the default instance, so that I can validate my test case and make adjustments before merging it with the collaboration branch. Any suggestions people can give or resources they can point to?

question from:https://stackoverflow.com/questions/65918707/azure-data-factory-adf-unit-testing-on-feature-branch-without-having-to-deploy-c

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I think you can try going for Automated Unit Testing for ADF, this will enable you to write a code and the test runs before deployment.

You can check a sample for the same here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...