Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007877TestLinkDatabase Generalpublic2017-03-13 11:252017-03-17 11:21
Assigned Tofman 
StatusresolvedResolutionwon't fix 
PlatformOSOS Version
Product Version1.9.16 (2016 Q4) 
Fixed in Version 
Summary0007877: tlTestPlanMetrics->getNotRunWOTesterAssigned() returns not expected result
If think I found a bug in getNotRunWOTesterAssigned().
I have a test plan with 523 test cases and 3 builds.

Here is the number of test cases not run by build:
Build 1: 357
Build 2: 172
Build 3: 386
If a test case is run in a build then it is not run in another build.
6 test cases are never run (in any build). One of those test cases has a user assigned for the build 1. The 522 other test cases are unassigned in every build.
If I pass a build set that contains the 3 builds or if I pass no build set to getNotRunWOTesterAssigned(), it returns 5 test cases.
If I pass only one build, it returns 0 test cases (tested for the 3 build)
If I pass a combination of 2 build, it returns 518 test cases.
Here is my code:
$buildIds = Array();
$buildIds[] = 246;
$buildIds[] = 247;
$buildIds[] = 248;
$notAssignedTestCases = $metricsMgr->getNotRunWOTesterAssigned($planId, $buildIds);
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
PHP Version5.4
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
fman (administrator)
2017-03-13 13:36

very detailed steps to recreate scenario are needed, starting from test project creation.
without these info, no action can be done
florant (reporter)
2017-03-17 11:04


I found that bug when calling the method "getNotRunWOTesterAssigned" directly, not when using the TestLink GUI so I don’t have a scenario to reproduce the bug.

To obtain the not run test cases, I called the method "getNotExecutedTestFromAllPlatformBuild".
You can close that bug if you want.

- Issue History
Date Modified Username Field Change
2017-03-13 11:25 florant New Issue
2017-03-13 13:36 fman Note Added: 0026101
2017-03-13 13:36 fman Assigned To => fman
2017-03-13 13:36 fman Status new => feedback
2017-03-17 11:04 florant Note Added: 0026123
2017-03-17 11:04 florant Status feedback => assigned
2017-03-17 11:21 fman QA Team - Task Workflow Status => TBD
2017-03-17 11:21 fman Status assigned => resolved
2017-03-17 11:21 fman Resolution open => won't fix

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker