Skip to main content

Option to set execution retries per test

At the moment we have quite some flexibility of number of retries for tests in case they fail, but this is at a testsuite level.

We’ve already split our testsuites into smaller ones depending on the feature of our software, but despite this, we would love to have even more granularity on which tests are retried upon failure.

This feature request is to have an option to set the number of retries on a per test basis, which would take priority and ignore the retry levels of a testsuite.

So for example I have:

“Login testsuite” has 1 retrie enabled

I have test “Login validations” inside this testsuite that has 3 retries set at a test level

The test will retry 3 times, but the other tests inside the testsuite will retry only once in case they fail

5 comments

Log in to comment and vote

Comments5

  • Paweł Bylina

    Team•

    Jul 10, 2025

    @Marius COJOCARIU To be honest, why do you need this? I understand how it works, but I don't understand what it's used for.

    • Marius COJOCARIU

      •

      Jul 15, 2025

      Hey Pawel, ss I mentioned in the description it is to offer even more flexibility, we sometimes know that certain tests are more prone to be flaky, but I don’t want to risk the entire testsuite running twice for a real sudden failure, so I would find an option to set retries per test just as useful.

      • Paweł Bylina

        Team•

        Jul 16, 2025

        Thanks!

        • Marius COJOCARIU

          •

          Jul 16, 2025

          I understand it would be quite an edgecase feature, I won’t mind if you consider it as a very very low priority one or not consider it at all. :D

      • Luboš Rybníček

        •

        Sep 10, 2025

        For me it would be OK to have this as a CLI option not to bloat UI with an edge case option. It’s probably useful only for those with larger automated test suites schemes.