Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turning off "randomness seeded" #2932

Open
igtrnt opened this issue Nov 14, 2024 · 2 comments
Open

Turning off "randomness seeded" #2932

igtrnt opened this issue Nov 14, 2024 · 2 comments
Labels

Comments

@igtrnt
Copy link

igtrnt commented Nov 14, 2024

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?

@JoeyGrajciar
Copy link
Contributor

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

@horenmar
Copy link
Member

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 horenmar added the Query label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants