catchorg / catchorg/Catch2

Extend support for randomness generation in tests

Open
#2,827 0 comments 0 reactions 0 assignees View on GitHub
Feature Request
Dominant language
C++
Stars
21.5k
Forks
3.5k
Avg merge
3d 16h
Merged PRs (30d)
2

Description

Catch2 currently has a basic support for generating reproducible random
numbers for tests. Right now, Catch2 provides only uniform distributions
over integers and real numbers projected into floating point.

This could be greatly extended with different distributions, different
type of generators (e.g. generating uniformly from floats, instead of
real numbers projected to floats) and adding some building blocks for
users to build their own random generators.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.