Catch2 icon indicating copy to clipboard operation
Catch2 copied to clipboard

Turning off "randomness seeded"

Open igtrnt opened this issue 1 year ago • 2 comments

My tests do not use any random generators bit I still get Randomness seeded to: ####### message. Is there a way to turn off rand-related stuff or silence this message?

igtrnt avatar Nov 14 '24 04:11 igtrnt

I believe that should be in output only when you run tests in random order. For reference check https://github.com/catchorg/Catch2/blob/devel/docs%2Fcommand-line.md

JoeyGrajciar avatar Nov 20 '24 17:11 JoeyGrajciar

No, all built-in reporters report it. It guards both the output of random Generators, and shuffle order of tests, so it is important for reproducibility.

Currently the only way to disable the output is to provide your own reporter.

horenmar avatar Nov 22 '24 10:11 horenmar