Re: [akka-user] Re: DI and Testing Streams

2016-05-10 Thread Richard Rodseth
Not really, but thanks. My biggest challenge is that I have a composite Source derived from multiple Slick 3 Sources. eg. val compositeSource = channelSource.flapMapConcat(ch => intervalSource(ch) ) For the moment I have a mockable trait with methods to construct those sources. On Tue, May 10,

[akka-user] Re: DI and Testing Streams

2016-05-06 Thread Richard Rodseth
I just re-read: http://techblog.realestate.com.au/to-kill-a-mockingtest/ It's hard for me to see how to apply this thinking to a side effect like alsoTo() , used for monitoring in my application. On the input side, to make "pure" a function that creates a flow that's built of multiple sources