Re: flink testing

2017-04-24 Thread Fabian Hueske
Another option might be Flink Spector [1]. Cheers, Fabian [1] https://github.com/ottogroup/flink-spector 2017-04-23 20:01 GMT+02:00 Georg Heiler : > Thanks > Konstantin Knauf schrieb am So. 23. Apr. > 2017 um 19:39: > >> + user@flink (somehow I didn't reply to the list) >> >> Hi Georg, >> >> t

Re: flink testing

2017-04-24 Thread Georg Heiler
Thanks Konstantin Knauf schrieb am So. 23. Apr. 2017 um 19:39: > + user@flink (somehow I didn't reply to the list) > > Hi Georg, > > there are two classes "MultipleProgramsTestBase" and > "StreamingMultipeProgramsTestBase", which your integration tests can > extend from. > > This will spin up a l

Re: flink testing

2017-04-23 Thread Konstantin Knauf
+ user@flink (somehow I didn't reply to the list) Hi Georg, there are two classes "MultipleProgramsTestBase" and "StreamingMultipeProgramsTestBase", which your integration tests can extend from. This will spin up a local Flink Mini-Cluster before the test execution and tear it down afterwards.

Re: flink testing

2017-04-23 Thread Maximilian Bode
Hi Georg, Have a look at (Streaming)MultipleProgramsTestBase (https://github.com/apache/flink/blob/master/flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/streaming/util/StreamingMultipleProgramsTestBase.java | https://github.com/apache/flink/blob/master/flink-test-utils-

Re: flink testing

2017-04-23 Thread Georg Heiler
Spark testing base https://github.com/holdenk/spark-testing-base offers some Base classes to use when writing tests with Spark which make it simpler to write unit tests for functions in spark i.e. you do not manually need to instantiate a spark context / flink execution environment for each test ca

Re: flink testing

2017-04-23 Thread Ted Yu
Please give more context by describing what spark-test-base does :-) > On Apr 22, 2017, at 10:57 PM, Georg Heiler wrote: > > Hi, > > is there something like spark-testing-base for flink as well? > > Cheers, > Georg