Skip to content

Commit 0c4ed0c

Browse files
authored
Add table of contents to automated testing page (#18)
1 parent 5d83331 commit 0c4ed0c

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

recipes/automated-testing.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
# Automated Testing
2+
3+
##### Table of contents
4+
5+
[Glossary](#glossary)
6+
7+
[Testing best practices](#testing-best-practices)
8+
9+
[Types of automated tests](#types-of-automated-tests)
10+
11+
[Unit Tests](#unit-tests)
12+
13+
[Integration Tests](#integration-tests)
14+
15+
[API Tests](#api-tests)
16+
17+
[E2E Tests](#e2e-tests)
18+
19+
[Performance Tests](#performance-tests)
20+
21+
[Visual Tests](#visual-tests)
22+
23+
224
## Glossary
325
**Confidence** - describes a degree to which passing tests guarantee that the app is working.
426
**Determinism** - describes how easy it is to determine where the problem is based on the failing test.
@@ -177,7 +199,7 @@ performance tests (K6).
177199
### E2E Tests
178200

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

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

0 commit comments

Comments
 (0)