certification-tool
certification-tool copied to clipboard
[Bug] `projects/{id}/applicable_test_cases` endpoint is not considering test cases that have negated PICS values (like `!PICS.A.X`)
Describe the bug
YAML test cases TC-BIND-2.1 and TC-DD-3.1 both have top-level PICS with negated values. If you add PICS files that meet these tests' requirements, TH is not selecting them because it doesn't interpret these negated PICS values correctly.
Steps to reproduce the behavior
-
Create a new project in TH.
-
Add PICS files with values:
For TC-BIND-2.1:
-
BIND.C:true -
MCORE.ROLE.CONTROLLER:true -
MCORE.DT_SW_COMP:falseFor TC-DD-3.1: -
MCORE.ROLE.COMMISSIONEE:true -
MCORE.DD.NON_CONCURRENT_CONNECTION:false
- Create a new test run.
- Verify if
TC-BIND-2.1andTC-DD-3.1have been selected by TH.
Expected behavior
Expected TC-BIND-2.1 and TC-DD-3.1 to be selected.
Log files
- Output for
/api/v1/projects/{id}/applicable_test_casesendpoint: endpoint_output.json
PICS file
PICS_Applicable_test_cases.zip
Screenshots
Environment
No response
Additional Information
No response