Skip to content

Stackustack/jsonplaceholder

 
 

Repository files navigation

Tests for /posts & /comments endpoints

TechStack

  • Mocha (as testing framework)
  • Chai (for assertions)
  • Supertest (for requests)
  • tv4 (for schema validation)

How to run tests

git clone [email protected]:Stackustack/jsonplaceholder.git
npm install
npm test

How stuff is organized

  • Tests are stored in folder /test
  • JSON schemas are stored inside /test/json_schemas
  • All stuff (except changes in Readme) is stored inside this commit.
  • fyi /test-old is former /test folder (with test created by JsonPlaceholder team)

About

A simple online fake REST API server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 55.5%
  • JavaScript 44.5%