Skip to content

Functionalize the test data generator API #41

Description

@sullivan-

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions