Possible introduction of performance criteria to tests. #1330
Replies: 13 comments
-
|
if you dont require the test to stop after the specified time has elapsed then this could be included as an additional check "after_test" probably want option to mark as fail or warning |
Beta Was this translation helpful? Give feedback.
-
|
I am afraid we will not be able to tests in separate threads as we would need to rework how we gather coverage. Lots of challenges. Not sure if the complexity, maintenance cost and effort is balancing the value of the feature. Edit |
Beta Was this translation helpful? Give feedback.
-
|
Probably not worth too much effort spend on that one. Ultimate you can see a timing of the tests anyway so you can workout issues anyhow. |
Beta Was this translation helpful? Give feedback.
-
|
It's clear that we won't be able to abort tests after a given timeout. But what do you think about the following: New annotation |
Beta Was this translation helpful? Give feedback.
-
|
That sounds like a good compromise and gives a nice feature, but maybe we should throw a warning instead if test pass functionality but not pass performance metrics. |
Beta Was this translation helpful? Give feedback.
-
|
By specifying |
Beta Was this translation helpful? Give feedback.
-
|
I would call it
I agree with sam that behavior shoyld be obvious and mark test as failed. We could even introduce timeout on other elements like before/after/context/suite but for those it would be harder to establish the correct behavior on timeout. |
Beta Was this translation helpful? Give feedback.
-
|
I think timeout indicate too much behaviour. I like Sam idea or something like expected time threshold, performance limit etc. |
Beta Was this translation helpful? Give feedback.
-
|
While I like I'd also prefer the numeric format (again - less education needed). |
Beta Was this translation helpful? Give feedback.
-
|
Maybe time_tolerance? |
Beta Was this translation helpful? Give feedback.
-
|
I agree with @pesse . JUnit uses also the term I like the idea of different time formats ( |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Any luck that this very good idea will be added in a next release ? Thanks |
Beta Was this translation helpful? Give feedback.
-
|
Also hoping for this to be prioritized. Thanks @SebGt for bumping the thread. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We could introduce new annotation that could define a performance criteria regarding time execution of test. E.g. - - %timelimit(5s).
This could fail the test after it passes the criteria regarding of the assertion result.
We should allow to pass probably at least two time units : s as seconds and ms as millisecond.
currently discussed solution was
This could be possibly added as optional feature in installation step to allow users who are not able to install with more grants.
Beta Was this translation helpful? Give feedback.
All reactions