Skip to content

guvenkaranfil/TestingBoilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published