jacobsamo / Mixie

Mixie is an open source, community-driven recipe platform where home cooks and food enthusiasts can cook, create and collaborate on unique and delicious recipes.
https://mixiecooking.com
GNU Affero General Public License v3.0
1 stars 1 forks source link

🧪 Add proper testing #21

Closed jacobsamo closed 9 months ago

jacobsamo commented 1 year ago

Tests

Tests are greatly important especially when changing things to guarantee that an item works after changing it. Biggest thing is to test the Behaviour not the code as code changes but the Behaviour shouldn't unless the behaviour actually changes

Unit tests

Unit testing with jest and react testing library.

End to End tests (E2E)

I would like to have E2E to test all project features. ideally, this will be done with Cypress or check this tweet

jacobsamo commented 9 months ago

I don't think it's necessary to do testing at this point, it's not an issue now and we just need to put things in place to make sure that we achieve failing fast to fix even faster.