web stats
Automated unit testing of channels - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 04-27-2012, 07: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
Old 04-30-2012, 05:39 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 6,971
narupley is on a distinguished road

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

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 -8. The time now is 02:05 PM.

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