How to automate the JUnit test written using Talend routines using Jenkins?

Highlighted
Five Stars

How to automate the JUnit test written using Talend routines using Jenkins?

We have a Talend job, in which we have written a routines with our own customized function to verify the functionality using JUnit Assert methods.

 

How we can automate this Talend routine test using Jenkins? somehow we need to fail the build if the Assert is failing.

Talend supports running tests only when we write the component based testing using Create Test by right clicking the component. But our case is something that we don't have component specific testing.

 

Appreciate it for any help on this?

Moderator

Re: How to automate the JUnit test written using Talend routines using Jenkins?

Hello,

Please take a look at this online document about:TalendHelpCenter:Writing and running a Junit test.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: How to automate the JUnit test written using Talend routines using Jenkins?

Hi Sabrina,

 

Thanks for the reply.

 

My question is more specific to how do i automate the test cases which written using Routines via Jenkins build?

 

Currently when we try to build the Talend job using Jenkins build, it is only executing the component specific test cases, not the ones written using Routines.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now