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

#142 testing framework #148

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

#142 testing framework #148

wants to merge 2 commits into from

Conversation

bderbs30
Copy link
Contributor

@bderbs30 bderbs30 commented Mar 8, 2025

Added testing framework setup

Creates a local instance of the database and seeds data (This needs more effort to add more data but these can be included with next endpoint tickets as a part of the ticket)

This is mainly for unit tests and doesn't test the endpoint rather the service the endpoint uses

MongoDB calls aren't mocked (I don't think this will be an issue but I can check with Elvin about this)

Further work is to test the previous services

Closes #142

ArmaanMehra and others added 2 commits February 26, 2025 22:04
added config
added seeding file
added one unit test for admin visibility
NEEDS MORE SEED DATA!
@bderbs30 bderbs30 self-assigned this Mar 8, 2025
@bderbs30 bderbs30 requested a review from arath7 March 8, 2025 00:10
@bderbs30 bderbs30 force-pushed the #142-testing-framework branch from c2cca10 to 8c896cd Compare March 8, 2025 01:37
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

Successfully merging this pull request may close these issues.

Figure out testing
2 participants