mustafa-tariqk / mindscape

Experience the truth of the trip
https://research.cs.queensu.ca/home/cisc498/index.html
MIT License
16 stars 0 forks source link

Testing API Endpoints (excl. anything to do with analytics) #43

Closed mustafa-tariqk closed 6 months ago

mustafa-tariqk commented 6 months ago

Is your feature request related to a problem? Please describe. We have effectively no tests for the system right now. I have introduced functionality to make testing a lot more smooth and as such will now populate tests.py with tests to show functionality of API endpoints. Will also hunt down bugs to do with my tested endpoints.

Not testing anything to do with analytics because that is @BasicallyOk's domain and I won't know the best way to resolve bugs.

Describe the solution you'd like A bunch of unit tests and bugfixes. Unit tests in tests.py and bugfixes throughout the backend.

Describe alternatives you've considered Exhaustive testing maybe, but I feel that's overkill. I don't want to waste too much time testing here.

Additional context Wish me luck this'll be the first time I'll dive deep into testing this stuff since I first implemented months ago.