Node.Js Npm
in the command line run npm install
to install all the module dependencies.
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.
`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.
- More unit test, the unit test written so far is just an example of what can be done.
- More defensive coding and error handling.