Illustration by Sue Lockwood
So what is this WPT project all about? It’s a community-led effort “to build a cross-browser test suite for the web-platform stack.” This might sound straightforward enough, but have you ever tried to take in the whole platform at once? It can feel a little like seeing the ocean for the first time. It’s massive, it moves constantly, and you just know it’s full ofbeautiful andhorriblethings. Any attempt to test that expanse shouldn’t be taken lightly.
We started back in January, and while the effort has been both stimulating and satisfying, it’s really just the beginning. We have plenty in the works for expanding these efforts, and we’re actively recruiting more organizations to work with. We can only be successful if every browser implementer engages with the project.
So far, thanks to funding from Google and Mozilla, we’ve made strides in the contributor workflow, test suite stability, browser correctness, and test coverage for features like WebDriver,Service Workers andnavigation. This has given us the opportunity to contribute to a number of open source projects beyond WPT itself, and (just like with Test262),we’re documenting that work with a public wiki page.
If the web platform really is like the sea, then you might argue that the challenge of WPT is tantamount to boiling the ocean. We’re in this for the long haul, though, and after just two months of work, we’re more optimistic than ever about what we can achieve.