Skip to content

Testing

phil/locale-dimensions
AreaWhat is covered
LocaleThe spellings accepted and refused, the language and region, the language tag, shared languages, equality
VersionThe first version, the next, a stored number read back, zero and negative numbers refused, order and equality
FallbackChainThe requested locale, resolution in chain order, a chain that runs out, a change of language, the refusals
DeclaredLocalesDeclaration order, the chains, served and unserved locales, every malformed declaration

The suite runs without a kernel, a database or a network. From the monorepo root:

vendor/bin/phpunit packages/locale-dimensions/tests