Skip to content

Unit tests should not depend on random values nor deplete system entropy #58

@unzvfu

Description

@unzvfu

Apparently some unit tests use system entropy. This is a bad idea because

  • system entropy is a very valuable resource that needs to be shared;
  • unit tests should not depend on truly random values; the prng should be seeded with a known value to ensure reproducibility of errors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions