Cross-browser test suites for Web platform specifications, ensuring interoperability across browser implementations.
web-platform-tests (WPT) is a cross-browser test suite for the Web platform stack, covering specifications from WHATWG, W3C, and other standards bodies. It provides a shared set of tests that browser vendors use to ensure interoperability and compatibility, helping web developers rely on features working consistently across different browsers without extra abstraction layers.
Browser engineers, web standards contributors, and web developers who need to verify or ensure cross-browser compatibility of web platform features.
Developers choose WPT because it offers a comprehensive, publicly maintained test suite that aligns with web standards, enables detection of interoperability gaps, and provides tools for local testing and continuous integration, fostering a more reliable and consistent web platform.
Test suites for Web platform specs — including WHATWG, W3C, and others
Tests align with WHATWG, W3C, and other standards bodies, ensuring thorough validation of web platform features as per official specifications.
wpt.live allows anyone to run the test suite directly in their browser without setup, making it accessible for quick compatibility checks.
wpt.fyi archives test results from various browsers over time, providing valuable data for tracking interoperability trends and browser evolution.
The wpt command-line interface includes tools for serving tests, running them locally, linting, and managing browser installations, streamlining the testing workflow.
Setting up to run tests locally requires system configuration, browser and webdriver installations, which can be time-consuming and error-prone, as detailed in the documentation.
On Windows, commands must be prefixed with python, and careful management of line endings is necessary to avoid lint errors, adding extra steps for developers on this platform.
The test suite is limited to web platform specifications, so it doesn't cover custom or framework-specific features, requiring additional testing tools for comprehensive application coverage.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.