Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant