Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tibco Unit Testing tools [closed]

Does anyone know what unit testing tools are available when developing Tibco processes?

In the next few months I'll be working on a Tibco project and I'm trying to find any existing unit testing frameworks that might make the job easier to build with a TDD approach.

Thus far, the only one I've been able to locate is called BWUnit. It seems ok but its currently in beta and its commercial software. If possible I'd like to use an open source tool but as long as it is able to do a good job I'd be happy.

So does anyone know of any other unit testing tools for Tibco development?

Also, does anyone have any experience with BWUnit? How useful is/was it?

like image 446
mezoid Avatar asked Apr 14 '10 08:04

mezoid


People also ask

What is Tibco in testing?

Unit testing in TIBCO BusinessWorks™ Container Edition consists of verifying whether individual activities in a process are behaving is expected.

What is Tibco BusinessWorks?

TIBCO ActiveMatrix BusinessWorks™ is an integration product suite for enterprise, web, and mobile applications. The software allows you to create services and integrate applications using a visual, model-driven development environment, and then deploy them in the ActiveMatrix BusinessWorks™ runtime environment.

How do you run a Tibco?

To run an application in TIBCO Business Studio, choose the Run > Run command. (Applications can also be run with the Run > Run Configurations command. This option allows you to manage and launch run configurations.) The Run command opens the Console view where progress messages and errors are displayed.


2 Answers

For BW projects, I cooked my own Unit Test framework based on BW Processes itself. So the automated tests and validations are coded in the TIBCO project itself.

For AMX projects I recommend SOAPUI for automated testing of your services. However, I coded all the unit tests in the underlying language, in my case Java, using JUnit. The Implementation classes under the components reference each other directly in the unit tests, bypassing the AMX code doing the messaging.

like image 183
GankBanger Avatar answered Oct 09 '22 22:10

GankBanger


I've had great success creating a soap interface layer for each of my processes (taking in the same arguments) and leveraging SoapUI to do all the testing driven from a few database tables.

Edit:

What I described is pretty much how BWUnit is working: it creates a web service interface around each of your processes (maybe with a little less manual work, but same concept.)

Test Input (SoapUI) -> Testable Interface (soap/ems/etc) -> Existing process -> Exit Interface -> Assertions (SoapUI)

You could do the testing within tibco itself, with files, RV, JMS, or any input for that matter, except you're writing all the test assertion code yourself rather than using an existing tool that has it all built in. You can then rely on SoapUI to generate all your JUnit reports etc.

If you want to get really fancy, you can add a soapui target to your build script to include the unit tests and/or functional tests for each build once it's deployed.

like image 29
Nathan Avatar answered Oct 09 '22 21:10

Nathan