Queries for testing

Follow

Comments

7 comments

  • Avatar
    Andy Yates

    Hi Jean --


    If I understand you correctly, you are looking to identify all of the 'Test Case' cards that don't have any children 'Test Results'.


    I just set up a sample project to do this - I configured an aggregate property in the tree, called 'Runs', that is a count of the number of children of each 'Test Case' - and then I created a table that selects using this property - I've attached it for you to take a look at.


    Hope this helps


    -- Andy

  • Avatar
    Jean McAuliffe

    This looks promising and thank you! But the count is not getting updated. If I add additional results to the test case or a new one for one that didn't have it, I don't see the count getting updated properly. I am using your project. Any suggestions?

  • Avatar
    Andy Yates

    Do you see a little * next to the count?  I believe that the updates are run in a background thread, and, if you give it a little while, they should update just fine.

  • Avatar
    Suzie Prince

    Jean


    FYI the little * will not appear in the macro table but it should appear in all of card views (list, tree, card, grid etc...).


    If you do not see it please let us know.


    - Suzie

  • Avatar
    Jean McAuliffe

    Works great thanks for the suggestion and help!


    I wish aggregates could work on date fields. Maybe I could see my last failing result using this technique.

  • Avatar
    Suzie Prince

    Hi Jean


    I am interested in how you would like to use dates in aggregates. Do you want to see the last date a test ran? Or the last date the test failed? Details of what you want to see will help us understand what we should do to extend the aggregate feature.


    Thanks


    - Suzie

  • Avatar
    Jean McAuliffe

    both would be nice :)

Please sign in to leave a comment.