Skip to content

zenithpolar/mochaTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Mocha Test Suite Study

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published