Testing (Unit, Integration, E2E)

MD
R
Markdown

Simple explanation between unit x integration x e2e tests.

Unit Tests

Test the smallest unit of source code like methods of a Class.

Integration Tests

Test cross communication between components or services (behaviour and data flow)

End2End

Test the Usage Scenarios flows from start to finish. Start can be from the browser or from a terminal (or other input device)

TypeScript => Jest

  • Assertions
  • Mocks
  • Spies
  • Code Coverage

Created on 1/2/2022