Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
EH1
Contributor
Contributor

Unit and Integration tests for data integration jobs

Hi everybody,

I want to do unit tests and integration tests for my Talend jobs and I want to do it in the best way possible.

I know that Talend offers the TestCase feature by I'm not sure if I can cover all the codes by using this feature.

Is possible to cover all the code by using TestCase feature? Is JUnit better option?

Is there any framework that I can use to implement the integration tests?

Thank you!

Labels (3)
5 Replies
Anonymous
Not applicable

Hello,

You are able to achieve the continuous integration and deployments in Talend Development

Please take a look at Life Cycles BP Guide about

https://help.talend.com/r/en-US/8.0/software-dev-lifecycle-best-practices-guide/what-is-software-dev...

Feel free to let us know if it is what you are looking for.

Best regards

Sabrina

EH1
Contributor
Contributor
Author

Thank you very much for you answer!

Do you have any suggestions for integration tests?

Anonymous
Not applicable

Hello,

Unit tests are subjective to your job and those are not generated automatically like java coding.

What is your current job and what you want to test in it?

Best regards

Sabrina

EH1
Contributor
Contributor
Author

I am about to create a testing concept for the whole project. There is no specific job.

I able to use "Create TestCase" feature but I wanted to be sure if this is the right approach to do unit tests on Talend or there use any other way better than this.

Thank you again and best regards!

Anonymous
Not applicable

There could be a few approaches for that, a few I could think of:

  • You publish the job, then run it and analyze the logs.
  • You run the build on a server that has access to DEV. You define a dummy job that has a TestCase with a tRunJob. Then you just need to analyze the behavior of this job execution.

 

Hope this helps.

 

Cheers,

Balázs