When working on a project with a tight deadlines, it's easy to skip writing tests. But once you learn how to write them, you'll find it's not that hard and the benefits are huge. Writing tests helps you catch problems early and makes your job easier in the long run.
This project was created for the tutorial [Learn how to perform unit testing in React Native with Jest & React Native Tetsing Library]
This is a new React Native project, bootstrapped using @react-native-community/cli
.
- ✅ Add Two Numbers
- ✅ Multiply Two Numbers
- ✅ Check if a Number is Even
- ✅ Find the Length of a String
- ✅ Concatenate Two Strings
- ✅ Convert a String to Uppercase
- ✅ Check if a String Contains a Substring
- ✅ Check if a Number is Positive
- ✅ Check if a Array is Empty
- ✅ Find the Square of a Number
- ✅ Simple Greetings UI
- ✅ Simple Button Component with Alert Message
- ✅ Simple Incremant Counter UI
- ✅ Hello World UI
- ✅ Simple Image Component UI
- ✅ Simple Input Text Field
- ✅ Simple Card UI with Title & Content
- ✅ Simple ScrollView Component
- ✅ Simple TextComponent within the Parent View
- ✅ Simple Toggle UI
Error: Module not found
Ensure all required modules are installed and correctly referenced in your configuration files. Run npm install
or yarn
to install dependencies.
Error: Cannot find module '@testing-library/react-native'
Verify that @testing-library/react-native
is installed and included in your devDependencies
. If needed, run npm install --save-dev @testing-library/react-native
.
Have an idea? Found a bug? Please raise to ISSUES. Contributions are welcome and are greatly appreciated! Every little bit helps.
Thanks! ❤️
avisek123.github.io
Avisek