CloverETL Java testing framework

Discussion on developing CloverETL engine, transformation components etc.

Posts: 3
Joined: Tue Mar 28, 2017 2:54 pm

CloverETL Java testing framework

Postby ECLogicalGlue » Tue Mar 28, 2017 3:11 pm

Hi Clover community,

I'm trying to write some tests using the Java testing framework, the one bonded to the CloverTestComparator sandbox.

I understand that calling ICloverTestApi#compare method we can check if the executing has passed through the given edge. We can edit the graph to write intermediary values into a database table or another destination and from my Java unit test interrogate the database and check if the generated value is what I'm expecting.

Ideally, what I would like to achieve, is to execute a single node, providing input data and retrieving output data after the execution so I can test the smallest unit possible. Can you confirm the only way for doing it is to change the graph to save intermediary results?

If it's the only way, would it be possible to add a utility graph DownloadFile similar to UploadFile? In this way we could simply write and download csv/json files from the server. Open a connection to a database from a build server or a local development machine is tricky to do because of network restrictions.

Let me know if question is not clear.

Thank you,

Posts: 382
Joined: Wed Aug 15, 2012 8:18 am

Re: CloverETL Java testing framework

Postby imriskal » Fri Apr 07, 2017 7:56 am

Hi Egidio,

Let's continue with this discussion via email. I have already notified my colleagues who should be in touch with the Logical Glue team.
Lubos Imriska
CloverCARE Support
CloverETL | Rapid Data Integration

Visit us online at
How to speed up communication with CloverCARE support