ibzib commented on pull request #14658:
URL: https://github.com/apache/beam/pull/14658#issuecomment-828015593


   > I did test manually. Is there any instruction/guideline how to add a new 
test for java?
   
   Beam doesn't have any special process, at least for unit tests. We use 
JUnit, which there is tons of documentation for online. Basically you would add 
a new class (like `ExternalWorkerServiceTest.java`) in the corresponding test 
folder: 
https://github.com/apache/beam/tree/master/runners/portability/java/src/test/java/org/apache/beam/runners/portability
   
   You can also look around at what existing tests do for ideas. In this case 
simple tests exercising `startWorker` and `stopWorker` should suffice.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to