You can have a look at this example, this grabs the output for verification:
https://github.com/apache/incubator-flink/blob/master/flink-tests/src/test/java/org/apache/flink/test/broadcastvars/BroadcastVarInitializationITCase.java On Wed, Nov 5, 2014 at 2:13 PM, Viktor Rosenfeld < [email protected]> wrote: > Hi Stephan, > > > Stephan Ewen wrote > > Why don't you simply run this program and verify that the result is 6? > > You mean verify by hand? I want to automate that. > > > > You can use the "LocalCollectionOutputFormat" to collect the results (in > > your case the one value) and compare it. > > Thanks, that's what I was looking for! > > Best, > Viktor > > > > -- > View this message in context: > http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/Unit-testing-Flink-programs-DataSet-operations-tp2371p2374.html > Sent from the Apache Flink (Incubator) Mailing List archive. mailing list > archive at Nabble.com. >
