context.filePath


创建当前测试的测试文件的绝对路径。如果测试文件导入了生成测试的其他模块,则导入的测试将返回根测试文件的路径。

¥The absolute path of the test file that created the current test. If a test file imports additional modules that generate tests, the imported tests will return the path of the root test file.