Skip to content

quirimmo/testing-typescript-mocha-chai-sinon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

testing-typescript-mocha-chai-sinon

A repository in order to show a complete exploration of a testing environment for typescript, using and exploring mocha, chai, chai-as-promised and sinon

list of the global node modules @types/es6-promise chai mocha ts-node typescript typings

explain how to install global dependencies and what are they

explaining how to run the tests and where to specify it

explaining main hooks funcionalities

skip keyword

only keyword

explain not to use anonymous functions for not keeping back the this binding context

pending tests with describe/it blocks without callbacks

this.retries

with chai we can use expect, should and assert methods and depending on BDD, TDD you use different expressions for suites

About

A repository in order to show a complete exploration of a testing environment for typescript, using and exploring mocha, chai, chai-as-promised and sinon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published