@Jacek: Thanks for PR - merged! :) @Johh: I believe that's not desirable to mock Http's outgoing connection but rather it's Flow. I pushed out a branch with tests, with outgoing connection's flow mocked, check it out: https://github.com/theiterators/akka-http-microservice/tree/tests
Ok, I think it's almost activator-quality. However I'm not sure which version - a bit complicated with tests (https://github.com/theiterators/akka-http-microservice/tree/tests) or simplistic without them (https://github.com/theiterators/akka-http-microservice) conveys more educational values. Hints? Best, Łukasz W dniu sobota, 24 stycznia 2015 18:05:42 UTC+1 użytkownik John Ferrolino napisał: > > It would also be interesting if you also had something to share with > testing particularly using akka-http and akka-stream test kits. > > Using your project as a template, I am trying to learn how to mock this : > > val telizeConnection = Http().outgoingConnection(config.getString(" > services.telizeHost"), config.getInt("services.telizePort")) > > Could you lead to some guides to help me on this? > > > TIA, > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
