Skip to content

Update test style to separate structure and numerical data #134

Open
@lazyoracle

Description

@lazyoracle

Describe the missing feature

Current tests have a coupled design where the pickle files store the structure and numerical data as a regression/historical test. This becomes difficult to maintain in the long run and also difficult to change (in the rare cases when we need to).

Describe the solution you'd like

We want to separate the structure and the numerical content and possibly also get rid of pickle files if possible. Also, we should only check the structure when it is part of the contract or API (Ref: Programming by Contract for Python)

Describe alternatives you've considered

  • Storing everything in pickle files in the same repo
  • Storing everything in pickle files in another repo
  • Storing this binary data in some cloud server (if it very rarely changes)

Additional context

Add any other context or screenshots about the feature request here. Please feel free to suggest details about how you believe this feature request might be best implemented. If you have used similar features in other libraries, consider providing links or resources to example implementations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-qualityGeneral code quality related issues and PRsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions