Skip to main content

All Questions

Tagged with
1 vote
1 answer
265 views

Howto structure my app.js code to make it easier testable

I have a couple of Philip Hue lights in the hallway. These show the build status on their lights with a small Node.JS application. Its working like a charm. Currently I am in the process of testing ...
Niels van Reijmersdal's user avatar
2 votes
1 answer
1k views

How to unit test models in MVC / MVR app?

I'm building a node.js web app and am trying to do so for the first time in a test driven fashion. I'm using nodeunit for testing, which I find allows me to write tests quickly and painlessly. In this ...
rgb's user avatar
  • 909
5 votes
1 answer
2k views

Node.JS testing with Jasmine, databases, and pre-existing code

I've recently built the start of a core system which is likely going turn into a monster product. I'm building the system with node.js, and decided after I got a small base built, that It'd be a ...
Jim Rubenstein's user avatar