Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 592 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 592 Bytes

Mocha Test Suite Study

Simple study of a test suite composed by Mocha + Supertest + Chai + Instanbul.

How to test

  • Run commands:
    • npm install

    • npm run coverage

You should see this text output:

Open the index.html generated in coverage/index.html and click in mochatest/routes, you should see a page like this:

It shows you the tested files, you can see this by clicking in operations.js:

You can clearly see the uncovered lines/branches there.