qmetrics.net

web-platform-tests

Cross-browser conformance tests for web platform standards

web-platform-tests screenshot

web-platform-tests is a shared test suite for HTML, DOM, JavaScript, and related web specs so browsers can verify interoperability.

Overview

The web-platform-tests project collects tests for the web platform stack, including work from WHATWG, W3C, and other standards bodies. Tests are written so the same files can run across browser engines, giving implementers a common yardstick and authors more confidence that behavior matches across products.

Public infrastructure includes wpt.live, where anyone can run tests from an Internet-enabled browser, and wpt.fyi, which archives results from many browsers over time. The master branch syncs to those deployments automatically.

The wpt command-line front end wraps tools to serve the suite locally, run tests in a browser, lint tests, maintain manifests, install browser binaries, and start the WAVE runner alongside the HTTP server. Documentation on web-platform-tests.org covers setup for local runs and continuous integration.

Browser vendors, spec editors, and web developers who need reproducible conformance checks use this suite rather than ad hoc page fixtures.

Key features

  • Shared cross-browser HTML and JS tests
  • wpt CLI for serve and run
  • Public browser test runner at wpt.live
  • Historical results archive at wpt.fyi
  • Lint and manifest tooling
  • WAVE test runner support
  • CI-oriented local runners

Use cases

  • Browser interoperability verification
  • Regression testing for web engines
  • Authoring spec conformance tests
  • Running tests from a web browser

Tags

Similar software

Playwright

Cross-browser web automation and testing framework

Playwright drives Chromium, Firefox, and WebKit through one API for tests, scripts, and agent-driven browser control.

★ 101.2k⟳ yesterdayApache-2.0

Storybook

Isolated workshop for UI components and pages

Storybook runs a local dev workshop where teams build, test, and document components in isolation. It integrates with major frontend frameworks and addons for docs, accessibility, visual review, and agent tooling.

★ 91.7k⟳ yesterdayMIT

Cypress

Browser end-to-end and component test platform

Cypress runs web tests in a real browser on your machine or in CI. It offers time-travel debugging, agent-driven runs via cypress tap, and optional cloud replay and coverage services.

★ 51k⟳ todayMIT

Jest

JavaScript testing framework with zero-config defaults

Jest runs unit and integration tests for JavaScript codebases with matchers, mocks, and snapshots. It targets Node and front-end stacks including React, Vue, and Angular.

★ 45.5k⟳ 17 days agoMIT

Selenium

Cross-language browser automation via W3C WebDriver

Selenium automates Chrome, Firefox, Edge, and Safari from Java, Python, C#, Ruby, JavaScript, or Kotlin. It implements the W3C WebDriver standard and downloads browser drivers automatically.

★ 34.6k⟳ todayApache-2.0

hyperfine

Command-line tool for statistical shell command benchmarking

Hyperfine runs repeated timing tests on shell commands and reports stable statistics. It works across major desktop operating systems and supports comparing multiple commands in one run.

★ 29.4k⟳ 1 month agoApache-2.0