web stats
Automated unit testing of channels - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2012, 08:27 AM
maltmann maltmann is offline
Mirth Newb
 
Join Date: Apr 2012
Posts: 6
maltmann is on a distinguished road
Default Automated unit testing of channels

We are new to Mirth and trying to understand best practices around software development. What strategies do people use for testing the channel definitions and transformation code that they develop?

Currently we use maven and Jenkins/Hudson to perform automated builds and tests of our java source. As we start defining Mirth channels and the logic for transformations, I would like to have some automated junit tests that verify that the transforms and channels behave as intended. Are there good ways to launch Mirth as part of a unit test, feed it a channel definition, and then some input and verify the output?

Thanks, Michael
Reply With Quote
  #2  
Old 04-30-2012, 06:39 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
 
Join Date: Oct 2010
Posts: 4,226
narupley is on a distinguished road
Default

Generally the way people do it is to have one or more completely separate testing environments, each with their own instance of Mirth Connect. Before rolling a channel out in production, we generally do extensive testing on the Test environment, where we can receive pre-live data from clients, send pre-live data to clients, or anything else we need to do.
Reply With Quote
Reply

Tags
channels, junit, testing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Mirth Corporation