Fork me on GitHub

Tag Node.js

Asynchronous Testing with Node.js

Do you remember projects when your tests run for 30 minutes or even an hour? I do, actually it's nearly turning into a standard. So when CI send you notification that something went wrong, you are already working on a new task, so you have to switch context to fix the stupid bug and then switch context back ... pretty annoying and distracting. Fortunatelly it doesn't have to be so slow, mainly in a web application when you can make a lot of code to run asynchronously since you are always waiting for database ...

My Node.js Projects

Minitest.js in action (it's using colours.js):

Extending JS Prototypes in Non-Invasive Way

The most serious reason for not extending prototypes of things like Object or Array is that you'll break iterations. For example

Mixins in JavaScript

Thanks to JavaScript flexibility it's incredibly easy to use mixins:

About

RSS

All Posts Node.js

Tags

GitHub projects

Twitter @botanicus

Recent Comments