Skip to content

Real-Dev-Squad/react-tests-tdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple React App with Tests (Beta, WIP)

This is a work in progress repo, not ready for prime time yet - Ankush

Create a simple react app that has tests working

Clone this repo and ensure that you are following Git Flow convention to submitting PRs to your OWN repo

To Do

  • Setup testing framework
  • Add tests
  • Setup GitHub actions

Requirements:

Note This project uses volta, so please set it up. Also, read: Why use Volta?

Ensure that you follow TDD approach to writing your code. The tests are available and marked as skip. Enable your tests by converting the skip into test

Ensure that your milestone tests are passing, before submitting the PR

Milestone Tall

  • Create a controlled component input box
  • Create a composed sign up component using the input box components
  • Perform validations on the input to enable/disable the Next step button

Milestone Grande

  • Create an OTP component
  • Upon successful email/name entry, get to OTP step

Milestone vocabulary

Starbucks has the following denotations for sizes:

Tall - Small glass
Grande - Regular glass
Venti - Big mug
Trenta - Biggest bucket

References to watch

What will we be developing?

A guide for beginners to understand and learn Testing in ReactJS Project. This would be a detail documentation on Testing.