sageserpent-open / americium

Generation of test case data for Scala and Java, in the spirit of QuickCheck. When your test fails, it gives you a minimised failing test case and a way of reproducing the failure immediately.
MIT License
15 stars 1 forks source link

Integration with Scalatest #7

Open sageserpent-open opened 3 years ago

sageserpent-open commented 3 years ago

Strictly speaking, this exists by default - one decants an existing Scalatest test body into a consumer lambda and feeds it to a trials instance in a single big expression that takes over as the top-level statement of the test.

This needs documentation and some examples, though.

sageserpent-open commented 3 years ago

There is a potential for some coding work to integrate the reproduction of failed cases with the Scalatest parameterised test framework - so every time a failing test case is found, it can be entered into a table source understood by Scalatest. Is it worth doing that?