Table of Contents
An expense tracking MERN application with data visualization - developed using React, Node, Express, MongoDB and Victory.
- Project is tested following this
Software Test Plan
and all test documents are included in thedoc
folder included in this repo for download.
Cypress
Integration testing following theTest Cases
Document file provided in thedoc
folder.
K6
for Load and Stress testing
This project is for educational purposes to demonstrate software testing lifecycle. in this repo, you can find all related test plan documents which handle test project documentation traceability as shown in this documents diagram flow
Download Test Plan
Download Test Cases document
Download Test Scenarios document
- Node (13.12.0)
- NPM (6.14.4) or Yarn (1.22.4)
- MongoDB (4.2.0)
- Make sure MongoDB is running on your system
- Clone this repository
- Open command line in the cloned folder,
- To install dependencies, run
npm install
- To run the application, run
npm run start
- To install dependencies, run
- Open localhost:3000 in the browser
- Make sure to run project
npm run start
- create New Terminal and split to two terminals (git bash)
now you should work as
terminal 1
is running the project andterminal 2
(new one) will run the test - In
terminal 2
executenpm run cy:open
to run cypress tests in GUI mode - In
terminal 2
executenpm run cy:run
to run cypress tests in headless mode
- Make sure you 'installed k6 on yor machine'
- check k6 is installed by run
k6 verstion
in terminal - run
k6 run load.js
in terminal