Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
Description
When using random numbers in tests, the problem is that a test failure isn't easily reproduced, because the random number sequence is either not known or else not easily re-generated.
Let's add a QTestRandomNumber generator whose seed is recorded and printed on test failures. Optionally, it might also record seeds for RNGs used inside libraries, via some hook mechanism.
Attachments
Issue Links
- clones
-
QTBUG-81979 Allow configuring a global QTestLib timeout
- Reported
- relates to
-
QTBUG-95421 need the ability to delay (increment timestamps of) touch events, as with mouse events
- Reported
-
QTBUG-104087 qtestlib watchdog timeout should be runtime-configurable
- Reported