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?

Tags (2)
2 REPLIES
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.