This is a sample API Test Automation framework designed using SuperTest, Mocha, Chai, and FakerJS. And in this framework we will see some basic working examples for learning.
MIT License
npm init -y
npm install --save-dev supertest mocha chai mochawesome @faker-js/faker
GitLens — Git supercharged by GitKraken
formatOnSave
and enable/ON it.npm install
test-reqres-api
foldernpm test
npm run test-fakerest
npm update
./mochawesome-report/mochawesome.html