Skip to content

Add tests for backend, map/explorer data #217

@khutchison

Description

@khutchison

Is your feature request related to a problem? Please describe.
Right now our codebase is mostly untested. By adding tests we will make the project significantly more maintainable, and it will be easier to make changes in the future.

Describe the solution you'd like
Per discussion with @ryanrolds I'd like to start with tests on the backend, specifically the structure generated and sent to both the map and data explorer. With our planned addition of census blocks and other potential changes like automatic zoom, these tests will help ensure changes won't break the current functionality.

Describe alternatives you've considered
We also considered starting with frontend testing but @ryanrolds felt backend is more important at this time.

Additional context
need to research best practices for testing on Ruby/Rails

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