Skip to content
zenithpolarPublic

About

Mocha Test Suite Study

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

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

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages