Page MenuHomePhabricator

Update TranslationTests to be able to catch more types of errors/crashes
Closed, ResolvedPublic3 Estimated Story Points

Description

Our TranslationTests can catch a lot of possible issues, but they can still miss a few types of problems which can actually lead to crashes, namely:

  • We need a test that takes each string from the English (default) localization, and attempts to render that string in all other supported localizations (supplying it with formatting parameters if necessary).

Event Timeline

Charlotte set the point value for this task to 3.Aug 21 2018, 4:38 PM

Here's our twn strings tests on iOS if it's helpful, there are probably some regexes that could be shared:

https://github.com/wikimedia/wikipedia-ios/blob/develop/WikipediaUnitTests/Code/TWNStringsTests.m

@Dbrant Can we de-scope this for K release or is this urgent?