vatz88 / FFCSonTheGo

FFCS course registration made hassle free for VITians. Search courses and visualize the timetable on the go!
https://ffcsonthego.vatz88.in
GNU General Public License v3.0
291 stars 84 forks source link

🧪 Add Integration tests #236

Open vatz88 opened 1 year ago

vatz88 commented 1 year ago

Add integration tests, possibly using playwright

therealsujitk commented 1 year ago

I'd also like to write a unit test to check if all the slots present in the generated *courses_.json** are present in the respective schema. It should be alright to use the same library for this right?

Edit: I've added XLSX tests in jest because Playwright seemes to be only for browser testing.

vatz88 commented 1 year ago

Yes, jest is fine.

We can in future explore moving to vite and vitest from our current setup of parcel and jest

therealsujitk commented 1 year ago

Later we'll have to add one more test to check if the schemas are of the right format.