Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Create unit tests for backend constraints logic #252

Open

Description

@joshRamirez

Overview

We need to write unit tests so that functionality is not broken across updates to this fundamental piece of logic. This will also help us define how we intend for this logic to work!

Action Items

Mostly research now.
How do we properly structure the test classes?
How do we mock the sqlalchemy objects?
What are the expected response data for both candidates and locations?
What are the expected outcomes?

Resources/Instructions

These libraries are already included in python so we would not need to add dependencies.
https://docs.python.org/3/library/unittest.html
https://docs.python.org/3/library/unittest.mock.html

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions