create-api-testing-project

0.2.0 • Public • Published

Seed project for API tests

This project can be used to quickly prepare project for writting API tests.

Includes:

  • GotJS as HTTP client
  • TypeScript and ts-node for better working with request/response models and structures
  • Mocha 8 as a test runner
  • http-req-builder to simplify building requests.

Install

Make directory for your future project:

mkdir ./my-shiny-api-tests

Navigate into it

cd ./my-shiny-api-tests

Run (no installing needed!):

npm init api-testing-project

This will copy all project files into current directory. After done, run (to install your project deps):

npm install

Optionaly, test with:

npm test

Readme

Keywords

none

Package Sidebar

Install

npm i create-api-testing-project

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

55 kB

Total Files

9

Last publish

Collaborators

  • xotabu4