MantisBT - TestLink
View Issue Details
0008544TestLinkTest Execute - Filterspublic2019-01-18 17:332019-01-24 08:10
Karen Elberskirch 
fman 
normalmajorhave not tried
resolvedfixed 
1.9.18 (2018 Q3) 
1.9.19 (2019 Q1) 
N/A
READY FOR TESTING
0008544: Test Execution: Filter Combination result: “not run” on “ALL builds” does not work properly
After applying the above filter there are some test cases displayed which are already run.

Required Behavior
Filter should display only the test cases for which there does not exist any build for which the test case has already been tested.
No tags attached.
Issue History
2019-01-18 17:33fmanNew Issue
2019-01-21 15:18fmanNote Added: 0028457
2019-01-21 20:03fmanNote Added: 0028461
2019-01-21 20:31fmanNote Added: 0028463
2019-01-21 20:31fmanAssigned To => fman
2019-01-21 20:31fmanStatusnew => feedback
2019-01-21 20:32fmanReporterfman => Karen Elberskirch
2019-01-24 07:30Karen ElberskirchNote Added: 0028470
2019-01-24 07:30Karen ElberskirchStatusfeedback => assigned
2019-01-24 08:10fmanQA Team - Task Workflow StatusTBD => READY FOR TESTING
2019-01-24 08:10fmanStatusassigned => resolved
2019-01-24 08:10fmanFixed in Version => 1.9.19 (2019 Q1)
2019-01-24 08:10fmanResolutionopen => fixed

Notes
(0028457)
fman   
2019-01-21 15:18   
Use case provided by Karen

Test plan “Test” with builds “build_1” (active) and “build_2” (inactive) and “build_3” (active).

a) Test cases: “Testcase1”: executed in “build 1”; “Testcase 2”: not executed at all

- Filter result (not run, all builds): “Testcase 1” is displayed, “Testcase 2” is not displayed

- Expected result: Only “Testcase 2” should be displayed

b) Test cases: “Testcase 1”: executed in build 1; “Testcase 2”: executed in builds build_1 and build_3

- Filter result (not run, all builds): “Testcase 1” is displayed, “Testcase 2” is not displayed

- Expected result: None of the testcases should be displayed.
(0028461)
fman   
2019-01-21 20:03   
Another use case
create a test project: OLAF, public and active
create a test suite: TS-100
create 3 test cases: TC-1A,TC-1AB,TC-1C all without steps
create a test plan: TPLAN-A
create 3 builds: 1.0,2.0,3.0
Add all 3 test cases to TPLAN-A
Go to execution
Apply the filter: NOT RUN on ALL BUILDS
Got all 3 test cases
execute TC-1A in one build
Apply the filter: NOT RUN on ALL BUILDS
Got 2 test cases
(0028463)
fman   
2019-01-21 20:31   
please try with
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/4d9475bd04d95d450e2a91a713631d19cd387147 [^]
(0028470)
Karen Elberskirch   
2019-01-24 07:30   
The filter was successfully tested with our data and the code from @20190121.