Skip to content

A React login mock page with input validation and unit test cases.

License

Notifications You must be signed in to change notification settings

dreamer01/react-login-mock

Repository files navigation

The project is bootstrapped with CRA.

Create React App is official starter pack from React team.

Project Structure

src
    |-- assets
    |-- components
    |-- screens
    |-- index.js
    |-- utils

Testing

Unit test cases are written using

  • React Testing Library
  • Jest

Action

Adding Github action to introduce CI and CD pipeline.

  • Action to run Unit tests and avoid merge if test fails. Unit Test Run

  • Action to run E2E Test coverage using Cypress.

  • Action to build and deploy after all test run.