Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions recipes/automated-testing.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
# Automated Testing

##### Table of contents

[Glossary](#glossary)

[Testing best practices](#testing-best-practices)

[Types of automated tests](#types-of-automated-tests)

[Unit Tests](#unit-tests)

[Integration Tests](#integration-tests)

[API Tests](#api-tests)

[E2E Tests](#e2e-tests)

[Performance Tests](#performance-tests)

[Visual Tests](#visual-tests)


## Glossary
**Confidence** - describes a degree to which passing tests guarantee that the app is working.
**Determinism** - describes how easy it is to determine where the problem is based on the failing test.
Expand Down Expand Up @@ -177,7 +199,7 @@ performance tests (K6).
### E2E Tests

E2E tests are executed in a browser environment using tools like Playwright,
Selenium, or similar frameworks. The purpose of these tests is to make sure that
Cypress, or similar frameworks. The purpose of these tests is to make sure that
interacting with the application UI produces the expected result, verifying the
application’s functionality from a user’s perspective.

Expand Down Expand Up @@ -306,4 +328,4 @@ behavior. These are better suited for E2E testing.
- Visual tests should complement, not replace other types of tests like E2E
tests. Over-relying on them can leave functional gaps in coverage.
- Blindly updating snapshots without investigating failures undermines the
purpose of visual testing and risks missing real issues.
purpose of visual testing and risks missing real issues.