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.
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.