dpcollins-google commented on pull request #14977: URL: https://github.com/apache/beam/pull/14977#issuecomment-858237000
> won't it only work on the JVM-based DirectRunner Sure, but doesn't TestPipeline use that? TestPipeline is the supported option for unit testing, and this is intended to be a utility for that. This is just an abstraction copying the pattern I've used for unit testing in the past. > I'm not sure this is a good idea I've been trying to find a better abstraction for unit testing streaming transforms, which seems not to exist right now? This may not be it, but its the best way I've found to capture state from a pipeline into the driver test process for unit tests when you can't just use PAssert and wait for the pipeline to end (since it never ends) -- 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]
