Skip to content

Latest commit

 

History

History
84 lines (61 loc) · 1.53 KB

README.md

File metadata and controls

84 lines (61 loc) · 1.53 KB

React Native Testing Boilerplate

Lint and Test

Introduction

This repository provides a comprehensive boilerplate for testing in React Native applications, facilitating efficient and effective development.

Features

  • Pre-configured testing frameworks ( Jest, react-native-testing-library )
  • Example test cases for components, hooks, and navigation
  • Integrated CI/CD setup with GitHub Actions

Getting Started

Clone the repository. Install dependencies:

yarn install

Run tests:

yarn test

Phone Book Use Case

Narrative #1

As a customer
I want the app to load users with phone number
So I can always find the user’s phone to contact

Narrative #2

As a customer
I want to search within the user list
So easily, I can always find the user

Narrative #3

As a customer
I want the app save my lately searched 3 users
So I can see quickly the previous users I have searched

Payload Contract

[
  {
    name: "Lorem İpsum",
    phoneNumber: "0555 555 55 55"
  },
  {
    name: "Lorem İpsum",
    phoneNumber: "0555 555 55 55"
  },
  {
    name: "Lorem İpsum",
    phoneNumber: "0555 555 55 55"
  },
  {
    name: "Lorem İpsum",
    phoneNumber: "0555 555 55 55"
  },
]

Contributing

Contributions to improve the boilerplate are welcome.

License

This project is licensed under MIT.