test items not in test plans?

Jehoda Refaeli
Jehoda Refaeli Member Posts: 16

Hi,

How do I find all items not associated in one or more testplans?

I can see test results when the test item has been run.

In REST API I can read the testplans, and see all items.

but is there a GUI/filter/REST API to select all test items and see which testplans are using them?

Thanks.

------------------------------
Jehoda Refaeli
Uhnder
Austin TX
------------------------------

Comments

  • [Deleted User]
    [Deleted User] Posts: 103
    edited August 2023

    It would be good to clarify what you mean by "a test plan is using a test item".  In particular, do you want to know whether the test item is in a test group of that test plan, or whether the test item has a test run for that test plan?   These are different questions because a test item my be in a test group of a test plan without having a test run for that test plan (if no cycle in that test plan includes that test group).
    ------------------------------
    Geoffrey Clemm
    Jama Software
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 07-28-2023 12:35
    From: Jehoda Refaeli
    Subject: test items not in test plans?

    Hi,

    How do I find all items not associated in one or more testplans?

    I can see test results when the test item has been run.

    In REST API I can read the testplans, and see all items.

    but is there a GUI/filter/REST API to select all test items and see which testplans are using them?

    Thanks.



    ------------------------------
    Jehoda Refaeli
    Uhnder
    Austin TX
    ------------------------------

  • Andrew MacCormack
    Andrew MacCormack Member, Jama Validation Kit (JVK) + Functional Safety Kit (FSK) Posts: 73
    edited August 2023

    Could you not create a filter that matches "None of" and then an embedded filter to match any Test Run?

    image



    ------------------------------
    Andrew MacCormack
    LumiraDX
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 07-28-2023 12:35
    From: Jehoda Refaeli
    Subject: test items not in test plans?

    Hi,

    How do I find all items not associated in one or more testplans?

    I can see test results when the test item has been run.

    In REST API I can read the testplans, and see all items.

    but is there a GUI/filter/REST API to select all test items and see which testplans are using them?

    Thanks.



    ------------------------------
    Jehoda Refaeli
    Uhnder
    Austin TX
    ------------------------------

    Andrew MacCormack

    LumiraDX
  • Jehoda Refaeli
    Jehoda Refaeli Member Posts: 16
    edited August 2023

    Test runs are not test plans. 

    You can have a test item in 0,1 or multiple test plans. 

    Having 0 test runs may mean that the testplan may have not been executed yet, but you can't find it if the number of testplan is large.

    Having 1 test run, doesn't mean that all testplans that includes the test run has ran. 

    ------------------------------
    Jehoda Refaeli
    Uhnder
    Austin TX
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 08-07-2023 07:20
    From: Andrew MacCormack
    Subject: test items not in test plans?

    Could you not create a filter that matches "None of" and then an embedded filter to match any Test Run?

    image



    ------------------------------
    Andrew MacCormack
    LumiraDX
    ------------------------------

    Original Message:
    Sent: 07-28-2023 12:35
    From: Jehoda Refaeli
    Subject: test items not in test plans?

    Hi,

    How do I find all items not associated in one or more testplans?

    I can see test results when the test item has been run.

    In REST API I can read the testplans, and see all items.

    but is there a GUI/filter/REST API to select all test items and see which testplans are using them?

    Thanks.



    ------------------------------
    Jehoda Refaeli
    Uhnder
    Austin TX
    ------------------------------

  • Andrew MacCormack
    Andrew MacCormack Member, Jama Validation Kit (JVK) + Functional Safety Kit (FSK) Posts: 73
    edited August 2023

    Sorry, was trying to answer the first question of: "How do I find all items not associated in one or more testplans". If there are 0 testruns, an item is not in any test plan. If you want to exclude "not runs" you could modify the embedded filter.

    Having 0 test runs definitely means that ALL testplans have not executed that test item yet.

    If you want to know if all test plans that include an item have run, create a filter that explicitly looks for test items that have a test run and exclude items that have any test runs that are Not Run. Or if you want to find the ones that are not run, filter for test runs that are status Not Run.


    ------------------------------
    Andrew MacCormack
    LumiraDX
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 08-07-2023 08:05
    From: Jehoda Refaeli
    Subject: test items not in test plans?

    Test runs are not test plans. 

    You can have a test item in 0,1 or multiple test plans. 

    Having 0 test runs may mean that the testplan may have not been executed yet, but you can't find it if the number of testplan is large.

    Having 1 test run, doesn't mean that all testplans that includes the test run has ran. 

    ------------------------------
    Jehoda Refaeli
    Uhnder
    Austin TX
    ------------------------------

    Original Message:
    Sent: 08-07-2023 07:20
    From: Andrew MacCormack
    Subject: test items not in test plans?

    Could you not create a filter that matches "None of" and then an embedded filter to match any Test Run?

    image



    ------------------------------
    Andrew MacCormack
    LumiraDX

    Original Message:
    Sent: 07-28-2023 12:35
    From: Jehoda Refaeli
    Subject: test items not in test plans?

    Hi,

    How do I find all items not associated in one or more testplans?

    I can see test results when the test item has been run.

    In REST API I can read the testplans, and see all items.

    but is there a GUI/filter/REST API to select all test items and see which testplans are using them?

    Thanks.



    ------------------------------
    Jehoda Refaeli
    Uhnder
    Austin TX
    ------------------------------

    Andrew MacCormack

    LumiraDX
  • Jehoda Refaeli
    Jehoda Refaeli Member Posts: 16
    edited August 2023

    Thanks. Most items have also the negative clause (Has no downstream item...). 

    I was able to get the report with "none" of "has test run". 

    Now, just need to get that via REST API not just a filter.

    ------------------------------
    Jehoda Refaeli
    Uhnder
    Austin TX
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 08-07-2023 07:20
    From: Andrew MacCormack
    Subject: test items not in test plans?

    Could you not create a filter that matches "None of" and then an embedded filter to match any Test Run?

    image



    ------------------------------
    Andrew MacCormack
    LumiraDX
    ------------------------------

    Original Message:
    Sent: 07-28-2023 12:35
    From: Jehoda Refaeli
    Subject: test items not in test plans?

    Hi,

    How do I find all items not associated in one or more testplans?

    I can see test results when the test item has been run.

    In REST API I can read the testplans, and see all items.

    but is there a GUI/filter/REST API to select all test items and see which testplans are using them?

    Thanks.



    ------------------------------
    Jehoda Refaeli
    Uhnder
    Austin TX
    ------------------------------

  • Alessandro Valli
    Alessandro Valli Member, Data Exchange, Jama Connect Interchange™ (JCI) Posts: 785
    edited August 2023

    To answer such question I had to write a velocity report. -> not a big deal (loop over test cases from context -> loop over test plans -> if test case is in test cases of test plan -> print it out) ... OK not that efficient, but it works ...

    I would like to have a specific rule for advanced filters -> see my feature request : Advanced filter : need rule test case is in test plan -> feel free to "like" it

    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 07-28-2023 12:35
    From: Jehoda Refaeli
    Subject: test items not in test plans?

    Hi,

    How do I find all items not associated in one or more testplans?

    I can see test results when the test item has been run.

    In REST API I can read the testplans, and see all items.

    but is there a GUI/filter/REST API to select all test items and see which testplans are using them?

    Thanks.

    ------------------------------
    Jehoda Refaeli
    Uhnder
    Austin TX
    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG