Skip to content

DIVERSIFY-project/journey-extraordinary-test-suite

Repository files navigation

Extraordinary tests

This repository is a florilege of extraordinary test cases, curated by Benoit Baudry and Martin Monperrus. External contributions are welcome.

  • test2DDistribution contains generates 1 million data points and asserts the behavior on all of them
  • checkVertices checks that a number well converges from Double.POSITIVE_INFINITY to 0 ± 10-6.
  • LOG_GAMMA_REF generates the test data from a Maxima program.
  • ByteBufferTest is a parametrized test with a random test input.
  • typical shows the risk of putting an assertion in a callback function.
  • random in test a deterministic test case with hard-coded seeded random number generator.
  • test exception an example of test of exception.
  • relatively equal an example of test assertion with epsilon precision.
  • flaky a flaky test because of undeterministic behavior of thread allocation.

About

A journey in testing: florilege of extraordinary test cases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages