Skip to content

✅ Code & personal notes for the book Test-Driven JavaScript Development by Christian Johansen.

Notifications You must be signed in to change notification settings

iramirezc-learning/book-test-driven-js-development

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test-Driven JavaScript Development Book

Code & personal notes of the book Test Driven JavaScript Development by Christian Johansen.

Book site

https://www.tddjs.com/

Summaries

Tests

Install Mocha.js globally

npm install --global mocha

Run xUnit specs

Only for chapters 1 and 2. Ignores the usage of mocha command

npm run test:spec

Run Mocha tests

npm run test

Benchmarks

Loops (Chapter 04):

npm run bench:loops

Fibonacci (Chapter 06):

npm run bench:fibonacci

Loops with timeout (Chapter 06):

node ./06-applied-functions-and-closures/benchmarks/loops-timeout.js

About

✅ Code & personal notes for the book Test-Driven JavaScript Development by Christian Johansen.

Topics

Resources

Stars

Watchers

Forks

Languages