This is a practice project for API Testing in NodeJS. It uses Mocha, Chai and Axios.
{JSON}Placeholder is a simple API that allows us to upload and read jokes.
You can found the documentation here.
The goal is to certify we can read jokes, uploading a joke, and verifying then that is possible to read it.
-
POST a single type joke Correctly (OK).
-
POST a two part joke Correctly (OK).
-
POST a joke with no valid request.
-
GET a random joke.
-
GET a random joke of a specific category.
First is to set up the project
npm install
Then just run the project itself
npm run test
Simple ¯_(ツ)_/¯