This is a Simple E-commence application that demonstrates the basics of Test Driven Development(TDD). The repository was bootstrapped from Kati Frantz "The React Testing Masterclass." But the Test are Hand written my me. Here I demonstrate the basics of Unit, Integration and End-to-end testing.
- Git v2 and above
- Node.js v12 and above
- Yarn v1 or greater
You should be able to verify all these are installed correctly using:
node --version
yarn --version
git --version
Please go through the following steps to run this project locally:
- 1️⃣ Clone this repository with the command
git clone https://github.com/solomonakp/test-basics.git
- 2️⃣ Install all the dependencies using
yarn install
. - 3️⃣ Start the project in development mode using
yarn dev
.
run client npm run dev
or yarn dev
to get the project running. run test
npm run test
or yarn test
to get the project running.
open browser and navigate to http://localhost:3000/