testRigor失败用例过滤器疑问:是否排除禁用用例?能否仅显失败用例?
Answers to testRigor Failed Filter Questions
我经常帮团队解决testRigor的筛选配置问题,针对你这两个疑问,直接给你明确的答案和解决方案:
1. Does the Failed filter include previously failed Disabled test cases?
Yes, currently the Failed filter in testRigor does include test cases that were failed and later marked as Disabled. The system's default behavior groups any test case that has a failed history (even if it's now disabled) under the Failed filter results.
2. Can we make the Failed filter only show Failed cases (exclude Disabled ones)?
Absolutely! There are two reliable ways to achieve this:
- UI-based Custom Filter:
- Open the test case filtering panel in testRigor.
- First select
StatusequalsFailedas your base condition. - Click the "Add Filter" button, then add a second condition:
Statusdoes not equalDisabled. - Apply the filter, and you'll only see test cases that are currently in the Failed state (no Disabled ones included).
- API-based Precise Filtering:
If you're automating test case management, use testRigor's API to fetch test cases with explicit parameters. When calling the test case list endpoint, specifystatus=failedwhile excluding entries wherestatus=disabled—this will return a clean list of only active Failed test cases.
内容的提问来源于stack exchange,提问作者Rastislav Pavlov
相关产品推荐
相关产品推荐

