niksumeiko / payment-form-react-tdd-kata

Payment form (React + TDD kata)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Payment form React with TDD Kata

This project helps to learn shipping React app using Test-driven Development.

 

Dependencies

Make sure the following tools are available locally:

  • Git
  • Git Bash (for Windows users)
  • Nodejs (at least v18)
  • NPM (at least v8)
  • Text editor (e.g., Webstorm, Intellij, VSCode)
  • Chrome browser

 

Installation

  1. Clone this repository to your computer
  2. Install dependencies
npm install

 

Boot the app

npm start

The app is going to start at http://localhost:3000

The API at http://localhost:9000

 

Examine existing integration/unit test suit

npm test

 

Try E2E tests

Make sure the app is running at http://localhost:3000 (see Boot the app)

npm run cypress

Click on the makePayment.feature file listed E2E specs within Cypress GUI.

 

Questions

If something doesn't work, please open an issue.

About

Payment form (React + TDD kata)


Languages

Language:TypeScript 55.3%Language:JavaScript 42.8%Language:HTML 1.2%Language:Gherkin 0.4%Language:CSS 0.3%