Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 644 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 644 Bytes

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)