← Phòng luyện tậpOnline Testing · 20 câu
Test có giá trị, dữ liệu cô lập và tái hiện lỗi
20 câu về assertion, boundary, Playwright, property/mutation tests và chiến lược kiểm tra lỗi cạnh tranh.
Nội dung luyện tập
- assert observable required result
- test inclusive business boundary
- make test preconditions explicit
- choose test scope for external dependency
- await eventual ui condition
- select user facing element contract
- wait for condition not arbitrary delay
- scope claims of network mocked tests
- isolate server state in ui tests
- clean up only test owned resources
- combine order and preservation properties
- interpret mutation survival
- control timer execution in tests
- retain reproducible generated failure
- test relational semantics with real provider
- treat retries as evidence not repair
- allocate tests to critical risk boundaries
- scale tests with owned external state
- evaluate test strength beyond line coverage
- make concurrency test hit critical interleaving
Mỗi câu đúng 1 điểm. Mục tiêu 70%. Đáp án và giải thích mở sau khi nộp bài.