在我的 Rally 项目中,我有这样的测试文件夹结构:
TestFolderGrandGrandParent1 TestFolderGrandParent1 TestFolderParent1 testcase1, testcase2..... testcase5 TestFolderChild1 testcase10, testcase11..... testcase15 TestFolderChild2 testcase20, testcase21..... testcase25 TestFolderChild3 TestFolderGrandChild1 testcase20, testcase21..... testcase25
如果我只有 2 级关系,例如父级、子级,我已经找到了如何获取测试用例的方法 (see shared link) 。 目前,我正在寻找一种方法来获取整个树,通过了解第一个文件夹,让所有底层文件夹迭代每个文件夹。
最佳答案
不幸的是,没有有效的方法来做到这一点。您必须查询顶级测试文件夹,然后递归遍历树,获取每个级别的子文件夹。
关于java - 如何在 Java 的 Rally Rest 工具包中获取整个 TestFolders 树?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38593740/