Write unit test for custom pipeline

Hi all,

I have a custom receive pipeline that including two components in the Decoder stage: ArchiveMessageToDatabase (have ConnectionString pipeline property), DecodeXlsMessage  (have BatchSize pipeline property). I'm trying to create unit testing for above custom pipeline but do not know how to set value for pipeline property. Can anyone give your advice pls.

Thanks.

September 2nd, 2015 10:23pm

Hi Daniel,

You can define value in properties of custom pipeline then perform testing. For test the pipeline component please refer below links;

Testing Pipeline Components

Using the Unit Testing Feature with Pipelines

Unit testing of a pipeline

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 12:29am

Hi Daniel,

MSDN:

Using the Unit Testing Feature with Pipelines

Here you update the pipeline property fields in pipeline designer itself and test pipeline.

Other Sources:

Please have a look at the below samples, there are some library for unit test.

BizTalk 2006 library for unit-testing pipelines and custom pipeline components

BizTalkComponents.Utils is a library of helper methods intended to reduce the amount of code needed to develop custom pipeline components.

Hope it helps you.

Thanks, SMSVikasK

September 3rd, 2015 3:30am

Hi Daniel,

MSDN:

Using the Unit Testing Feature with Pipelines

Here you update the pipeline property fields in pipeline designer itself and test pipeline.

Other Sources:

Please have a look at the below samples, there are some library for unit test.

BizTalk 2006 library for unit-testing pipelines and custom pipeline components

BizTalkComponents.Utils is a library of helper methods intended to reduce the amount of code needed to develop custom pipeline components.

Hope it helps you.

Thanks, SMSVikasK

  • Proposed as answer by BTSAAkhil 14 hours 9 minutes ago
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 7:27am

Hi Daniel,

MSDN:

Using the Unit Testing Feature with Pipelines

Here you update the pipeline property fields in pipeline designer itself and test pipeline.

Other Sources:

Please have a look at the below samples, there are some library for unit test.

BizTalk 2006 library for unit-testing pipelines and custom pipeline components

BizTalkComponents.Utils is a library of helper methods intended to reduce the amount of code needed to develop custom pipeline components.

Hope it helps you.

Thanks, SMSVikasK

  • Proposed as answer by BTSAAkhil Friday, September 04, 2015 4:59 PM
September 3rd, 2015 7:27am

Thank you,

After around through some articles, I use winterdom to write unit test for write unit test.

refer this link http://winterdom.com/2007/08/pipelinetesting11released

Free Windows Admin Tool Kit Click here and download it now
September 8th, 2015 7:02am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics