Skip to content

Soup up test data handling #10

@GretaCB

Description

@GretaCB

Per #5 (comment), we can improve tests by updating them to better handle test data and ensure proper comparisons/assertions:

  • file based fixtures for input data
  • an adjacent file of gzip coded data
  • then compare them byte for byte
  • optional: add an UPDATE environment variable to be able to put the tests into a mode where they are updateable

This way we can ensure the output is exactly as we expect. And we would pick up differences, say, between our results and another implementation like #7.

cc @springmeyer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions