无法在基于需求的测试套件中订购测试用例 - 测试管理器 2010
在 Test Manager 2010 中,我似乎无法在基于需求的测试套件中订购测试用例(在正常测试套件中订购测试用例效果很好) 请任何人解释一下为什么他们禁止我这样做,或者建议一种解决方法 多谢
In Test Manager 2010 It seems that I can't order test cases in a Requirement based Test Suite (ordering a test cases in normal test suite works fine)
Please anyone explain me why they forbid me to do that, or suggest a way to work around
Thanks a lot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如何排序/重新组织测试用例的顺序?
Ordnen von Testcases / Testfällen
ändern der Reihenfolge von Testcases / Testfällen
解决方法
http://msdn.microsoft.com/de-de/library/dd997699.aspx
How to order / reorganize order of testcases?
Ordnen von Testcases / Testfällen
Ändern der Reihenfolge von Testcases / Testfällen
Workaround
http://msdn.microsoft.com/de-de/library/dd997699.aspx
我自己刚刚遇到了这个。事实证明,基于需求的测试套件是基于查询的套件的特例,也无法订购。与需求/用户故事相关的所有测试用例将显示在相应的测试套件中。
至于默认排序顺序(显然是测试用例的工作项 ID)的解决方法,我找不到任何解决方法。但是,您可以使用常规查询来近似基于需求的查询,然后使用基于查询的套件的排序顺序功能。这样做有两个问题:(1) 与测试用例关联的需求在查询编辑器中不可用,因此您必须使用其他一些条件; (2) 您仍然没有像使用非查询测试套件那样的临时测试用例排序控制。
我没有找到任何有关在即将发布的版本或任何第三方工具中向基于需求的测试套件添加任何排序功能的信息。可能是需要考虑创建的东西。
参考文献:
Just ran into this myself. It turns out that requirement-based test suites are a special case of a query-based suite, which also cannot be ordered. All test cases linked to a requirement / user story will show in the corresponding test suite.
As for work-arounds to the default sort order (apparently, the test case's work item ID), I couldn't find any. However, you could approximate the requirement-based query with a regular query, and then use the query-based suite's sort order capability. There are two problems with this: (1) the requirements that a test case is associated with are not available in the query editor, so you'd have to use some other criteria; and (2) you still don't have ad-hoc test case ordering control like you would with a non-query test suite.
I didn't find anything about adding any ordering capability to requirement-based test suites in an upcoming version, or in any third-party tool. Might be something to look into creating.
refs: