What is the recommended way to access file inside test/resource folder from karate features file inside test/java/karate

45 Views Asked by At

According to the documentation, classpath is app/test/java. So how to access the json files inside resources folder in spring-boot.

1

There are 1 best solutions below

0
Nagulan S On

As mentioned by @Deinum, classpath can access folders in both

src/test/java

src/test/resources