DiscipleTools / DiscipleTools/disciple-tools-mobile-app

Extended Test Coverage

Open
#222 2 comments 1 reaction 0 assignees View on GitHub
maintenance
Dominant language
JavaScript
Stars
16
Forks
18
PR merge metrics
No merged PRs in 30d

Description

As this project matures and we're publishing regular releases to the public App and Play Stores, we need to begin working toward as much test coverage as possible, and we will integrate it into our existing CI/CD (which is pretty much CD only at the moment) pipeline

Requirements:

* [ ] Jest: Snapshot tests for UI Screens (at least 2)
* [ ] Jest: Coverage for Redux Sages, Actions, and Reducers (coverage for 3-5 most frequently used paths)

See also:

#161

References:

* https://reactjs.org/docs/testing.html
* https://jestjs.io/docs/en/tutorial-react-native
* https://callstack.com/blog/testing-react-native-with-the-new-jest-part-1-snapshots-come-into-play/
* https://callstack.com/blog/testing-react-native-with-the-new-jest-part-2-redux-snapshots-for-your-actions-and-reducers/
* https://redux-saga.js.org/docs/advanced/Testing.html
* https://testing-library.com/docs/react-testing-library/example-intro

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.