Not only does can the Leaderboard example[1] finally have unit tests[2], the blog has diagrams to explain all the corner cases being tested. This makes me very happy ;-)
[1] https://github.com/apache/incubator-beam/blob/master/examples/java8/src/main/java/org/apache/beam/examples/complete/game/LeaderBoard.java [2] https://github.com/apache/incubator-beam/blob/master/examples/java8/src/test/java/org/apache/beam/examples/complete/game/LeaderBoardTest.java On Thu, Oct 20, 2016 at 11:30 AM, Thomas Groh <[email protected]> wrote: > Hey everyone, > > I've just published a blog post about the new TestStream primitive, which > lets us write tests for Pipelines that have code that handles out-of-order > or delayed data. It includes some examples of all the ways a Beam pipeline > can produce output, how the model handles late data, and then goes into > detail about the implementation of TestStream. > > Check it out! http://beam.incubator.apache.org/blog/2016/10/20/ > test-stream.html > > Yours, > > Thomas >
