gentest icon indicating copy to clipboard operation
gentest copied to clipboard

Generative testing for JavaScript. Save time and catch more bugs by letting the computer write test cases for you. WIP

Results 10 gentest issues
Sort by recently updated
recently updated
newest added

Using gentest to test itself seems dodgy, so I'm testing it with Mocha right now with explicit calls to `gentest.sample` and assertions about the generated values. I think this is...

Very interesting project, and I am considering it. What I was wondering about is, how do you make tests repeatable? it sounds like, if running a test twice it could...

Could gentest generate a random binary tree or binary search tree? by random I mean a random depth with random values.

In lib/Property.js, there's an interface that could allow people to write their own test runners and use Gentest solely as a library. It implements all the interesting stuff in Gentest...

This could be as simple as saying, "Run gentest --help for a full list of options" in the readme. Worth having at least that.

To make specific test runs reproducible, the `gentest` CLI should print the PRNG seed as part of its output, and allow setting the seed explicitly.

Motivation: the invisible size parameter, which ramps up from 1 to 50 (by default, controllable with `--max-size`) over the course of a test run, controls both array lengths and the...

Currently, Gentest only has a Node.js-based test runner. There should be a bundle you can stick into a script tag to run tests in browsers.

Could you provide more concrete examples on feature, probably some challenging cases that gentest could catch?