Skip to content

Colaborative Environment in NodeJS - Sonarcloud - Travis CI - Coveralls - Snyk

Notifications You must be signed in to change notification settings

diegopm2000-medium/CalculatorNodeJS

Repository files navigation

Calculator in Node JS (With Unit testing)

Travis-ci: Travis

Sonarcloud: Sonarcloud StatusBugsVulnerabilitiesTechnical DebtCode SmellsDuplicated Lines (%)Coverage

Coveralls: Coverage Status

Snyk: Known Vulnerabilities

Implementation of a Simple Calculator with the next operations:

  • Add
  • Minus
  • Multiply
  • Divide

Including integration with Travis CI, Sonarqube (SonarCloud), Coveralls and Snyk

Folders Structure

In the folder app is located the main code of the app

In the folder test is located the unit tests

How to install it

Execute:

$ npm init

to download the node dependencies

How to test it

Execute:

$ npm test

How to get coverage test

Execute:

$ npm run cover

Releases

No releases published

Packages

No packages published