Skip to content

dilankadon/apiAutomatedTestWithJest-SuperTest

Repository files navigation

REST API Automated Testing using Jest & SuperTest

Automated REST API testing framework using Supertest and Jest

Json Server

Json-server can be used to create a full fake REST API with zero coding in less than 30 seconds. https://www.npmjs.com/package/json-server

Running local json-server

$ yarn start
OR
$ json-server app/data.json

You can view DB current state in your preferred browser

http://localhost:3333/db

Resources the JSON Server loaded

http://localhost:33333/posts http://localhost:33333/comments http://localhost:33333/albums http://localhost:33333/photos http://localhost:33333/users http://localhost:33333/todos

Running all tests

$ yarn test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published