Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.01 KB

CONTRIBUTING.md

File metadata and controls

34 lines (20 loc) · 1.01 KB

Contributing Guidelines

Domain-Driven Development

TODO

Version Control (git Workflow)

Styleguide (Code Formatting, etc.)

TODO

Automated Testing

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 or playwright? Or stick @testing-library?

Unit Tests

Tests should be placed next to the tested file and named as *.test.ts.

Integration Tests

Frontend

In order to retrieve components under test, the data-testid data attribute should be used. Cf. this article form more information.