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

Create unit tests for backend constraints logic #252

Open
joshRamirez opened this issue Dec 10, 2019 · 0 comments
Open

Create unit tests for backend constraints logic #252

joshRamirez opened this issue Dec 10, 2019 · 0 comments

Comments

@joshRamirez
Copy link
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: New Issue Approval
Development

No branches or pull requests

1 participant