Skip to content

Extract boilerplate code for writing tests #8

@jawang35

Description

@jawang35

Create a testhelpers package that exports utilities to make it easier for writing tests.

Suggested functions:

  • ReadDB - For reading a database from a directory and returning all records in a slice
  • SeedDB - For seeding a database with a few records

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions