Skip to content

Commit

Permalink
add info on smallcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
agroce committed May 5, 2018
1 parent 8618f1c commit c951b53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,10 @@ run it with `--swarm`. Because of the way the swarm format works, it
is unfortunately currently not possible to extract a swarm format test
from a standard TSTL test.

TSTL's "SmallCheck"
------------------

`tstl_smallcheck` is a special-purpose test generator that uses a depth-first-search to exhaustively generate tests up to a provided depth limit. Even with `--visited` to check for visited states, this will seldom finish if the depth is more than 4 to 10 (at the most) steps. The tools outputs failures (multiple ones, optionally) and coverage-increasing tests. One way to get deeper "exhaustive" testing is to use the `--recursive` option to explore from coverage increasing tests, repeatedly up to a limited number of times, using the same depth as the original run.

TSTL and Hypothesis
------------------------
Expand Down

0 comments on commit c951b53

Please sign in to comment.