Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. QA Tools
  3. Test Center
  4. Error in counting skipped tests in test center stats

Error in counting skipped tests in test center stats

Scheduled Pinned Locked Moved Solved Test Center
5 Posts 3 Posters 779 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SylvainA
    wrote on last edited by
    #1

    Hello,
    In our suite we have some test where we use the method test.skip(). As you can see in the picture it is well displayed but here we find an issue in the passed pourcentage.
    cf66b00e-8316-4376-b77c-587838e15dde-image.png

    The success of passed takes into account the total of failed + skipped + passed test cases. For us it's a problem because we use test.skip because it is important that those test cases are skipped and completely ignore by the test center.

    Is there a way to update this?

    Thank you

    S N 2 Replies Last reply
    0
    • S SylvainA

      Hello,
      In our suite we have some test where we use the method test.skip(). As you can see in the picture it is well displayed but here we find an issue in the passed pourcentage.
      cf66b00e-8316-4376-b77c-587838e15dde-image.png

      The success of passed takes into account the total of failed + skipped + passed test cases. For us it's a problem because we use test.skip because it is important that those test cases are skipped and completely ignore by the test center.

      Is there a way to update this?

      Thank you

      N Offline
      N Offline
      Nico Kaufmann
      wrote on last edited by
      #3

      @SylvainA We could potentially make this more configurable in the future, but I don't think it could be the default, as how test.skip() is used will vary from customer to customer and some might want to see how many tests have been skipped. It might for example include temporarily excluded tests that you might not want to forget about.

      The skips already don't aggregate up to the top level. So at the suite level you should not see them. That the previous results don't show them is probably a bug.

      I would suggest to not execute the tests at all instead of using test.skip() for now.

      S 1 Reply Last reply
      0
      • S SylvainA

        Hello,
        In our suite we have some test where we use the method test.skip(). As you can see in the picture it is well displayed but here we find an issue in the passed pourcentage.
        cf66b00e-8316-4376-b77c-587838e15dde-image.png

        The success of passed takes into account the total of failed + skipped + passed test cases. For us it's a problem because we use test.skip because it is important that those test cases are skipped and completely ignore by the test center.

        Is there a way to update this?

        Thank you

        S Offline
        S Offline
        SylvainA
        wrote on last edited by
        #2

        @SylvainA
        The older result also doesn't take the skipped status. It showes passed instead of skipped.
        e2fd4850-3052-499d-9d1f-2e43f2a3d9e8-image.png

        F 1 Reply Last reply
        0
        • S SylvainA

          Hello,
          In our suite we have some test where we use the method test.skip(). As you can see in the picture it is well displayed but here we find an issue in the passed pourcentage.
          cf66b00e-8316-4376-b77c-587838e15dde-image.png

          The success of passed takes into account the total of failed + skipped + passed test cases. For us it's a problem because we use test.skip because it is important that those test cases are skipped and completely ignore by the test center.

          Is there a way to update this?

          Thank you

          N Offline
          N Offline
          Nico Kaufmann
          wrote on last edited by
          #3

          @SylvainA We could potentially make this more configurable in the future, but I don't think it could be the default, as how test.skip() is used will vary from customer to customer and some might want to see how many tests have been skipped. It might for example include temporarily excluded tests that you might not want to forget about.

          The skips already don't aggregate up to the top level. So at the suite level you should not see them. That the previous results don't show them is probably a bug.

          I would suggest to not execute the tests at all instead of using test.skip() for now.

          S 1 Reply Last reply
          0
          • N Nico Kaufmann

            @SylvainA We could potentially make this more configurable in the future, but I don't think it could be the default, as how test.skip() is used will vary from customer to customer and some might want to see how many tests have been skipped. It might for example include temporarily excluded tests that you might not want to forget about.

            The skips already don't aggregate up to the top level. So at the suite level you should not see them. That the previous results don't show them is probably a bug.

            I would suggest to not execute the tests at all instead of using test.skip() for now.

            S Offline
            S Offline
            SylvainA
            wrote on last edited by
            #4

            @Nico-Kaufmann
            I understand. We launch test case on 2 different configurations (A and B).
            If we detect config A some TC should not run so we have a simple condition like this:

            if config == A:
            test.skip()
            Maybe there is a better solution but because we have a lot of cases we can't just put on the cmd which test cases should be ignore.
            Maybe if we play with tags it can be better.

            1 Reply Last reply
            0
            • S SylvainA has marked this topic as solved on
            • S SylvainA

              @SylvainA
              The older result also doesn't take the skipped status. It showes passed instead of skipped.
              e2fd4850-3052-499d-9d1f-2e43f2a3d9e8-image.png

              F Offline
              F Offline
              farazbutt
              wrote on last edited by
              #5
              This post is deleted!
              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved