Mapping from Maven standard directory to Bazel for test resources
问题 We have test dependency files in src/test/resources per the Maven Standard Directory Layout. These test files end up in the JAR and on the classpath when test classes fetch them via, e.g. Resources#asCharSource. What is the preferred way in Bazel to depend to test files and have them appear in the classpath? I have the following in my src/test/resources/BUILD : filegroup( name = "test-deps", testonly = 1, srcs = glob(["*.txt"]), visibility = ["//visibility:public"], ) And the following in my