Testing LevelsCategory landing: the six-level escalation ladder from unit tests to AI-based verification.Jump to each of the six levels below, from unit tests to the AI-judged final resort.In this sectionThe 6 Testing LevelsThe six-level escalation ladder in detail -- tools, blind spots, and the tier axis for each level.Level 1: Unit/Logic TestsPure JavaScript testing with vitest or jest for logic, data transforms, and state.Level 2: DOM-based Component TestsComponent testing with jsdom or happy-dom and Testing Library.Level 3: Build Output VerificationTesting built files, SSG output, templates, and bundler configuration.Level 4: E2E Browser TestsEnd-to-end testing with Playwright and headless browser verification.Level 5: Deterministic + Visual VerificationDeterministic computed-style assertions paired with an informal visual screenshot review.Level 6: AI-Based Visual VerificationFinal-resort tier — AI judges whether a problem is resolved when neither L4 nor L5 can reach the assertion.NextThe 6 Testing LevelsRevision HistoryCreatedUpdated