@Test
public void testUsingKarateBase() throws Exception {

    String relativePath = "classpath:demo/jar1/caller.feature";
    ClassLoader cl = getJarClassLoader();
    Path path = FileUtils.fromRelativeClassPath(relativePath, cl);
    Resource resource = new Resource(path, relativePath, -1);
    Feature feature = FeatureParser.parse(resource);
    try {
        Map<String, Object> map = Runner.runFeature(feature, null, true);
        fail("we should not have reached here");
    } catch (Exception e) {
        assertTrue(e instanceof KarateException);
    }
}