CosminO
CosminO

Reputation: 5226

CORBA test automation

Assuming there is a big application built using C++ & others and CORBA as a way of interacting with it, is there any viable way of simulating user interaction, with the goal of running ANY kind of automated testing (the automation is less of an issue)? The preferred approach would involve using JAVA, but that is also less of an issue.

Google provides almost nothing on this.

Upvotes: 1

Views: 1043

Answers (2)

Brian Kelly
Brian Kelly

Reputation: 19295

IONA (now owned by Progress) built a product called the Orbix Code Generation Toolkit that does exactly this. It's available in Orbix v3 through v6.

It walks your IDL documents and produces client (or even server) code to completely exercise and call each method available with random but valid values for each parameter, printing them out each time.

You'll need to get Orbix to use it, but maybe you can get an eval license for it to try it out by contacting Progress Software. And don't worry, you can generate client code that can run against any CORBA-compatible server, not just Orbix ones.

Upvotes: 2

Darren
Darren

Reputation: 792

I assume that the product offers a CORBA API, and I assume that there is an existing client that interacts with the server using only that API (this is called eating your own dog food). CORBA is designed to be language agnostic, so you can certainly write a Java client to interact with it.

Given those assumptions then you could feasibly test the server using the CORBA interface, but you will not be able to test the client-side code such as buttons and dialogs etc. You could use UI testing franmeworks for that.

Upvotes: 3

Related Questions