phill52 / WorkWindAPI

1 stars 0 forks source link

research a way to implement unit and/or integration testing for each endpoint #24

Open phill52 opened 1 year ago

phill52 commented 1 year ago

NOT FINAL

i did some research and here's a way we could set up testing create a separate testing DB (temp preferably if we find a way to do that or can create a seperate pg instance) use a way to mock auth0 calls (maybe we can generate JWT auth token randomly each type of user call) use unittest and/or respones to mock http calls package factory boy helps with mock data supposedly find a way to get it to run, have proper passing/failing, implement automation with github actions