NUnit Test for Custom Pipelines

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › NUnit Test for Custom Pipelines › NUnit Test for Custom Pipelines

#12564

[quote:4b69f03814=\”beewil \”]Is there any documentation for testing custom pipelines with nunit.

We have created a custom pipeline using the HL7 accelerater and we would like add some unit testing functionality to the project.

I’m having problems creating the IPipelineContext and the IBaseMessage

Help![/quote:4b69f03814]

well, you could call pipeline.exe (<installlocation>\\SDK\\Utilities\\PipelineTools) to execute your pipeline programmatically. This utility allows you to pass in the document (message) and schema and obtain the resulting message at the end of the pipeline.