You can try looking for existing unit tests that look up the classpath to see where the resource might need to be.
You probably want it here: <module>/src/test/resources/ For e.g., a lot of java-exec module's test files are here : drill/exec/java-exec/src/test/resources https://github.com/apache/drill/tree/master/exec/java-exec/src/test/resources On 9/25/2018 2:00:15 PM, Jean-Claude Cote <jcc...@gmail.com> wrote: I have writing a msgpack storage plugin from drill. https://github.com/jcmcote/drill/tree/master/contrib/storage-msgpack I'm now trying to write test cases like testBuilder() .sqlQuery("select * from cp.`msgpack/testBasic.mp`") .ordered() .baselineColumns("a").baselineValues("1").baselineValues("1") .baselineColumns("b").baselineValues("2").baselineValues("2") .build().run(); However when I run the test case it says it cannot find the msgpack/testBasic.mp file. However it is in my src/test/resources folder. Should this work? I'm I going at it the right way? Thanks jc