Skip to content

Writing i18n tests

r12a edited this page Jun 8, 2022 · 4 revisions

Tests are particularly useful for the gap-analysis work we are doing in layout requirements groups. This page is intended to help people working on those documents write tests.

There are two types of test.

Interactive exploratory tests

These tests allow you to experiment and very quickly create, document, and record results for tests. They are particularly useful for tests which involve slightly different results across a number of languages, or for testing features that involve many permutations in the input data. They are also useful for simply exploring what might happen in certain situations.

See Using the interactive exploratory tests.

More formal tests for the i18n test suite

The Internationalization Working Group has created a large number of tests, accessed via a test framework, and provides results for those tests. To find tests and results, see the test index page. We port tests to the Web Platform Tests repository, where they are used by browser implementors.

See Creating more formal tests for the i18n test suite.