longevity icon indicating copy to clipboard operation
longevity copied to clipboard

Functionalize the test data generator API

Open sullivan- opened this issue 7 years ago • 0 comments

Right now, there are two major problems with the longevity.test.TestDataGenerator API. First, it's not functional. We should use a state monad approach to keep track of the current seed. Second, you can't specify the initial seed, which makes reproducible testing harder.

Let's see if we can't remedy both of these problems, while continuing to provide an easy-to-use API.

I took a stab at this in branch named feat/test-data-gen-api, not sure how far I got or if it will still be helpful/relevant.

sullivan- avatar Sep 08 '17 16:09 sullivan-