---
name: test262
description: "Use when adopting Test262 to assess this standard: Verify an ECMAScript engine against Test262"
---

# Apply 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.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by Test262.
2. 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.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://github.com/tc39/test262) for configuration and prerequisites.
