mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#performancetesting

0 Beiträge0 Beteiligte0 Beiträge heute

The Only Two Tests That Matter

Most tests are meaningless noise. If you want to do it right, only two types matter:

1️⃣ Component Tests – Test behavior, not mocks. Fake external services, ensure input/output works, and confidently. With that it’s easy to generate API docs & client libs without experience pact tests.

2️⃣ E2E Tests – Run 24/7, track real user behavior, log metrics, measure uptime, bugs, performance, and resilience. No need for e2e tests in CI pipelines if testing every environment.

Both test behavior, not code. You can refactor without touching tests as they only break when behavior breaks. If tests are slow, your implementation is the problem. Even a Raspberry Pi can handle it.

And above all: Tests must run locally. No excuses. It’s important for debugging and reproduction of user behaviors.