ericln / bench_rest_test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bench_rest_test

Prerequisite

Node.Js Npm

How to run

in the command line run npm install to install all the module dependencies.

Unit Test

Run npm test to execute unit test

Only provided one unit test to show how it can be done, obviously there are a lot more unit test that can be written and scenarios to cover.

Run the app

`npm start` 

The app is a simple select menu that will basically output the desired reports. Just for fun, this can be anything that calls the report methods.

To do, and more

  • More unit test, the unit test written so far is just an example of what can be done.
  • More defensive coding and error handling.

About


Languages

Language:JavaScript 100.0%