Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This project is a simple example of how to do unit tests using the Mocha tool with the assertion library Chai and Chai-http, to make restful request from a nodejs test file.

NotificationsYou must be signed in to change notification settings

HighDeveloper/unit-test-mocha-chai-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unit tests are responsible for testing individually methods, functions and classes, entering data in order to obtain an expected result.

In this post, you can see a tutorial to implement the a unit test with Mocha and Chai tools in your app:

https://blog.highdeveloper.com/pruebas-unitarias-con-mocha-y-chai-en-node-js/ (Spanish version)

About

This project is a simple example of how to do unit tests using the Mocha tool with the assertion library Chai and Chai-http, to make restful request from a nodejs test file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp