Ask Your Question
0

How do I test code written for Jython Evaluator processor?

asked 2020-04-25 05:58:55 -0500

Jorge Arévalo gravatar image

updated 2020-04-27 10:10:40 -0500

jeff gravatar image

I'm writing a decent amount of code inside Jython Evaluator processors. I'd like to know if there's an integrated TestSuite or any tool that allows me to run some tests on that code before putting it into production pipeline.

Of course, I can write my own tests before including the code into a Jython Evaluator processor, but if I can integrate TDD into my workflow with Streamsets, that would be great.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2020-04-27 10:23:56 -0500

kirti gravatar image

updated 2020-04-27 10:33:22 -0500

Hola Jorge !!

1) We have SDK and STF

1a) SDK For python https://streamsets.com/documentation/sdk/latest/index.html

1b) STF (StreamSets Test Framework): https://streamsets.com/documentation/...

2) With the help of above SDK and STF , we have a collection of tests- very good samples and references: Datacollector Tests

3) Also, I would recommend you to take a look at the following blog: Dima's blog on STF: https://streamsets.com/blog/introduci...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-04-25 05:58:55 -0500

Seen: 37 times

Last updated: Apr 27