TODO
- https://levelup.gitconnected.com/improve-your-commits-and-versioning-in-javascript-56f72c0ab761 TODO
TODO
Frameworks/tools to be used for different kinds of tests:
- Unit tests (backend and frontend) →
jest
- Integration tests backend → TODO:
jest
? - Integration tests frontend →
jest
+ React@testing-library
- E2E tests backend → TODO: ?!
- E2E tests frontend → TODO:
cypress
orplaywright
? Or stick@testing-library
?
Tests should be placed next to the tested file and named as *.test.ts
.
In order to retrieve components under test, the data-testid
data attribute should be used. Cf. this article form more information.