GS/BS
← Standards directory
Compatibility

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.

JavaScript / ECMAScript

Community rubric · v1

The evidence

Evidence score5 / 8
5 verified · 3 unknown

One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.

Latest evidence review ·

  • 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.

    Inspect source ↗
  • 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.

    Inspect source ↗
  • 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.

    Inspect source ↗
  • 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.

    Inspect source ↗
  • 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.

    Inspect source ↗
  • Agent guidance

    Unknown

    No reviewed evidence is recorded for this dimension.

  • Agent portability

    Unknown

    No reviewed evidence is recorded for this dimension.

Use this standard

Agent prompt

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.
Read the agent skill ↗

Primary source

Test262 documentation ↗