# Test262

Verify an ECMAScript engine against Test262

For an engine or runtime implementation, exercise the ECMAScript features it claims to support against the official language tests. Pin the suite revision and preserve skips, expected failures and regressions.

Category: Compatibility
Languages: JavaScript, ECMAScript

## Standard evidence

Rubric v1 · 5/8 verified · 3 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — ECMA-262 specifies ECMAScript syntax and runtime semantics. Test262's scope is observable engine behavior for supported features; it cannot establish the quality of an application's JavaScript. Reviewed 2026-11-28. [Source](https://tc39.es/ecma262/)
- **Measurement** (verified) — The runner instructions specify how test metadata changes execution, including strict mode, feature requirements and when a negative test must signal its expected error. Reviewed 2026-11-28. [Source](https://github.com/tc39/test262/blob/main/INTERPRETING.md)
- **Conformance** (verified) — TC39 publishes the official implementation test corpus. It expressly describes its coverage as incomplete, so a clean run is evidence for the exercised cases. Reviewed 2026-11-28. [Source](https://github.com/tc39/test262)
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (verified) — TC39's example harness clones the suite, installs the runner via npm and runs chosen tests for a specified host. Use the per-test output to inspect the matching engine's results. Reviewed 2026-11-28. [Source](https://github.com/tc39/test262-harness)
- **Real-world adoption** (verified) — The independent Boa engine documents its own runner for executing the official ECMAScript suite against Boa, including how to retain panic output. Reviewed 2026-11-28. [Source](https://github.com/boa-dev/boa/blob/main/CONTRIBUTING.md)
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

In the engine checkout, identify its Test262 runner, pin a suite revision and select the changed language feature. Run the relevant tests, distinguish positive and expected-error cases, and record case names, outcomes and exclusions. Reproduce the first unexpected outcome against the specification before editing the engine.

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://github.com/tc39/test262)
- [Agent skill](/skills/test262/SKILL.md)
