Automation Testing for ES


(Darshan Shah) #1

Need to create a dummy searchResponse type variable to use it for automated unit testing..

Please suggest if there is something directly available


(Darshan Shah) #2

We use scalaTest for unittesting


(David Turner) #3

SearchResponse has a public constructor, and the handful of its dependencies that I looked at also have public constructors. Can't you just make one directly?