Data directory for TestCases 关注
I'm writing test cases for my new plugin and I need to access assets stored on disk. How can I find path to the test directory, of my particular plugin?
I noticed this piece of code:
But it points to the final location of sandbox and not to my "local" test directory.
Thanks for help
I realized I can just use relative paths and it works.
String testPath = "tests/data/test01.html";
Is this the correct way?