<[xFlux]>
-
Tips: React Native + Jest Unit Test + testing-library
Personal thought on unit test driven development: Debug Tip 1: mocking Firebase functions If your component import Firebase functions like this: Then creating mocking should be in same pattern: I thought this will work: But I got: Debug Tip 2 : mocking store Most of mobile applications that built with RN use store heavily. For…
-
React Unit Test with Jest and Enzyme
Creating automated tests is crucial in any real-world project, although it can be a challenging task, especially in the frontend domain. Fortunately, Jest, a testing tool developed by Facebook, simplifies unit testing in JavaScript. Additionally, Enzyme is a React-specific tool that offers a variety of useful methods to enhance the testing of React components. By…
-
I18next-pseudoloc
In the i18n world, Pseudo Loc Test is one of the early stage methods that gives some benefits. With the ECMAScript 6, we already have a good number of npm packages that we can simply install and initiate on our applications. Most of them support the Latin 1 & 2 character set, but not many…
-
I18n Automation for main developers
Method 1 – starting with develop branch This is an actual structure that most dev teams currently have, but mostly managed manually. Commiting/creating PRs/merging the English contents are still manual developer activities, but committing(delivering) translation files, notifying related stakeholders will be automated at the end, and these are all the tasks that the automation actually…
-
I18n Automation: What need to be automated
Consolidating English content You can automate the process of collecting and centralizing content updates being worked on in individual branches into a single location in various ways. The complexity of automation depends on how the developer proceeds with front/backend work for a specific feature, and how they go through the process of QA and production…