Base path of text fixture
I am extending BasePlatformTest and using myFixture to copy directory from testdata directory to project.
the structure is src/test/resources/testdata/my_test/ci/build.yml, and the files get copied to the directory with the temp dir set to temp:///ci/build.yml. Now when I use project.getBasePath(), I expect it to return the same directory where it was copied but it returns some directory /private/var/folders/…. How to return the directory where the directories were copied to project.getBasePath? Or is there another approach to achieve it?
请先登录再写评论。