最佳答案
我在 src/test/resources/中有一个文件 data.xml。
如何在 src/test/scala/中的测试 data.scala中将该文件读入新的 FileReader中?