Software Testing Engineering / SYSTEM & END-TO-END SMOKE TESTING / TST-025

Journey Selection

Explore concept graph

Latihan soal

Executable test selection audit

Jalankan fixture Node 24 dari root repository:

node generation/fixtures/TST-025/journey-selection.mjs

Expected stdout:

e2e-selected=login-balance,login-transfer-receipt
lower-layer-regressions=7
lower-layers=api,contract,integration,unit
smoke-journeys=2
invalid-plans-rejected=4
production-dependencies=0
browser-execution=not-performed

Fixture ini memvalidasi pilihan test strategy secara deterministik: tepat dua E2E, tujuh kasus regression di layer lebih murah, isolasi akun/fixture dan larangan dependency produksi. Negative mutation guards menguji bahwa menambah E2E tidak perlu, menghilangkan receipt, atau menggunakan bank produksi akan ditolak.

Batas proof: ini menguji strategi pemilihan tes, bukan autentikasi, transfer, browser, screenshot, API live ataupun penerimaan bank produksi. Browser smoke adalah unit lanjutan, TST-026.

Konsep 1 / 3

Select exactly two valuable end-to-end user journeys with observable outcomes and no unnecessary test duplication.

Coba prediksi atau perbaiki

Which is a stronger E2E selection: checking limit=-1 in ten browsers, or login→transfer→receipt once?

Kalau jawabanmu berbeda

Kesalahan yang mungkin: Counting dozens of browser edge cases as automatically stronger reliability.

Mengapa tidak bekerja: It creates fragile duplication while missing a concise business-value signal.

Coba perbaiki: Reserve E2E for critical cross-system user paths; prove edge cases at lower boundaries.

Periksa hasil sendiri

Hasil yang diharapkan: Two E2E candidates remain: login→balance and login→transfer→receipt.

Kalau berbeda: Check whether each candidate includes both authentication and a user-visible business result.

Konsep 2 / 3

Classify complex validation and failure cases into unit, API, contract or service-integration tests rather than E2E.

Coba prediksi atau perbaiki

Where should a same-key/different-amount HTTP 409 with one DB record be verified?

Kalau jawabanmu berbeda

Kesalahan yang mungkin: Assuming browser E2E is required because the failure has business impact.

Mengapa tidak bekerja: Business risk matters, but the test boundary should match where the invariant is observable.

Coba perbaiki: Retain one E2E happy path and move boundary-specific failure branches into focused tests.

Periksa hasil sendiri

Hasil yang diharapkan: No negative pagination, malformed JSON, idempotency conflict, contract drift or timeout case is classified as a new E2E.

Kalau berbeda: Ask whether a user-visible navigation step is essential to reproduce each assertion.

Konsep 3 / 3

Distinguish a two-journey smoke gate from the broad regression suite and from business acceptance criteria.

Coba prediksi atau perbaiki

Does passing two proposed E2E smoke flows prove every debit edge case is correct?

Kalau jawabanmu berbeda

Kesalahan yang mungkin: Treating two browser smoke passes as evidence of full production readiness or financial correctness.

Mengapa tidak bekerja: They do not cover provider edge cases, ledger settlement or concurrency guarantees.

Coba perbaiki: Keep separate regression/integration coverage and explicitly state the smoke evidence limit.

Periksa hasil sendiri

Hasil yang diharapkan: Exactly two proposed E2E smoke cases, lower-layer regression coverage and independent test-data plans.

Kalau berbeda: Inspect each test's data ownership and whether it claims business effects beyond visible UI.

Lima soal test pyramid

Jawab tanpa melihat pembahasan dulu. Kamu bisa memperbaiki jawaban dan mencoba lagi. Kuis ini latihan mandiri dan tidak menyimpan skor atau progres.

Dua user journey E2E bernilai tinggi untuk aplikasi bank contoh adalah?
Provider timeout dan hasil UNKNOWN yang tersimpan di PostgreSQL sebaiknya diuji pada layer?
Pemeriksaan decimal rounding fee transfer paling efisien pada?
Perbedaan smoke test dan regression suite?
Apa yang sebenarnya dibuktikan fixture TST-025?