Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.57k stars 2.91k forks source link

[NoQA] Add unit testing guide and example tests #52867

Open OlimpiaZurek opened 1 day ago

OlimpiaZurek commented 1 day ago

Explanation of Change

This PR adds a UI testing Guide with best practices and basic example tests for components

Fixed Issues

$ https://github.com/Expensify/App/issues/52771 PROPOSAL:

Tests

Offline tests

QA Steps

// TODO: These must be filled out, or the issue title must include "[No QA]."

PR Author Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
melvin-bot[bot] commented 1 day ago

@hoangzinh Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

hoangzinh commented 1 day ago

@mountiny would you like me to review the testing example or all or you can handle this PR?